Skill gitflow
Gestiona un flujo de trabajo de ramificación gitflow que incluye ramas de feature, release y hotfix, con lanzamientos versionados y generación de changelogs.
- Estrellas en GitHub
- 8
- Archivos
- 7
- Último commit
- 28 oct 2026
- Licencia
- MIT
- Herramientas permitidas
- —
¿Qué hace la skill gitflow?
gitflow es una agent skill. Gestiona un flujo de trabajo de ramificación gitflow que incluye ramas de feature, release y hotfix, con lanzamientos versionados y generación de changelogs.
Resumen generado a partir del SKILL.md de la skill.
Sobre la skill gitflow
Gestionar estrategias de ramificación complejas como gitflow es lo que este SKILL permite a los desarrolladores que trabajan con repositorios listos para producción. Automatiza el ciclo de vida de las ramas de feature, release y hotfix, asegurando al mismo tiempo que la rama principal de producción se mantenga estable. Un agente debería cargar esta herramienta cuando un usuario necesite promover el trabajo de desarrollo a producción, coordinar un fix de emergencia o gestionar lanzamientos versionados.
El SKILL se apoya en la herramienta GitHub CLI para gestionar pull requests, merges y releases. Aplica protocolos de seguridad estrictos, como verificar que los checks de CI estén en verde antes de hacer merge a main y requerir la creación de un pull request de revert tipo break-glass después de cada despliegue a producción. También gestiona el versionado semántico actualizando manifiestos del proyecto como package.json o pyproject.toml y generando changelogs. Esta herramienta está diseñada específicamente para la topología gitflow y no debe utilizarse para flujos de trabajo simples de una sola rama o para la enseñanza básica de comandos git.
Lo que un agente puede hacer con ella
- 1Desplegar trabajo de desarrollo acumuladoCrea una nueva rama de release desde la rama de desarrollo para preparar el trabajo acumulado para producción.
- 2Aplicar un fix de emergencia en producciónInicia una rama de hotfix directamente desde la rama main para solucionar un problema urgente en producción.
- 3Desarrollar nuevas funcionalidades del proyectoComienza una nueva rama de feature desde la rama de integración para construir funcionalidades para el próximo ciclo de release.
- 4Automatizar la documentación de lanzamientos versionadosGenera un changelog profesional y etiqueta una nueva versión semántica durante el proceso de release.
Escrito a partir del SKILL.md de la skill. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar la skill gitflow
Cada comando copia la carpeta de la skill al directorio de skills del cliente. Reinicia el cliente o inicia una nueva sesión para cargarla.Instalar la skill gitflow en Plugin
/plugin marketplace add mgiovani/cc-arsenal /plugin install cc-arsenal@cc-arsenal-marketplace
Instalar la skill gitflow en Claude Code
~/.claude/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.claude/skills/gitflowInstalar la skill gitflow en Claude Code (project)
.claude/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow .claude/skills/gitflowInstalar la skill gitflow en Codex
~/.agents/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.agents/skills/gitflowInstalar la skill gitflow en Gemini CLI
~/.gemini/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.gemini/skills/gitflowInstalar la skill gitflow en Claude.ai
npx degit mgiovani/cc-arsenal/skills/gitflow gitflow && zip -r gitflow.zip gitflow # claude.ai → Customize → Skills → + → Create skill → Upload a skill → gitflow.zip
SKILL.md
Ver en GitHubGitflow
This skill covers the full gitflow branching model with two long-lived branches and short-lived branches off them.
mainis production. Merging tomaintriggers your deploy pipeline. Treat every merge tomainas a production deploy that your users will see shortly after.dev(sometimes calleddevelop) is the integration branch. Day-to-day feature and fix work lands here first.- Short-lived branches:
feat/<desc>andfix/<desc>offdev,release/<x.y.z>offdev,hotfix/<x.y.z>offmain.
Pick the flow
Read the matching reference in full and follow it step by step. Each one is self-contained.
| The user wants to... | Flow | Read |
|---|---|---|
Ship the accumulated dev work to production |
Release | references/release.md |
| Get an urgent fix into production now, can't wait for a release | Hotfix | references/hotfix.md |
| Build a new feature or a fix that will ride the next release | Feature | references/feature.md |
If the intent is ambiguous (e.g. "ship the settings fix"), ask one question: is this urgent enough to go straight to production (hotfix), or does it ride the next release (feature now, release later)? Then stop and wait for the answer. Don't pick a flow, name a branch, run a command or propose a version until the user replies.
Universal rails
These apply to every flow. They exist because main is live production and a mistake here is user-visible, so the cost of a shortcut is real.
- Requires
gh(brew install gh) for PRs, merges, and releases. Confirmgh auth statussucceeds before the first PR; if not, stop and tell the user to rungh auth login. mainis a deploy button. Never merge tomainwhile any CI check is not green. The full Definition-of-Done gate runs on a PR tomain; wait for all of it. Poll CI every few minutes rather than tight-looping, to keep token cost sane. No CI pipeline configured on the repo? Skip the wait-for-green step and say so explicitly before merging.- Always update
CHANGELOG.mdduring a release and a hotfix (never per-feature; the changelog is assembled at ship time). Seereferences/changelog.mdfor the format. - Conventional Commits. Follow the Conventional Commits spec. Keep commit messages, PR titles, PR bodies, the changelog, and release notes clean and professional.
- Never force-push. Never bypass git hooks (
--no-verifyor equivalent). The pre-push hooks are part of the safety net. If a push fails due to a hook, investigate and root-fix the underlying issue; never bypass. - Stage only the files you intend. Prefer
git add <specific-files>over blanket staging commands. Verify what you are about to stage withgit diff --stagedbefore committing. - Verify before every push. Run
git log --oneline <base>..HEADandgit diff --stat <base>..HEADso you know exactly what is going to the remote, especially before anything that touchesmain. - After any merge to
main(release or hotfix), open a break-glass revert PR and leave it OPEN. It is the one-click rollback. Never merge it yourself. See the shared procedure inreferences/release.md(the revert step is identical for hotfix).
Versioning
Semantic versioning. The current version lives in your project manifest (package.json, pyproject.toml, Cargo.toml, etc.) on both long-lived branches (kept in sync; both are at the last released version). No version manifest in the repo? Version via the latest git tag alone and skip the bump-file step.
- Release: bump minor for new features (e.g.
1.1.0to1.2.0), major for breaking changes. - Hotfix: bump patch (e.g.
1.1.0to1.1.1). - The tag is
v<x.y.z>, annotated, placed on the merge commit onmain.
Merge methods (they differ by target, on purpose)
| Merge | Method |
|---|---|
Feature/fix PR into dev |
Squash merge (one clean commit per PR with the (#NNN) suffix). This keeps dev history readable. |
release/* or hotfix/* into main |
Merge commit (--no-ff). This preserves the release as a first-parent merge so the break-glass revert (git revert -m 1) is clean. |
Back-merge release/* or hotfix/* into dev |
Merge commit. |
Delete short-lived branches yourself once they are merged everywhere they need to go.
Stay in the loop
These flows touch production. When CI is running or a deploy is in flight, report each milestone to the user as it lands (CI green, merged, deploy healthy, tagged) rather than going silent. If any gate is red, stop and root-fix; do not merge around it.
Archivos de esta skill
7Preguntas sobre la skill gitflow
¿Cómo instalo la skill gitflow en Claude Code?
Ejecuta npx degit mgiovani/cc-arsenal/skills/gitflow ~/.claude/skills/gitflow. Claude Code carga las skills desde ~/.claude/skills (todos los proyectos) o .claude/skills (un proyecto) y usa una skill cuando su descripción coincide con la tarea.
¿Qué clientes pueden usar la skill gitflow?
Cualquier cliente que lea el formato Agent Skills: Claude Code, Codex, Gemini CLI y claude.ai (subir como ZIP). Los scripts de la skill se ejecutan solo donde el cliente permite la ejecución de código.
¿Cuál es la diferencia entre un release y un hotfix en este flujo de trabajo?
Un release se utiliza para pasar el trabajo acumulado de la rama dev a producción, mientras que un hotfix se utiliza para aplicar una corrección urgente en producción de inmediato sin esperar a un ciclo de release completo.
¿Qué método de merge debe usarse para las ramas de feature?
Los PR de feature y fix hacia la rama dev deben usar un squash merge para mantener el historial legible.