clambro/ai-plays-pokemon / .agents/skills/commit
commit
VerifiedUse when the user asks to commit, save changes, or create a git commit. Reviews and stages the intended changes, then commits them with a descriptive message.
Commit Changes
Workflow
- Inspect current state by running:
git status --shortgit diffgit diff --cachedgit log --oneline -5
- Confirm the changed files belong to the requested work. Preserve unrelated changes and never stage ROMs, save states, credentials, databases, outputs, or other private runtime artifacts.
- Stage the intended changes. Use
git add -Aonly when every working-tree change belongs in the commit. - Review
git diff --cachedandgit diff --cached --check. - Generate a commit message with:
- a concise subject line
- a short body explaining the key changes and why
- Commit normally so the repository's pre-commit hooks run.
- Check
git status --shortand report the commit hash.
Rules
- Always include both a subject and a brief body
- Keep the subject short and descriptive
- Keep the body concise and focused on the key changes
- Do not commit unless the user explicitly asks
- No footers or signatures
- Never mention the AI agent or its provider
- Do not credit yourself
- Never use
--no-verifyunless the user explicitly instructs you to do so
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |