git-workflow
Installation
SKILL.md
Git Workflow Skill
When to Use
- Branching, Conventional Commits; PRs: open, review, resolve threads, merge (CI gate, queues, cleanup)
- Conflicts, rebasing a long-lived branch, splitting a PR, git hooks (incl. worktree installs)
- Not here: releases (
github-release); BLOCKED-PR diagnosis (github-project)
Critical Rules (Non-Negotiable)
- No direct push to main — always open a PR.
- No merge before all threads resolved (
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(a dirty tree aborts it). - No editorializing — state what changed, not how good it is (
references/no-editorializing.md).