一键导入
amend
Amend the last commit with current changes and/or an updated message.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Amend the last commit with current changes and/or an updated message.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Stage changes and create a commit with a conventional commit message.
Full autopilot — plan, implement, and polish a task end-to-end.
Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.
Execute a plan file — parse phases, spawn parallel subagents, handle failures.
Start or end a forked session for exploring rabbit holes without losing the main conversation's context.
Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.
| name | amend |
| description | Amend the last commit with current changes and/or an updated message. |
| allowed-tools | Bash, Read, Glob, Grep, AskUserQuestion, Agent |
Amend the last commit. Assumes the existing commit message is correct — only update it to reflect the delta.
git diff --staged). Update the message only if the delta changes the "what" or "why" — don't rewrite from scratch. Use the same body format as /commit (Problem + Solution with ## headings).mktemp /tmp/commit-msg.XXXXXX.txt, write the message to it, and run git commit --amend -F <temp-file> — do not add Co-Authored-By or other trailers.