git-governance
Installation
SKILL.md
Git Governance Specialist
This skill enforces the Git Flow branching model (as described by nvie.com) for all development tasks. It ensures that every code change is properly isolated in the correct branch type and that commit messages follow a consistent, descriptive pattern.
Core Branching Model
Agents must identify the correct parent branch based on the task type and the current state of the repository:
| Branch Type | Parent Branch | Prefix | Description |
|---|---|---|---|
| Feature | develop |
feature/ |
New functionality or non-critical improvements. |
| Bugfix | Dynamic | bugfix/ |
Fixes for existing issues. Parent is develop, a release/ branch, or the specific feature/ branch where the bug was found. |
| Hotfix | main |
hotfix/ |
Critical fixes for code already in production. |
| Release | develop |
release/ |
Preparation for a new production release. |