Commit skill for Claude
The Claude code skills git commit by getsentry: Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue references.
Commit SKILL.md
The full skill file from getsentry/skills (Apache-2.0).
Sentry Commit Messages
Before Committing
git branch --show-current
If the branch is main or master, create a feature branch unless the user
explicitly requested a direct commit. Re-check the branch and stop if it is
still main or master.
Commit one coherent, independently reviewable change at a time.
Message Rules
Use:
<type>(<scope>): <subject>
<optional body>
<optional footer>
- Scope is optional. Add
!before:for a breaking change. - Write the subject in imperative, present tense; capitalize it, omit the trailing period, and keep it at 70 characters or fewer.
- Keep every line under 100 characters.
- Use the body only when useful. Explain what changed and why, including previous behavior or motivation when it helps.
- Never include customer or organization names, user emails, support ticket contents, secrets, or PII. Describe the technical symptom instead.
Allowed types: feat, fix, ref, perf, docs, test, build,
ci, chore, style, meta, license, and revert.
Use ref for refactoring without behavior changes, style for formatting
without logic changes, and meta for repository metadata.
Footers
Fixes <issue>closes an issue when merged.Refs <issue>links an issue without closing it.- For breaking changes, add
BREAKING CHANGE: <impact>.
Creating the Commit
Use separate -m arguments for paragraphs and footers. Never put literal
\n sequences in a commit message or open an interactive editor.
git commit -m "fix(api): Handle null response in user endpoint" \
-m "Return 404 when the user API finds a deleted account." \
-m "Fixes SENTRY-5678"
How to install the Claude code skills git commit
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit getsentry/skills/skills/commit#main ~/.claude/skills/commitCodex
npx degit getsentry/skills/skills/commit#main ~/.codex/skills/commitClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the Claude code skills git commit?
Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue references.
+How do I install Commit in Claude Code?
Copy the skill folder into ~/.claude/skills/commit, for example with "npx degit getsentry/skills/skills/commit#main ~/.claude/skills/commit". Claude Code loads it automatically and uses it when a task matches.
+Does Commit work with ChatGPT or Codex?
Yes. Commit uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/commit. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Commit free?
Commit is published on GitHub by getsentry under the Apache-2.0 license, which allows free use.