gitflow skill
feature, release, hotfix 브랜치를 포함한 gitflow 브랜치 워크플로우를 관리하며, 버전별 릴리스 및 changelog 생성을 지원합니다.
- GitHub 스타
- 8
- 파일
- 7
- 마지막 커밋
- 2026년 10월 28일
- 라이선스
- MIT
- 허용된 도구
- —
gitflow skill은 무엇을 하나요?
gitflow은(는) agent skill입니다. feature, release, hotfix 브랜치를 포함한 gitflow 브랜치 워크플로우를 관리하며, 버전별 릴리스 및 changelog 생성을 지원합니다.
skill의 SKILL.md에서 생성된 요약입니다.
gitflow skill 정보
이 SKILL은 프로덕션 환경의 저장소를 관리하는 개발자가 gitflow와 같은 복잡한 브랜치 전략을 효율적으로 운영할 수 있도록 돕습니다. 메인 프로덕션 브랜치의 안정성을 보장하면서 feature, release, hotfix 브랜치의 라이프사이클을 자동화합니다. 사용자가 개발 작업을 프로덕션으로 승격하거나, 긴급 수정을 조율하거나, 버전별 릴리스를 관리해야 할 때 에이전트가 이 도구를 로드해야 합니다.
이 SKILL은 pull request, merge, release 처리를 위해 GitHub CLI 도구를 사용합니다. main 브랜치로 머지하기 전 CI 체크가 통과되었는지 확인하고, 모든 프로덕션 배포 후에는 긴급 복구를 위한 revert pull request 생성을 요구하는 등 엄격한 안전 프로토콜을 준수합니다. 또한 package.json 또는 pyproject.toml과 같은 프로젝트 매니페스트를 업데이트하고 changelog를 생성하여 semantic versioning을 처리합니다. 이 도구는 gitflow 토폴로지에 특화되어 설계되었으므로, 단순한 단일 브랜치 워크플로우나 기본적인 git 명령어 학습용으로는 권장하지 않습니다.
agent가 수행할 수 있는 작업
- 1누적된 개발 작업 배포누적된 작업 내용을 프로덕션에 준비하기 위해 development 브랜치로부터 새로운 release 브랜치를 생성합니다.
- 2긴급 프로덕션 수정 적용프로덕션의 긴급한 문제를 해결하기 위해 main 브랜치에서 직접 hotfix 브랜치를 생성합니다.
- 3신규 프로젝트 기능 개발다음 릴리스 주기를 위한 기능을 구현하기 위해 integration 브랜치에서 새로운 feature 브랜치를 시작합니다.
- 4버전별 릴리스 문서화 자동화릴리스 프로세스 중에 전문적인 changelog를 생성하고 새로운 semantic version 태그를 지정합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
gitflow skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 gitflow skill 설치
/plugin marketplace add mgiovani/cc-arsenal /plugin install cc-arsenal@cc-arsenal-marketplace
Claude Code에 gitflow skill 설치
~/.claude/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.claude/skills/gitflowClaude Code (project)에 gitflow skill 설치
.claude/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow .claude/skills/gitflowCodex에 gitflow skill 설치
~/.agents/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.agents/skills/gitflowGemini CLI에 gitflow skill 설치
~/.gemini/skills/gitflow/SKILL.md
$ npx degit mgiovani/cc-arsenal/skills/gitflow ~/.gemini/skills/gitflowClaude.ai에 gitflow skill 설치
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
GitHub에서 보기Gitflow
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.
이 스킬의 파일
7gitflow skill 질문
Claude Code에 gitflow skill을 어떻게 설치하나요?
npx degit mgiovani/cc-arsenal/skills/gitflow ~/.claude/skills/gitflow를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
gitflow skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
이 워크플로우에서 release와 hotfix의 차이점은 무엇인가요?
release는 dev 브랜치의 작업 내용을 production으로 배포할 때 사용하며, hotfix는 전체 릴리스 주기를 기다리지 않고 긴급한 수정 사항을 즉시 production에 반영할 때 사용합니다.
feature 브랜치에는 어떤 머지 방식을 사용해야 하나요?
히스토리를 깔끔하게 유지하기 위해 dev 브랜치로의 feature 및 fix PR에는 squash merge를 사용해야 합니다.