← スキル一覧に戻る

pre-commit
by FWFsoft
A game engine for developing 2D isometric ARPG and RTS games
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: pre-commit description: Run pre-commit hooks (clang-format, clang-tidy) on all files. Use when the user wants to format code, run linters, or prepare code for commit.
Run Pre-commit Hooks
Runs all configured pre-commit hooks (clang-format and clang-tidy) on the codebase.
Instructions
- Run the pre-commit command:
make pre-commit
Expected Output
On success, you should see:
clang-format............................Passed
clang-tidy..............................Passed
On failure, you will see:
- Which files failed the checks
- What changes were made (for auto-fixable issues)
- Error messages for issues that need manual fixing
Configured Hooks
- clang-format: Formats C++ code using Google style
- clang-tidy: Lints C++ code and auto-fixes errors when possible
Notes
- clang-format will automatically reformat files that don't match the style
- clang-tidy will attempt to auto-fix errors with
--fix-errors - Some clang-tidy issues may require manual intervention
- Run this before committing code to ensure consistency
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です