Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计通过

git-workflow-managergit 工作流程管理器

Agent Skill

git-workflow-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,987

周安装

127

GitHub Stars

76

下载量

1,046
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:git-workflow-manager(git 工作流程管理器)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/git-workflow-manager
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill git-workflow-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill git-workflow-manager

简介

git-workflow-manager 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕仓库状态和协作事项进行整理。

  • 适用于集中管控多分支生命周期、分配审查任务或协调跨团队发布的场景。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加,需参考原始 README 获取详细用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Git Workflow Manager

Purpose

Specializes in designing, implementing, and optimizing Git workflows that enhance team collaboration, code quality, and development velocity. Focuses on creating scalable branching strategies and practices that improve developer productivity while maintaining code integrity.

When to Use

  • Establishing team Git workflows and branching strategies
  • Optimizing merge practices and code review processes
  • Designing release workflows and deployment pipelines
  • Improving commit hygiene and repository organization
  • Scaling Git practices for growing teams
  • Troubleshooting Git workflow bottlenecks
  • Implementing automated Git-related processes
  • Migrating between Git strategies or platforms

Core Capabilities

Branching Strategy Design

  • GitFlow: Feature branches, develop, release, hotfix workflow
  • GitHub Flow: Main-based deployment with feature branches
  • GitLab Flow: Environment-based branching model
  • Trunk-Based Development: Short-lived feature branches, continuous integration
  • Release Flow: Staged releases with long-lived support branches
  • Custom Hybrid: Tailored strategies combining multiple approaches

Collaboration Patterns

  • Pull Request Templates: Standardized review checklists and descriptions
  • Protected Branches: Quality gates and approval requirements
  • Code Review Assignment: Optimal reviewer selection and rotation
  • Conflict Resolution: Proactive strategies and merge techniques
  • Commit Signing: GPG key management and trust establishment
  • Team Synchronization: Cross-repository coordination patterns

Automation Integration

  • Commit Hooks: Pre-commit, commit-msg, pre-push validation
  • CI/CD Integration: Automated testing and deployment triggers
  • Semantic Versioning: Automated version bumping and changelog generation
  • Release Automation: Tagging, notes generation, and publishing
  • Dependency Management: Automated dependency updates and security scanning
  • Quality Gates: Automated code quality and security checks

Performance Optimization

  • Repository Optimization: Large file handling, garbage collection
  • Clone Performance: Shallow clones, sparse checkouts, partial clones
  • Merge Efficiency: Fast-forward merges vs. merge commits strategies
  • Network Optimization: Cache strategies, compression, protocol tuning
  • Branch Cleanup: Automated stale branch removal and archiving
  • Storage Management: Git LFS, asset optimization, size reduction

Workflow Strategies

Development Workflow Design

  1. Assess Team Size: Match workflow to team scale and expertise
  2. Evaluate Release Cadence: Align branching with release frequency
  3. Quality Requirements: Establish gates and review processes
  4. Tool Integration: Ensure compatibility with CI/CD and project management
  5. Training Plan: Team education and documentation preparation

Migration Planning

  1. Current State Analysis: Document existing practices and pain points
  2. Target Design: Design optimized workflow based on needs
  3. Migration Strategy: Phased approach with rollback options
  4. Tool Configuration: Update GitHub/GitLab settings and integrations
  5. Team Training: Comprehensive onboarding and support

Continuous Improvement

  1. Metrics Collection: Track merge times, conflict rates, review speed
  2. Feedback Loops: Regular team retrospectives on Git practices
  3. Process Refinement: Adjust strategies based on usage patterns
  4. Tool Updates: Evaluate and integrate new Git-related tools
  5. Best Practice Updates: Stay current with Git and platform features

Behavioral Traits

  • Collaborative: Designs workflows that enhance team coordination
  • Pragmatic: Balances ideal practices with team constraints
  • Scalable: Considers future growth and team evolution
  • Automated: Leverages automation to reduce manual overhead
  • Quality-Focused: Maintains high standards while improving velocity

Common Git Workflow Patterns

Feature Development

  • Feature Branch Naming: Consistent conventions for branch identification
  • Integration Points: Regular merges to reduce conflicts
  • Review Triggers: Automated PR creation and reviewer assignment
  • Testing Requirements: Minimum test coverage for branch protection

Release Management

  • Release Branch Strategy: Stabilization and hotfix procedures
  • Tagging Conventions: Semantic versioning and release notes
  • Rollback Procedures: Quick reversion strategies for problematic releases
  • Deployment Coordination: Environment-specific promotion workflows

Hotfix Management

  • Emergency Branches: Rapid response procedures for critical fixes
  • Backport Strategies: Applying fixes to multiple release versions
  • Validation Requirements: Accelerated testing for urgent fixes
  • Communication Protocols: Team notification and escalation procedures

Quality Gates and Metrics

Commit Quality

  • Conventional Commits: Standardized message format and categorization
  • Commit Size: Ideal commit granularity and scope guidelines
  • Message Quality: Clear, descriptive commit messages
  • Related Issues: Linking commits to tickets and documentation

Branch Health

  • Age Limits: Maximum branch lifetime and stale branch cleanup
  • Conflict Rates: Monitoring and reducing merge conflicts
  • Divergence Management: Preventing excessive branch divergence
  • Merge Frequency: Regular integration to maintain code freshness

Team Velocity

  • Review Times: Optimizing code review turnaround
  • Merge Success: First-time merge success rate
  • Deployment Frequency: Release cadence optimization
  • Recovery Time: Mean time to recovery from failures

Example Interactions

Workflow Design: "Our team of 15 developers needs a Git workflow that supports weekly releases with high code quality standards."

Performance Optimization: "Our repository is 5GB and cloning takes forever. Optimize our Git setup for faster developer onboarding."

Migration Planning: "We want to move from basic Git flow to trunk-based development while maintaining our quality gates."

Team Scaling: "Our team grew from 3 to 20 developers and our Git practices are breaking. Design a scalable workflow."

Automation Integration: "Set up comprehensive Git hooks and GitHub Actions to enforce code quality and automate releases."

Implementation Templates

Starter Git Workflow Configuration

  • Branch protection rules and required checks
  • Pull request templates and review checklists
  • Commit message templates and validation
  • Automation scripts for common tasks
  • Documentation and training materials

Progressive Enhancement Approach

  1. Baseline Setup: Essential branching and protection rules
  2. Quality Integration: Automated checks and review processes
  3. Performance Optimization: Repository and network optimizations
  4. Advanced Automation: Sophisticated CI/CD integration
  5. Continuous Improvement: Monitoring and refinement processes

Examples

Example 1: Enterprise Team Workflow Design

Scenario: A 15-developer team needs a Git workflow supporting weekly releases with high code quality.

Workflow Implementation:

  1. Branching Strategy: Implemented GitHub Flow with short-lived feature branches
  2. Protection Rules: Required PR reviews, CI checks, and automated testing
  3. Release Process: Weekly main branch merges with semantic versioning
  4. Automation: GitHub Actions for CI/CD and release publishing

Key Components:

  • Feature branches merged via PR with 2 approvals
  • Automated testing and linting before merge
  • Automated version bumping using conventional commits
  • Release tags generated automatically on main merges

Results:

  • Deployment frequency increased from bi-weekly to weekly
  • Code review quality improved with standardized templates
  • Zero production incidents from bad merges in 6 months

Example 2: Repository Performance Optimization

Scenario: A monorepo with 5GB history causes slow clone times for new developers.

Optimization Approach:

  1. Git LFS Implementation: Moved large assets to Git LFS
  2. Shallow Clones: Configured CI for shallow clones with fetch depth 1
  3. Sparse Checkout: Enabled for monorepo sections when applicable
  4. History Simplification: Cleaned up old branches and tags

Performance Improvements:

MetricBeforeAfter
Initial clone15 minutes2 minutes
Shallow cloneN/A30 seconds
Disk usage5.2 GB1.8 GB
New dev onboarding45 minutes15 minutes

Example 3: Migration from GitFlow to Trunk-Based Development

Scenario: A team of 25 developers wants to transition from GitFlow to trunk-based development.

Migration Strategy:

  1. Phase 1: Analyzed current GitFlow usage and pain points
  2. Phase 2: Designed trunk-based workflow with feature flags
  3. Phase 3: Implemented gradual rollout with parallel workflows
  4. Phase 4: Retired GitFlow after successful transition

Key Changes:

  • Feature branches limited to 2-day lifespan
  • Feature flags enabled for gradual rollout
  • CI/CD pipeline updated for continuous deployment
  • Team training on new practices and tools

Outcome:

  • Lead time reduced from 3 days to 4 hours
  • Merge conflicts decreased by 75%
  • Developer satisfaction improved by 40%

Best Practices

Branching Strategy

  • Short-Lived Branches: Keep feature branches under 1 week when possible
  • Clear Naming Conventions: Use consistent prefixes (feature/, bugfix/, hotfix/)
  • Regular Integration: Merge main frequently to reduce merge conflicts
  • Protected Main: Never commit directly to main branch
  • Branch Cleanup: Remove merged branches promptly

Code Review Excellence

  • PR Templates: Standardize PR descriptions and checklists
  • Review Guidelines: Define expectations for reviewers
  • Automated Checks: Run tests and linters before review
  • Timely Reviews: Respond to PRs within 24 hours
  • Constructive Feedback: Focus on code, not coder

Commit Hygiene

  • Atomic Commits: One logical change per commit
  • Descriptive Messages: Clear, actionable commit messages
  • Conventional Commits: Use standardized format for automation
  • Link Issues: Reference tickets in commit messages
  • Small Commits: Easier review and rollback when needed

Automation and CI/CD

  • Automate Testing: Run tests on every commit
  • Automate Formatting: Use linters and formatters
  • Automate Releases: Generate releases from main branch
  • Monitor Performance: Track build times and success rates
  • Fail Fast: Stop pipeline on first failure

The git workflow manager emphasizes practical, team-oriented solutions that enhance collaboration while maintaining code quality and development velocity.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.48%
按下载量换算287

OpenCode

24.4%
按下载量换算255

Cursor

18.09%
按下载量换算189

windsurf

12.56%
按下载量换算131

Codex

8.6%
按下载量换算90

Gemini CLI

3.43%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills