commit · davila7 — Claude Code skill for Sentry commit messages
This skill formats commit messages using Sentry conventions, including issue references. Use it when you want a consistent Git history for a Sentry project.
npx claude-code-templates@latest --skill sentry/commitWhat commit 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.
What it helps with
- 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 for the agent
- Write a commit message for an API bug fix using Sentry conventions.
- Format a commit for a new feature in the
alertsscope and addRefs GH-1234. - Draft a revert message and explain why the commit is being undone.
How to install commit
1claude-code-templates
npx claude-code-templates@latest --skill sentry/commit2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill commit -a claude-code3Manually: put the files in place
~/.claude/skills/commit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/commit/
Manually: put the files in place
.agents/skills/commit/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/commit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates commit2Manually: put the files in place
.github/skills/commit/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/sentry/commitManually: put the files in place
.devin/skills/commit/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about commit
How do I install commit in Claude Code?
Run npx claude-code-templates@latest --skill sentry/commit.
What does the commit skill do?
It guides commit messages to follow Sentry conventions, covering the header, body, and issue references in the footer.
How do I reference an issue without closing it?
Use Refs in the footer. Fixes is the form that closes an issue after the commit is merged.
Similar skills
All skills for Git and GitHub →commit by other authors comes first.