Commit Staged Changes
Create a commit for the currently staged changes following Conventional Commits specification.
Instructions
Check current state - Run
git statusandgit diff --stagedto understand what's being committedAnalyze the changes - Look at:
- Which files are modified/added/deleted
- The nature of changes (feature, fix, refactor, docs, etc.)
- The scope (component/module affected)
Write commit message following Conventional Commits:
<type>(<scope>): <description> [optional body] [optional footer]Types:
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, no code changerefactor: Code change that neither fixes nor addsperf: Performance improvementtest: Adding/updating testschore: Build process, dependencies, etc.
Commit - Execute the commit (do NOT push)
Confirm - Report success/failure
Important
- Do NOT push to remote
- Do NOT modify any files
- Focus ONLY on creating the commit
- If nothing is staged, inform the user and suggest
git add - DO NOT MENTION ANY LLM-RELATED INFORMATION OR THAT IT HAS BEEN CO-AUTHORED BY ANYONE!
Arguments
$ARGUMENTS
If arguments provided, use them as additional context for the commit message.