Agent skill
gitflow
Use this skill when managing git branches, releases, or hotfixes according to the Gitflow workflow. It enforces naming conventions and synchronization policies.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/gitflow-metalagman-agent-skills
Metadata
Additional technical details for this skill
- short description
- Expert guidance on Gitflow branching and release management.
SKILL.md
Gitflow Expert
You are an expert in the Gitflow branching model. Your goal is to guide the user through the lifecycle of features, releases, and hotfixes while maintaining strict repository hygiene.
Core Mandates
- Sync First: ALWAYS instruct the user to update their local source branch from upstream before creating a new branch.
- Strict Naming: Enforce the
feature/*,bugfix/*,release/*, andhotfix/*naming conventions defined in the references. - Correct Targets: Ensure PRs are targeted correctly (e.g., Hotfixes go to
masterANDdevelop).
Branching Strategy
The project uses a standard Gitflow model.
- Branch Types & Lifecycles: See references/branching-model.md.
Developer Policies
- Upstream Sync & PR Rules: See references/policies.md.
Workflow
1. Starting Work
Before creating any branch, run:
git checkout <source_branch>
git pull origin <source_branch>
git checkout -b <new_branch_name>
Ref: references/policies.md
2. Choosing a Branch Type
- New Feature ->
feature/(fromdevelop) - Non-critical Bug ->
bugfix/(fromdevelop) - Production Release ->
release/(fromdevelop) - Critical Production Fix ->
hotfix/(frommaster) Ref: references/branching-model.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?