git
Installation
SKILL.md
Git
One entry point for git and GitHub work. The first word of the arguments picks the action; everything after it goes to that action unchanged.
| Action | Playbook | What it does |
|---|---|---|
worktree |
references/worktree.md | Creates an isolated worktree outside the repository, in the agent's worktree home, off the right base. |
safety |
references/safety.md | Blocks staged secrets, gates destructive git commands, installs pre-commit hooks, drives leak response. |
conflicts |
references/conflicts.md | Resolves merge, rebase, cherry-pick, or stash-pop conflicts correctness-first, then proves the tree builds. |
pr |
references/pr.md | Creates, updates, and publishes pull requests with clean titles, durable bodies, branch hygiene, and safe push gates. |
ci |
references/ci.md | Diagnoses failing or stuck GitHub Actions checks on a PR, fixes the root cause, and optionally loops until green. |
babysit |
references/babysit.md | Watches one PR through CI and review with scripts/pr-wait, fixes verified findings in scope, and keeps the branch current without force-push. Merges only on request. |
modernize |
references/modernize.md | Judges a stale PR against what changed on its base (MODERNIZE, REWORK, or CLOSE), then updates it by merging the base. Never closes or merges. |
merge |
references/merge.md | Reviews and lands open PRs into trunk behind one confirmation; force drains the queue non-serially. |
cleanup |
references/cleanup.md | Proves each candidate is on current trunk, then plans or removes only proven-merged branches and worktrees. Read-only plan by default. |