src/claude/skills/git-safe-commit/SKILL.md
Git Commit Message Generator — QG-aware wrapper
npx skillsauth add the-agency-ai/the-agency src/claude/skills/git-safe-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The only way to run git commit. Never run raw git commit — always use this skill.
$ARGUMENTS: Optional. Pass --force to skip the QGR receipt check (for non-QG commits like handoff-only or config-only changes). Any other arguments are treated as the commit message body.Before committing, verify that a Quality Gate has been run for the staged changes.
./agency/tools/stage-hash to compute the stage hash of currently staged files.usr/*/*/qgr-*-{stage-hash}-*.md where {stage-hash} is the hash from step 1.{path}" and proceed to Step 2.--force was NOT passed: Stop and ask:
No QGR receipt found for the staged changes (stage hash:
{hash}).Options:
- Run
/quality-gatefirst to produce a QGR- Re-run
/git-safe-commit --forceto commit without a QGR (use sparingly — handoff, config, docs only)
--force was passed: Note "Committing without QGR receipt (--force)" and proceed to Step 2.git status to see all untracked and modified files.git diff --cached to see staged changes.git log --oneline -5 to see recent commit style.Create a commit message following the project's format:
<prefix>: <concise summary in one line>
- Additional detail (if needed)
- Another detail (if needed)
Co-Authored-By: Claude <[email protected]>
| Prefix | Usage |
| ------ | ---------------------------------------------------- |
| feat | New feature or feature addition |
| fix | Bug fix |
| misc | Refactors, minor changes, or supporting code changes |
| rmv | Major code deletion, removal, or cleanup |
Phase 1.3: feat: summarygit commit with the message.git status to verify the commit succeeded.business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment