commit
Installation
SKILL.md
Create a new commit for all of our uncommitted changes
Step 0: Determine Reasoning
Before committing, identify WHY these changes were needed. The commit body MUST include a short reason.
- If the user explicitly stated a reason (e.g., "commit my changes, I fixed the login bug"), use that.
- If this skill was invoked by another skill/command and the reason is clear from context, use that.
- If the reason is NOT clear from the conversation context, use AskUserQuestion to ask: "Why were these changes needed? (This will be included in the commit message)"
Step 1: Review Current State
Run: git status && git diff HEAD && git status --porcelain
This shows all uncommitted changes (modified, untracked, and staged files)
Step 1.5: Secret / Credential Scan
Before staging anything, scan the diff output from Step 1 for explicit secrets or credentials.
Two complementary checks — BOTH must pass: