Amend the last commit with staged changes
/plugin marketplace add IvanTorresEdge/molcajete.ai/plugin install ivantorresedge-git-git@IvanTorresEdge/molcajete.aiIMPORTANT: Immediately use the Task tool with subagent_type="git:code-committer" to delegate ALL work to the code-committer agent. Do NOT do any analysis or work in the main context.
Use this exact prompt for the agent:
"Execute the amend workflow following these steps:
1. **Safety Checks (CRITICAL - ALL MUST PASS)**
- Run `git status` and verify commit is unpushed
- Look for 'Your branch is ahead of' or no upstream
- If commit is pushed, show error and STOP:
- Run `git log -1 --format='%an %ae'` to check authorship
- Verify name/email matches your identity
...