commit
Git Commit Command
Create atomic git commits following Conventional Commits.
Flow
-
Check state:
git status --porcelain- Empty → STOP, report "No changes to commit"
- Merge conflict markers → STOP, report conflict
-
Verify .gitignore excludes: secrets/
.env, build artifacts, OS files (.DS_Store), IDE configs -
Stage:
git add -A(or specific files for atomic commits) -
Analyze:
git diff --cached --statandgit diff --cached- If unrelated changes exist, split into separate commits via
git reset HEAD <file>
- If unrelated changes exist, split into separate commits via
-
Commit: Use Conventional Commits format
More from aravhawk/claude-code-utils
arch-mmd
Creates/updates an ARCHITECTURE.mmd file mapping out the codebase/product. Use whenever the user asks to see the architecture of the codebase/product or when the architecture changes and the current ARCHITECTURE.mmd file is out of date.
14prod-ready
Production-readiness audit covering linting, security, edge cases, and deployment checks. Only trigger when the user explicitly says "run prod-ready workflow" — do not run proactively.
14notebooklm
Complete API for Google NotebookLM - full programmatic access including features not in the web UI. Create notebooks, add sources, generate all artifact types, download in multiple formats. Activates on explicit /notebooklm or intent like "create a podcast about X", "install notebooklm", "add notebooklm to cowork
6