Skill:git workflow skill

Agent Skill for Git workflow best practices - branching, commits, PR workflows | Claude Code compatible

适用场景

招聘人事

适合角色

介绍

以下内容整理自开源仓库 `netresearch/git-workflow-skill` 的 README / SKILL.md 摘要:

# Git Workflow Skill

Expert patterns for Git version control workflows including branching strategies, commit conventions, collaborative workflows, and CI/CD integration.

## 🔌 Compatibility

This is an **Agent Skill** following the [open standard](https://agentskills.io) originally developed by Anthropic and released for cross-platform use.

**Supported Platforms:**
- ✅ Claude Code (Anthropic)
- ✅ Cursor
- ✅ GitHub Copilot
- ✅ Other skills-compatible AI agents

> Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.

## Features

- **Branching Strategies**: Git Flow (feature/release/hotfix branches), GitHub Flow (simple feature branches), trunk-based development, release management patterns
- **Commit Conventions**: Conventional Commits standard, semantic versioning integration, commit message best practices, atomic commit patterns
- **Collaborative Workflows**: Pull request best practices, code review processes, merge strategies (merge, squash, rebase), conflict resolution patterns
- **CI/CD Integration**: GitHub Actions workflows, GitLab CI patterns, branch protection rules, automated versioning
- **Git Hooks**: Pre-commit hooks for linting and testing, commit message validation
- **Advanced Operations**: Interactive rebase, cherry-picking, stashing, reflog recovery

## Installation

### Marketplace (Recommended)

Add the [Netresearch marketplace](https://github.com/netresearch/claude-code-marketplace) once, then browse and install skills:

```bash
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
```

### npx ([skills.sh](https://skills.sh))

Install with any [Agent Skills](https://agentskills.io)-compatible agent:

```bash
npx skills add https://github.com/netresearch/git-workflow-skill --skill git-workflow
```

### Download Release

Download the [latest release](https://github.com/netresearch/git-workflow-skill/releases/latest) and extract to your agent's skills directory.

### Git Clone

```bash
git clone https://github.com/netresearch/git-workflow-skill.git
```

### Composer (PHP Projects)

```bash
composer require netresearch/git-workflow-skill
```

Requires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin).

### npm (Node Projects)

```bash
npm install --save-dev \
  @netresearch/agent-skill-coordinator \
  github:netresearch/git-workflow-skill
```

Requires [@netresearch/agent-skill-coordinator](https://github.com/netresearch/node-agent-skill-coordinator), which discovers the skill in `node_modules` and registers it in `AGENTS.md` via a `postinstall` hook. For pnpm, also allowlist the coordinator's postinstall:

```json
{
  "pnpm": {
    "onlyBuiltDependencies": ["@netresearch/agent-skill-co

---

安装方式

1. 打开仓库:https://github.com/netresearch/git-workflow-skill
2. 查找 SKILL.md 或 README 中的安装章节
3. 克隆或下载所需 Skill 子目录到本地 skills 路径(如 `.cursor/skills/` 或 `.claude/skills/`)
4. 重启 / 重载 Agent 客户端
5. 用一条真实任务验证 Skill 是否被正确加载

适用平台

  • Cursor
  • Claude

打开详情 · 返回技巧库