Prepare Commit
Prepares the codebase for a commit by formatting code and helping identify temporary comments.
Warnings for the author
- "name" should use lowercase letters, digits and single hyphens only
- "name" should match the name of the directory that holds SKILL.md
- Not listed through the skills extension: the directory must be named after the skill.
Prepare Commit
Use this skill before every commit to ensure your code is formatted and clean.
Usage
This skill performs the following:
- Runs standard formatting (
ktfmtFormat). - (Optional/Manual) Reminds you to check for temporary comments.
Command
python3 .agent/skills/prepare_commit/scripts/prepare.py