# commit

This skill formats commit messages using Sentry conventions, including issue references. Use it when you want a consistent Git history for a Sentry project.

- skill · `type=skill` · Claude Code · 94 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/sentry/commit
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/commit

## What it does

The skill guides Claude Code in writing conventional commit messages with a change type and an optional scope. Each message needs a header. Its subject must start with a capital letter, use imperative wording, omit the final period, and stay within 70 characters; each line has a 100-character limit.

The body should explain the change and its motivation. Add an issue reference in the footer: `Fixes SENTRY-1234` closes the issue after merging, while `Refs LINEAR-ABC-123` links it without closing it. Those reference patterns are Sentry-specific, so check another project’s conventions before applying them there. The skill also covers revert messages and breaking changes.

## Requirements
- Works with: Sentry

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill sentry/commit
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill commit -a claude-code
```

3. **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

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

### Cursor

**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 davila7/claude-code-templates commit
```

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

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/sentry/commit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/commit/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/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/sentry/commit

## When to use it
- format a commit header with a type and scope
- explain the change and its motivation in the body
- attach an issue reference in the footer
- write a revert or breaking-change message

## Example prompts
- Write a commit message for an API bug fix using Sentry conventions.
- Format a commit for a new feature in the `alerts` scope and add `Refs GH-1234`.
- Draft a revert message and explain why the commit is being undone.

## Similar
- [triage](https://affpapa.org/en/nevibecode/skills/triage.md) — skill · 990453 installs
- [code-review](https://affpapa.org/en/nevibecode/skills/code-review.md) — skill · 789521 installs
- [implement](https://affpapa.org/en/nevibecode/skills/implement.md) — skill · 774700 installs
- [git-guardrails-claude-code](https://affpapa.org/en/nevibecode/skills/git-guardrails-claude-code.md) — skill · 499069 installs
- [setup-pre-commit](https://affpapa.org/en/nevibecode/skills/setup-pre-commit.md) — skill · 489289 installs
- [scaffold-exercises](https://affpapa.org/en/nevibecode/skills/scaffold-exercises.md) — skill · 480196 installs

## Other versions with the same name
- [commit · getsentry](https://affpapa.org/en/nevibecode/skills/getsentry-commit.md) — 4700 installs
- [commit · neolabhq](https://affpapa.org/en/nevibecode/skills/neolabhq-commit.md) — 1200 installs
- [commit · parcadei](https://affpapa.org/en/nevibecode/skills/parcadei-commit.md) — 499 installs
- [commit · paulrberg](https://affpapa.org/en/nevibecode/skills/paulrberg-commit.md) — 342 installs
- [commit · legendapp](https://affpapa.org/en/nevibecode/skills/legendapp-commit.md) — 404 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 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
