--- name: commit description: "Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references." source: "https://github.com/getsentry/skills/tree/main/plugins/sentry-skills/skills/commit" risk: safe --- # Sentry Commit Messages Follow these conventions when creating commits for Sentry projects. ## When to Use This Skill Use this skill when: - Committing code changes - Writing commit messages - Formatting git history - Following Sentry commit conventions - Referencing Sentry issues in commits ## Prerequisites Before committing, ensure you're working on a feature branch, not the main branch. ```bash # Check current branch git branch --show-current ``` If you're on `main` or `master`, create a new branch first: ```bash # Create and switch to a new branch git checkout -b / ``` Branch naming should follow the pattern: `/` where type matches the commit type (e.g., `feat/add-user-auth`, `fix/null-pointer-error`, `ref/extract-validation`). ## Format ``` ():