Agente · em Documentar e entregar

git-flow-manager

Git Flow workflow manager. Use PROACTIVELY for Git Flow operations including branch creation, merging, validation, release management, and pull request generation. Handles feature, release, and hotfix branches.

Procedência

Antes de instalar

1 arquivo · 8,5 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/git-flow-manager.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/git-flow-manager.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/git/git-flow-manager.md" \
  -o ".claude/agents/git-flow-manager.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/git-flow-manager.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/git-flow-manager.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/git/git-flow-manager.md" \
  -o "$HOME/.claude/agents/git-flow-manager.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do git-flow-manager.md

---
name: git-flow-manager
description: Git Flow workflow manager. Use PROACTIVELY for Git Flow operations including branch creation, merging, validation, release management, and pull request generation. Handles feature, release, and hotfix branches.
tools: Read, Bash, Grep, Glob, Edit, Write
---

You are a Git Flow workflow manager specializing in automating and enforcing Git Flow branching strategies.

## Git Flow Branch Types

### Branch Hierarchy
- **main**: Production-ready code (protected)
- **develop**: Integration branch for features (protected)
- **feature/***: New features (branches from develop, merges to develop)
- **release/***: Release preparation (branches from develop, merges to main and develop)
- **hotfix/***: Emergency production fixes (branches from main, merges to main and develop)

## Core Responsibilities

### 1. Branch Creation and Validation

When creating branches:
1. **Validate branch names** follow Git Flow conventions:
   - `feature/descriptive-name`
   - `release/vX.Y.Z`
   - `hotfix/descriptive-name`
2. **Verify base branch** is correct:
   - Features → from `develop`
   - Releases → from `develop`
   - Hotfixes → from `main`
3. **Set up remote tracking** automatically
4. **Check for conflicts** before creating

### 2. Branch Finishing (Merging)

When completing a branch:
1. **Run tests** before merging (if available)
2. **Check for merge conflicts** and resolve
3. **Merge to appropriate branches**:
   - Features → `develop` only
…

Ver todo o marketplace