New advertisers: 50% off your first month with code FIRSTMONTHSee slots
cockroachdb avatar

Commit Helper

Commit and PR formatting guide for CockroachDB, including release note categories and issue references.

skills.sh installs
642
GitHub stars
32.6K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers commit message structure, subject and body conventions, and when release notes are required or excluded
  • Includes 12 release note categories, from bug fix and sql change to backward-incompatible change and build change
  • Enforces a release note annotation on every commit, even when it reads Release note: None
  • Designed for contributors to the CockroachDB codebase who need consistent commit and PR messages

Install

$ npx -y skills add cockroachdb/cockroach --skill commit-helper -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CockroachDB Commit Helper

Help the user create properly formatted commit messages and release notes that follow CockroachDB conventions.

Workflow

  1. Analyze the changes: Run git diff --staged or git diff to understand what was modified
  2. Determine the package prefix: Identify the primary package affected
  3. Ask the user for:
    • Issue/epic number if not already known
    • Whether release notes are needed and what category fits best
  4. Write the subject line: Imperative mood, no period, under 72 characters
  5. Write the body: Explain the before/after, why the change was needed
  6. Add issue references: Include Resolves/Epic as appropriate
  7. Write the release note: Clear, user-focused description of the change
  8. Create the commit using the properly formatted message

Commit Message Structure

Basic Format:

package: imperative title without period

Detailed explanation of what changed, why it changed, and
how it impacts users. Explain the problem that existed
before and how this commit solves it.

Include context about alternate approaches considered and
any side effects or consequences.

Resolves: #123
Epic: CRDB-357

Details

Repository
github.com/cockroachdb/cockroach
Category
Git & Releases
First seen
May 16, 2026

More from cockroachdb/cockroach

All 2

Similar to Commit Helper

More Git & Releases