git-commit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGit Commit
Git Commit
Purpose
用途
Create a well-formatted commit message from staged changes
根据暂存的变更生成格式规范的commit提交信息
Routing
使用规则
- Use when: Use when the user asks to create a well-formatted commit message from staged changes.
- Do not use when: Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
- Outputs: Outcome from Git Commit: task-specific result plus concrete action notes.
- Success criteria: Returns concrete actions and decisions matching the requested task, with no fabricated tool-side behavior.
- 适用场景:当用户要求基于暂存的变更生成格式规范的commit提交信息时使用。
- 不适用场景:当请求涉及规划文档、高层策略或非可执行性讨论时请勿使用,应改用对应的规划或设计工作流。
- 输出:Git Commit 执行结果:特定任务结果 + 具体操作说明。
- 成功标准:返回符合请求任务的具体操作和决策,无虚构的工具端行为。
Trigger Examples
触发示例
Positive
正向示例
- Use the git-commit skill for this request.
- Help me with git commit.
- Use when the user asks to create a well-formatted commit message from staged changes.
- Git Commit: provide an actionable result.
- 该请求请使用git-commit技能处理。
- 帮我处理git commit相关操作。
- 当用户要求基于暂存的变更生成格式规范的commit提交信息时使用。
- Git Commit:提供可落地的结果。
Negative
反向示例
- Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
- Do not use git-commit for unrelated requests.
- This request is outside git commit scope.
- This is conceptual discussion only; no tool workflow is needed.
- 当请求涉及规划文档、高层策略或非可执行性讨论时请勿使用,应改用对应的规划或设计工作流。
- 无关请求不要使用git-commit。
- 该请求超出git commit的处理范围。
- 仅为概念性讨论,无需使用工具工作流。
Runtime Prompt
运行时提示
- Current runtime prompt length: 494 characters.
- Runtime prompt is defined directly in .
../git-commit.json
- 当前运行时提示长度:494字符。
- 运行时提示直接定义在中。
../git-commit.json