# commit

Creates targeted git commits from working diffs, checks for secrets and conflict markers, and stages files individually by name.

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

## What it does

The skill triggers only when you explicitly ask to commit. It begins by inspecting `git diff HEAD` alongside branch history and working tree status. Before staging anything, it scans the modified surface for leaked credentials, `.env` files, conflict markers, and debug junk. If it spots sensitive files or merge conflicts, it halts right away instead of modifying history.

Staging is strictly intentional. Commands like `git add .` or `git add -A` are barred. The agent stages files individually by path, runs targeted tests or lint checks against the modified areas, and structures the commit message around Conventional Commits syntax. Once finished, it reports the new commit hash and notes any unstaged changes left behind.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill commit -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill commit -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill commit -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ulpi-io/skills commit
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill commit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ulpi-io/skills --path commit
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill commit -a opencode
```

### 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/ulpi-io/skills/tree/HEAD/commit/SKILL.md

## When to use it
- block secrets and conflict markers before committing
- write standard Conventional Commit subjects from diff analysis
- run targeted tests and linters only on modified surfaces
- stage modified files explicitly by name without blanket git add

## Example prompts
- commit these changes with a conventional commit message
- /commit fix authentication issue in api router
- make a commit for the latest bugfix

## Similar
- [caveman-commit](https://affpapa.org/en/nevibecode/skills/caveman-commit.md) — skill · 441600 installs
- [commit-staged](https://affpapa.org/en/nevibecode/skills/commit-staged.md) — skill · ★ 1216 repo stars
- [unslop-commit](https://affpapa.org/en/nevibecode/skills/unslop-commit.md) — skill · ★ 195 repo stars
- [01-commit](https://affpapa.org/en/nevibecode/skills/01-commit.md) — skill · ★ 571 repo stars
- [Commit Message Preparation](https://affpapa.org/en/nevibecode/prompts/commit-message-preparation.md) — prompt · ★ 178201 repo stars
- [commit-work](https://affpapa.org/en/nevibecode/plugins/commit-work.md) — plugin · ★ 2707 repo stars

## Other versions with the same name
- [commit · getsentry](https://affpapa.org/en/nevibecode/skills/getsentry-commit.md) — 4900 installs
- [commit · neolabhq](https://affpapa.org/en/nevibecode/skills/neolabhq-commit.md) — 1300 installs
- [commit · parcadei](https://affpapa.org/en/nevibecode/skills/parcadei-commit.md) — 505 installs
- [commit · fradser](https://affpapa.org/en/nevibecode/skills/fradser-commit.md) — 121 installs
- [commit · paulrberg](https://affpapa.org/en/nevibecode/skills/paulrberg-commit.md) — 347 installs

From the same set: [ulpi-io/skills](https://affpapa.org/en/nevibecode/by/ulpi-io/skills.md) — 49 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
