# git

Git is a Claude Code skill for handling commits and PRs in OpenCodeReview projects. It activates when the agent receives a request to commit changes or update pull requests.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 104 repo stars
- Author: BridgLabs
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/BridgLabs/opencodereview/tree/HEAD/.agents/skills/git/SKILL.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/git

## What it does

The skill coordinates repository operations by strictly following Conventional Commits and the project's PR template. It organizes changes into logical units and runs automated checks before submission. The agent evaluates code differences and context to build a commit plan.

Since PR management relies on GitHub CLI, the `gh` tool must be installed in the environment. The skill avoids destructive commands and forbids broad staging using `git add .`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add BridgLabs/opencodereview --skill git -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/git/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/git/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add BridgLabs/opencodereview --skill git -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/git/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add BridgLabs/opencodereview --skill git -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/git/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install BridgLabs/opencodereview .agents/skills/git
```

2. **Manually: put the files in place**
- File: `.github/skills/git/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add BridgLabs/opencodereview --skill git -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/BridgLabs/opencodereview --path .agents/skills/git
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/git/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/BridgLabs/opencodereview/tree/HEAD/.agents/skills/git/SKILL.md

## When to use it
- create commits using Conventional Commits
- group changes into logical commit units
- manage pull requests via GitHub CLI
- run automated tests before pushing

## Example prompts
- Commit these changes, separated by context
- Create a pull request for the current branch
- Update the PR description with the latest changes

## Similar
- [git-worktree-runner](https://affpapa.org/en/nevibecode/skills/git-worktree-runner.md) — skill · ★ 1636 repo stars
- [speckit-git-remote](https://affpapa.org/en/nevibecode/skills/speckit-git-remote.md) — skill · ★ 110 repo stars
- [speckit.git.remote](https://affpapa.org/en/nevibecode/commands/speckitgitremote.md) — command · ★ 110 repo stars
- [git-workflow](https://affpapa.org/en/nevibecode/skills/jezweb-git-workflow.md) — skill · 1300 installs
- [managing-git](https://affpapa.org/en/nevibecode/skills/managing-git.md) — skill · ★ 1424 repo stars
- [git-worktrees](https://affpapa.org/en/nevibecode/skills/git-worktrees.md) — skill · 1200 installs

From the same set: [bridglabs/opencodereview](https://affpapa.org/en/nevibecode/by/bridglabs/opencodereview.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
