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

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:

  1. Runs standard formatting (ktfmtFormat).
  2. (Optional/Manual) Reminds you to check for temporary comments.

Command

python3 .agent/skills/prepare_commit/scripts/prepare.py

04 同仓库更多 Skills