commit
提交已暂存或预期的更改:编写 Conventional Prefix 或自然语言消息,然后使用 ai-commit——配合 --all、--staged、--close、--finding 或 --push。还可使用 --squash 将分支压缩为一个提交。
机器翻译查看英文原文
Commit staged or intended changes: compose a Conventional Prefix or Natural Language message, then use ai-commit — with --all, --staged, --close, --finding, or --push. Also squash a branch into one commit with --squash.
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Git Commit
- 1. Parse Arguments
- Push Destination
- Squash Mode
- 2. Prepare Once
- 3. Analyze and Compose
- 4. Commit the Transaction
- 5. Completion and Receipt
Compose the semantic commit message from immutable evidence. Let ai-commit own deterministic preparation, commit, index reconciliation, and push mechanics. Run every command from the target repository cwd. Do not surround ai-commit with extra git status, git log, or git diff calls: preparation provides the complete evidence for this workflow. Use --porcelain only in deterministic automation that explicitly parses its stable TSV records. The normal skill flow consumes the human-readable sections. Arguments: $ARGUMENTS ai-commit selects the message format from repository config. Pass --natural or --conventional only as an explicit one-off override, never to reproduce repository policy. --all: capture all worktree and index changes. This intentionally risks including another agent's work. --staged: capture exactly the current index. Do not add session paths. It conflicts with --all. --natural: force Natural Language Format for this commit. --conventional: force Conventional Prefix Format for this commit. --push: request a push after commit. Otherwise push only when standing instructions authorize it. --rebase: with --push, let ai-commit rebase a behind branch onto its fetched upstream
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- PaulRBerg/agent-skills
- 源文件
- skills/commit/SKILL.md
- 固定版本
- 3fc64886b46c95238cdad340a8a04e3aaac96665
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:PaulRBerg/agent-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T00:00:29.897Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。