AGENT SKILL
提交前代码准备
Prepare Commit
通过格式化代码并帮助识别临时注释,为代码提交做好准备。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 298
- Forks
- 155
01 前言 Front Matter
- name
- Prepare Commit
- description
- Prepares the codebase for a commit by formatting code and helping identify temporary comments.
02 资源文件 1
- 脚本scripts/prepare.py1.1 KB
03 SKILL.md 正文
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