gitflow
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>
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
More from metalagman/agent-skills
go-goose
Use this skill to plan, write, or run database migrations with the pressly/goose CLI and Go library (SQL/Go migrations, env vars, provider API, embedded migrations).
27go-uber-style-guide
Use this skill to write, refactor, or review Go code according to the Uber Go Style Guide. It ensures strict adherence to correctness, safety, and idiomatic patterns.
23beads
Use this skill to manage work in Beads (`bd`) 1.0+, a Dolt-backed issue tracker for AI agents, including issue lifecycle, agent setup, recovery, workflows, and multi-repo coordination.
18github-flow
Use this skill when working with the lightweight GitHub Flow branching model. Ideal for projects with continuous deployment where 'main' is always deployable.
17go-senior-developer
Expert senior-level Go guidance for architecture, API-first design/codegen, advanced concurrency, performance tuning, testing/quality, cloud-native 12-factor practices, and Go 1.24+ tooling for large-scale systems.
17go-google-style-decisions
Expertise in Go programming decisions according to the Google Go Style Guide. Focuses on specific choices for naming, error handling, and language usage.
17