git-workflow

Git 版本控制与协作专家,涵盖 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践。

181 stars

Best use case

git-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Git 版本控制与协作专家,涵盖 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践。

Teams using git-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/05-devops-gitworkflow/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/05-devops-gitworkflow/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/05-devops-gitworkflow/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How git-workflow Compares

Feature / Agentgit-workflowStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Git 版本控制与协作专家,涵盖 GitHub/Gitee 平台操作、Conventional Commits 规范及 PR/MR 最佳实践。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Git Workflow & Platform Collaboration

本 Skill 旨在指导开发者规范化使用 Git,并高效利用 GitHub、Gitee 等代码托管平台进行协作。

## 包含的技能模块

### 1. 提交规范 (Commit Convention)
- **标准**: 遵循 [Conventional Commits](https://www.conventionalcommits.org/)。
- **格式**: `<type>(<scope>): <description>`
  - `feat`: 新功能
  - `fix`: 修补 bug
  - `docs`: 文档修改
  - `style`: 代码格式修改 (不影响代码运行的变动)
  - `refactor`: 重构 (即不是新增功能,也不是修改 bug 的代码变动)
  - `perf`: 性能优化
  - `test`: 增加测试
  - `chore`: 构建过程或辅助工具的变动
- **示例**: `feat(auth): add google oauth2 login support`

### 2. 分支策略 (Branching Strategy)
- **Trunk Based Development (推荐)**:
  - `main`: 随时可发布的主分支。
  - Feature branches: 短生命周期的功能分支,合并后即删除。
- **Git Flow (传统)**:
  - `master`, `develop`, `feature/*`, `release/*`, `hotfix/*`.

### 3. 平台特定指南 (Platform Specifics)

#### GitHub
- **Actions**: CI/CD 首选。
- **Pages**: 静态网站托管。
- **PR**: Pull Request 流程与 Code Review。

#### Gitee (码云)
- **国内加速**: 适合国内镜像与私有项目。
- **Gitee Go**: 内置的 CI/CD 流水线。
- **Pages**: Gitee Pages 服务。

## 🤖 智能体与 MCP 增强

### 推荐智能体角色
*   **Git Workflow Specialist**: 详见 [AGENTS.md](AGENTS.md)。
    *   专注于代码审查、提交信息规范化和发布流程管理。

### 推荐 MCP 工具
*   **Git MCP**:
    *   自动执行 `git add`, `git commit`, `git push`。
    *   分析 git log 生成 Changelog。
*   **GitHub MCP**:
    *   创建 Issue, 提交 PR, Review 代码, 管理 Releases。
*   **mcp-feedback-enhanced**:
    *   在生成 PR 描述或 Commit Message 时,如果上下文不足,使用 `ask_followup_question` 询问用户具体的修改原因或关联的 Issue。
    *   在进行 Code Review 时,使用该工具确认用户的 Review 重点。

---

Related Skills

add-workflow

181
from majiayu000/claude-skill-registry

Guide for adding a new RolloutWorkflow to AReaL. Use when user wants to create a new workflow.

add-new-skills-to-workflow

181
from majiayu000/claude-skill-registry

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

adb-workflow-orchestrator

181
from majiayu000/claude-skill-registry

TOON workflow orchestration engine for coordinating ADB automation scripts across phases with error recovery

adaptive-workflows

181
from majiayu000/claude-skill-registry

Self-learning workflow system that tracks what works best for your use cases. Records experiment results, suggests optimizations, creates custom templates, and builds a personal knowledge base. Use to learn from experience and optimize your LLM workflows over time.

act-workflow-syntax

181
from majiayu000/claude-skill-registry

Use when creating or modifying GitHub Actions workflow files. Provides guidance on workflow syntax, triggers, jobs, steps, and expressions for creating valid GitHub Actions workflows that can be tested locally with act.

accounts-payable-workflow

181
from majiayu000/claude-skill-registry

Эксперт AP workflow. Используй для процессов кредиторской задолженности, invoice processing, three-way matching и payment automation.

SKILL.md — Skill para workflow Access/VBA (Export → Trabajo → Sync → Compilar → ERD → Cierre)

181
from majiayu000/claude-skill-registry

## Objetivo

1k-git-workflow

181
from majiayu000/claude-skill-registry

Git workflow and conventions for OneKey development. Use when creating branches, committing code, or creating PRs. Triggers on git, branch, commit, PR, pull request, merge, workflow.

gitops-workflow

181
from majiayu000/claude-skill-registry

Implement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.

Gitee Workflow Automation

181
from majiayu000/claude-skill-registry

深度集成 Gitee MCP,实现 Issue 管理、PR 自动化提交、代码审查和版本发布的全流程自动化。

chrome-debug

159
from majiayu000/claude-skill-registry

This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.

Coding & DevelopmentClaude

ontopo

159
from majiayu000/claude-skill-registry

An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.

General Utilities