/git-workflows:git-workflow-standardsfrom git-workflows
Use for branch hygiene, merge conflict resolution, and worktree cleanup.
Ships in git-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For branch creation and PR-branch sync, follow the Git Town rule.
Every branch with commits MUST have an associated PR. Orphaned branches must get a PR or be deleted.
Stale branch (worktree-paired, bare local, or remote-only — see
prune-branches, github-workflows, for the full procedure): a non-default
branch, checked out nowhere, unreferenced by any open PR (--head or
--base), with no uncommitted changes (when a worktree exists), and either
a merged PR whose headRefOid matches the branch tip, or zero commits ahead
of the default branch. Use git worktree remove (never --force) for
worktree-paired branches — Git blocks removal of dirty worktrees — and
git push origin --delete for a live remote ref, only after
prune-branches's pre-push ancestry re-check.
pr-standards).NEVER assume newer is correct. Analyze both versions.
git log --oneline -10 -- <file>pre-commit run --files <file>, read resolved file| Scenario | Resolution |
|---|---|
| Additive changes | Keep both |
| Same logic modified | Combine intent of both |
| One is a bug fix | Always include the fix |
| One is a refactor | Apply refactor, then add other change |
| Truly incompatible | Prefer branch's changes, add comment |
Escalate to human review for complex business logic, fundamental contradictions, or security-sensitive code.
| Command | Purpose |
|---|---|
git diff --name-only --diff-filter=U | List conflicted files |
git log --merge -p <file> | Show commits causing conflict |
git show :1:<file> | Common ancestor version |
git show :2:<file> | HEAD (your branch) version |
git show :3:<file> | Incoming (their branch) version |
git merge --abort | Abort and return to pre-merge state |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin git-workflows5 skills in this plugin
/pre-commit-architectureUse when adding/editing .pre-commit-config.yaml, wiring pre-commit hooks into a repo, or scaffolding a new repo's lint/hook setup. Covers the canonical nix-devenv/dryvist-.github architecture, profiles, and consumer patterns./troubleshoot-precommitTroubleshoot pre-commit hook failures and auto-fixes/troubleshoot-rebaseDiagnose and recover from git rebase failures