with one click
commit
Create a clean, well-structured git commit with automated pre-checks.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a clean, well-structured git commit with automated pre-checks.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Generate a structured YAML plan for multi-step implementation tasks.
Interactively refine a feature idea through Socratic questioning before planning.
Execute a YAML plan file, running each task in a fresh session with checks and auto-commit.
Perform a thorough code review of recent changes or specified files.
Based on SOC occupation classification
| name | commit |
| description | Create a clean, well-structured git commit with automated pre-checks. |
| argument-hint | [message-hint] |
| user-invocable | true |
Create a git commit for staged or recent changes. If $ARGUMENTS is provided, use it as a hint for the commit message topic.
Check for changes: Run git status and git diff --cached --stat. If nothing is staged, look at unstaged changes and suggest what to stage. If $ARGUMENTS hints at specific files, stage those.
Run pre-commit checks: Before committing, run the project's lint and test commands to catch issues early.
Review the diff: Run git diff --cached (or git diff if nothing is staged) to understand what changed. Read modified files if needed for full context.
Check for unrelated changes: Analyze the diff for logically distinct units of work. Changes are unrelated if they have different purposes (e.g. a bug fix and a new feature, a refactor and a test addition, two independent features). Signs of unrelated changes:
fix: + feat: + test:)If changes are unrelated:
If all changes are part of one logical unit, proceed normally with a single commit.
Draft the commit message following these rules:
Co-Authored-By lines referencing any AIgit log --oneline -10)Create the commit: Use a HEREDOC to pass the message:
git commit -m "$(cat <<'EOF'
<commit message here>
EOF
)"
Report: Show the commit hash, message, and files changed. If multiple commits were created, show all of them.
git add -A