/commit — Safe Commit
Full specification: See
.github/prompts/commit.prompt.mdfor the complete pre-commit procedure and safety checks.
Quick Reference
- Default:
/commit— run all checks and commit with auto-generated message - With message:
/commit fix: resolve nil pointer in batch processing - Checks: branch guard → build → test (with
-race) → vet → lint → staging review - Blocks commit on
main/masterbranches - Prefers explicit
git add <file>overgit add -A