agents/skills/amend/SKILL.md
Amend the last git commit with a useful, descriptive message. Use when you want to rewrite a commit message, amend commit description, or improve the last commit message.
npx skillsauth add drn/dots amendInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Rewrite the last commit message with a clear, descriptive summary based on the actual changes.
$ARGUMENTS - Optional: specific instructions for the commit message (e.g., "mention the performance improvement")git branch --show-currentgit log -1 --format="%H %s" 2>/dev/null | head -1git log -1 --format="%b" 2>/dev/null | head -20git diff HEAD~1 --stat 2>/dev/null | head -30git diff HEAD~1 (full diff, not just stat)Write a commit message following this structure:
Subject line (first line):
Body (separated by blank line, optional but preferred for non-trivial changes):
Run git commit --amend with the new message. Use a HEREDOC to pass the message:
git commit --amend -m "$(cat <<'EOF'
Subject line here
Body paragraph here explaining the change in more detail.
EOF
)"
Show the user the new commit with git log -1 so they can verify.
--amend will include them, and ask before proceeding.$ARGUMENTS contains specific instructions, incorporate them into the message.development
Walk every unresolved review thread on a PR, triage each one, reply with a rationale of whether or not the comment will be acted upon, make the code change if warranted, and mark the thread resolved. Use when the user asks to address only the open PR comments without re-running CI, respond to review feedback, resolve review threads, or clear bot comments on a PR.
tools
Iteratively run /rereview, fix the findings, and loop until reviewers approve clean. Use for iterative automated review, when you want /rereview to loop until clean, or for a paranoid pre-merge review that auto-addresses every blocker.
development
Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to nicobailon/visual-explainer.
development
Create reviewed Codex goal setup packages for long-running /goal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final /goal prompt.