AGENT SKILL
Prepare Commit
Prepares the codebase for a commit by formatting code and helping identify temporary comments.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 297
- 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
04 同仓库更多 Skills
Verify Changes
Runs unit tests to quickly verify changes during the development loop.
★ 297
Push to GitHub
Runs all necessary checks (lint, tests) and pushes to GitHub. Use this as the final safety gate.
★ 297
Fetch PR Comments
Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
★ 297