commit

Enforce conventional commit formats and branch hygiene across Sentry projects.

905|47|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/getsentry/skills --skill commit-getsentry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/getsentry/skills/tree/main/skills/commit
Command: npx skills add https://github.com/getsentry/skills --skill commit-getsentry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improper or inconsistent commit messages hinder traceability and project hygiene. This Skill enforces Sentry's conventional commit standards, guiding developers to craft clear subject lines, include necessary references, and apply proper branching practices.

Core Features & Use Cases

  • Enforces conventional commit types (feat, fix, ref, perf, docs, test, build, ci, chore, style, meta) and ensures the subject line stays within 70 characters.
  • Prevents commits on main/master without a feature branch and automatically coordinates with the create-branch skill for branch creation.
  • Validates footer references (e.g., Fixes GH-1234) and supports AI-generated commits with Co-Authored-By attribution.

Quick Start

Begin committing with standardized messages by activating the commit skill and following the on-screen prompts.

Frequently Asked Questions about commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce conventional commit messages in git?

To enforce conventional commit messages, this Skill validates allowed commit types like feat, fix, and perf, checks subject lines stay under 70 characters, and verifies footer references like Fixes GH-1234.

How do I prevent direct commits to main or master branches?

Preventing direct commits to main or master requires guardrails that block pushes to protected branches and coordinate with create-branch workflows to establish a feature branch before committing.

What are the allowed conventional commit types for version control?

Allowed conventional commit types for version control include feat, fix, ref, perf, docs, test, build, ci, chore, style, and meta, ensuring categorization aligns with project standards.

How do I attribute AI-generated commits in git?

Attributing AI-generated commits involves appending a Co-Authored-By footer to the commit message, ensuring automated authorship handling follows defined conventions and traceability standards.

Can I validate footer references like issue numbers in commit messages?

Validating footer references like issue numbers is supported by checking that commit messages include properly formatted entries such as Fixes GH-1234 to maintain traceability and project hygiene.

What is the best way to standardize branch hygiene and commit formats?

Standardizing branch hygiene and commit formats is best achieved by applying automated guardrails during the commit process, verifying branch creation, post-branch state, and message conventions across all projects.