How this skill is triggered — by the user, by Claude, or both
Slash command
/git-command:amendThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Current git status: !`git status`
git statusgit diff HEADgit log -1 --format=%Bgit diff --name-only HEAD~1 HEADAmend the most recent commit:
git commit --amend (with --no-edit if keeping the existing message)Warning: Do NOT amend if the commit has already been pushed to a shared remote branch. Check with git status for ahead/behind info. If already pushed, warn the user and stop.
You have the capability to call multiple tools in a single response. Stage and amend using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.
$ARGUMENTS
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub kosmoche/git-command