git-workflow
Installation
SKILL.md
git-workflow
Manage the ## Git Workflow section in AGENTS.md. Defines how the project branches, commits, merges, and handles PRs.
Philosophy. 99% of projects follow one of three well-known presets with at most 3-5 project-specific customizations. Free-form input bloats AGENTS.md and produces documents the agent cannot reliably parse. This skill forces a preset + delta structure: pick one of three presets, then answer a short checklist about the delta.
Scope
In scope:
- Create or refine the
## Git Workflowsection - Auto-detect current workflow from
git log, branches, and (if GitHub)gh repo view - Offer the three presets: Trunk-based, GitHub Flow, GitFlow
- Collect project-specific delta via a checklist (commit language, ticket prefix, force-push policy, release tag format, etc.)
- Write a compact, agent-readable
## Git Workflowsection