Receber por email
← Voltar para o catálogo

git-workflow-automation

Automação abrangente do fluxo de trabalho Git, incluindo estratégias de ramificação, criação de pull requests, revisões de código, estratégias de merge e gerenciamento de releases. Use quando Claude precisar de ajuda com operações Git, modelos de ramificação (Git Flow, GitHub Flow), criação de pull requests, revisões de código, conflitos de merge ou processos de release.

556estrelas
Atualizado há 2 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add majiayu000/claude-skill-registry

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/git-workflow-automation/svg)](https://www.skillteca.com.br/skills/git-workflow-automation)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Git Workflow Automation

Overview

This skill automates common Git workflows and provides expert guidance on best practices for version control.

When to Use This Skill

  • Creating feature branches with proper naming conventions
  • Managing merge conflicts and resolution strategies
  • Following Git Flow or GitHub Flow methodologies
  • Creating and reviewing pull requests
  • Performing release and hotfix operations
  • Automating repetitive Git tasks

Branching Strategies

Git Flow

main (production-ready code)
├── develop (integration branch)
│   ├── feature/* (feature branches)
│   └── release/* (release preparation)
└── hotfix/* (urgent fixes)

GitHub Flow

main (always deployable)
└── feature/* (short-lived branches)

Common Operations

Creating a Feature Branch

git checkout -b feature/user-authentication

Syncing with Upstream

git checkout main
git pull origin main
git checkout feature/user-authentication
git rebase main

Resolving Merge Conflicts

  1. Identify conflicted files: git status
  2. Open files and look for conflict markers: <<<<<<<, =======, >>>>>>>
  3. Manually resolve conflicts by keeping desired changes
  4. Stage resolved files: git add .
  5. Complete the merge: git rebase --continue or git merge --continue

Pull Request Best Practices

  • Write clear, descriptive titles and descriptions
  • Link to related issues
  • Include testing instructions
  • Specify reviewers
  • Follow conventional commit messages

Release Management

  • Tag releases with semantic versioning (v1.2.3)
  • Create release notes highlighting changes
  • Verify CI/CD pipelines pass before merging
  • Coordinate with stakeholders for deployment timing

Scripts Available

  • scripts/create-feature-branch.sh - Automated feature branch creation
  • scripts/sync-with-main.sh - Sync current branch with main
  • scripts/prepare-release.sh - Prepare a new release branch

References

  • references/naming-conventions.md - Git branch naming conventions and best practices
  • references/workflow-patterns.md - Detailed workflow patterns and commands for different Git strategies
Compartilhar X LinkedIn