Back to list
FWFsoft

pre-commit

by FWFsoft

A game engine for developing 2D isometric ARPG and RTS games

0🍴 0📅 Jan 23, 2026

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

  1. 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

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon