Agent skill
finishing-branch
Workflow para finalizar branches
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/finishing-branch
SKILL.md
Workflow para fechar uma branch de feature/fix corretamente.
Checklist Pre-Merge
1. Verificar Testes
# Backend
pytest backend/tests/ -v
# Frontend
cd frontend && npm test
2. Verificar Linting
# Backend (se configurado)
cd backend && ruff check .
# Frontend
cd frontend && npm run lint
3. Atualizar com Main
git fetch origin
git rebase origin/main
# Resolver conflitos se houver
4. Revisar Mudancas
# Ver todos os commits da branch
git log origin/main..HEAD --oneline
# Ver diff completo
git diff origin/main...HEAD
Criar Pull Request
# Push da branch
git push -u origin nome-da-branch
# Criar PR via gh CLI
gh pr create --title "feat: Descricao curta" --body "## Resumo
- O que foi feito
## Testes
- Como testar
## Checklist
- [ ] Testes passando
- [ ] Codigo revisado"
Apos Aprovacao
Merge (squash recomendado)
gh pr merge --squash
Limpar Branch Local
git checkout main
git pull origin main
git branch -d nome-da-branch
Padroes de Commit
feat: Adiciona consulta de BPC
fix: Corrige timeout na API do agente
docs: Atualiza README com instrucoes de deploy
refactor: Simplifica logica de validacao de CPF
test: Adiciona testes para farmacia finder
Resolucao de Conflitos
# Durante rebase
git status # Ver arquivos em conflito
# Editar arquivos manualmente
git add <arquivo>
git rebase --continue
# Se precisar abortar
git rebase --abort
Rollback de Merge
# Identificar commit do merge
git log --oneline -10
# Reverter
git revert -m 1 <commit-hash>
git push origin main
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?