git-workflow
Installation
SKILL.md
Git Workflow Skill
Critical Rules (Non-Negotiable)
- No direct push to main — always open a PR.
- No merge before all threads resolved — see
references/pull-request-workflow.md. - No squash unless asked — preserves atomic commits, signatures, bisection.
- No "tested/verified/working" without pasted command output — else say so.
- No edits to installed skill/plugin cache paths (
~/.claude/skills/,~/.claude/plugins/cache/,**/.bare/**) — always the repo worktree, verified bypwd. - Force-push only with
--force-with-lease— never plain--force. - Commit before rebase —
add → commit → fetch → rebase → push. Dirty tree aborts rebase. - No editorializing — state what changed, not how good it is; no narrating expected results or self-praise. See
references/no-editorializing.md.
See references/pull-request-workflow.md for merge-gate and atomic-commit patterns.
Reference Files
Load on demand: