CockroachDB Commit Helper
SkillDocs & knowledgecommit-helper is a skill that helps create git commits and PRs with properly formatted messages and release notes following CockroachDB conventions. It guides the agent through reviewing staged diffs, asking for issue numbers and release-note choices, then composing a commit message with the required package prefix, issue references, and categorized release note. It also explains how to structure pull requests from a personal fork, including titles and bodies for single- and multi-commit PRs.
Use CockroachDB Commit Helper in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add CockroachDB Commit Helper and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the CockroachDB Commit Helper skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have a git repository with staged changes ready to commit.
What your AI can do with it
- Review staged diffs before writing a commit message
- Ask for issue numbers and release-note choices
- Compose commit messages with package prefix and issue references
- Add categorized release notes to commit messages
- Explain pull request structure from a personal fork
- Provide titles and bodies for single- and multi-commit PRs
Getting started
- Have a git repository with staged changes ready to commit.
- Add the commit-helper skill to your agent's available skills.
- Ask the agent to help create a commit or pull request.
- Provide issue numbers and release-note choices when the agent asks.
- Review the generated commit message or pull request description before using it.
What this skill tells your AI
The instructions your AI receives, as published by cockroachdb/cockroach in .claude/skills/commit-helper/SKILL.md and read by ahel’s review.
Help the user create properly formatted commit messages and release notes that follow CockroachDB conventions.
Workflow
- Analyze the changes: Run
git diff --stagedorgit diffto understand what was modified - Determine the package prefix: Identify the primary package affected
- Ask the user for:
- Issue/epic number if not already known
- Whether release notes are needed and what category fits best
- Write the subject line: Imperative mood, no period, under 72 characters
- Write the body: Explain the before/after, why the change was needed
- Add issue references: Include Resolves/Epic as appropriate
- Write the release note: Clear, user-focused description of the change
- 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
Release note (category): Description of user-facing change
in past or present tense explaining what changed, how users
can see the change, and why it's important.
Key Requirements:
- Must include release note annotation (even if "Release note: None")
- Must include issue or epic reference
- Must separate subject from body with blank line
- Recommended prefix subject with affected package/area
- Recommended use imperative mood in subject (e.g. "fix bug" not "fixes bug")
- Recommended wrap body at 72-100 characters
Release Note Categories
When to include release notes:
- Changes to user interaction or experience
- Changes to product behavior (performance, command responses, architecture)
- Bug fixes affecting external users
When to exclude release notes:
- Internal refactors, testing, infrastructure work
- Code that's too immature for docs (private preview features)
- Internal settings beginning with
crdb_internal. - Functionality not accessible to external users
Valid Categories:
backward-incompatible change- Breaking changes to stable interfacesenterprise change- Features requiring enterprise licenseops change- Commands/endpoints for operators (logging, metrics, CLI flags)cli change- Commands for developers/contributors (SQL shells, debug tools)sql change- SQL statements, functions, system catalogsui change- DB Console changessecurity update- Security feature changesperformance improvement- Performance enhancementscluster virtualization- Multi-tenancy infrastructurebug fix- Problem fixesgeneral change- Changes that don't fit elsewherebuild change- Source build requirements
Release Note Best Practices
Description guidelines:
- Default to more information rather than less
- Explain what changed, how it changed, and why it's relevant
- Use past tense ("Added", "Fixed") or present tense ("CockroachDB now supports")
- For bug fixes: describe cause, symptoms, and affected versions
- Note if change is part of broader roadmap feature
Examples:
Good bug fix:
Release note (bug fix): Fixed a bug introduced in v19.2.3 that
caused duplicate rows in CREATE TABLE ... AS results when multiple
nodes attempt to populate the results.
Good feature:
Release note (enterprise change): Shortened the default interval
for the kv.closed_timestamp.target_duration cluster setting from
30s to 3s. This allows follower reads at 4.8 seconds in the past,
a much shorter window than the previous 48 seconds.
Issue References
Resolves: #123- Auto-closes issue on PR mergeSee also: #456, #789- Cross-references issuesEpic: CRDB-357- Links to epic
How to Avoid Common Pitfalls
- Always include a release note annotation (even "Release note: None")
- Use only valid category names from the list above
- Keep release notes focused on user-facing information
- Write specific descriptions that explain the impact to users
- Use
backward-incompatible changecategory for any breaking changes - End subject lines without punctuation
- Explain the "why" behind changes, not just the "what"
Pull Request Guidelines
- Create PRs from your personal fork, not directly on cockroachdb/cockroach
- Single-commit PRs: PR title should match commit title, PR body should match commit body
- Multi-commit PRs: The body should summarize the end goal that the set of commits achieves and give the reader the context necessary to review the PR commit by commit (for example, the first commits might get refactors out of the way so that the last commit can hook everything up). When there isn't an overarching connection between the commits (maybe the PR groups a few mechanical changes that are not related) it is fine to say that the individual commits speak for themselves.
Signals
- GitHub stars
- 33k
- Forks
- 4k
- Last commit
- Sep 2026
Questions
- What is commit-helper?
- commit-helper is a skill that helps create git commits and PRs with properly formatted messages and release notes following CockroachDB conventions.
- When should I use commit-helper?
- Use it when committing changes or creating pull requests, especially when you need messages that follow CockroachDB conventions.
- Does commit-helper work with any git repository?
- It is designed for repositories that follow CockroachDB conventions, including package prefixes, issue references, and categorized release notes.
Advanced
- Item type
- skill
- Key
cockroach-commit-helper- Source
- github.com/cockroachdb/cockroach
github.com/cockroachdb/cockroach
More in Docs & knowledge
Skill · mattpocock
More in Docs & knowledgecanvas-design
Skill · anthropics
More in Docs & knowledgedoc-coauthoring
Skill · anthropics
More in Docs & knowledgewriting-for-agents
Skill · mattpocock
More in Docs & knowledgespec-driven-development
Skill · addyosmani
More in Docs & knowledgedefuddle
Skill · kepano
More in Docs & knowledge