CommunityRédaction et éditiongithub.com

BOUAHMEDimane/cursor-commit-message-helper

Cursor Agent Skill for writing conventional commit messages

Qu'est-ce que cursor-commit-message-helper ?

cursor-commit-message-helper is a Cursor agent skill that cursor Agent Skill for writing conventional commit messages.

Compatible avec~Claude Code~Codex CLI✓Cursor
npx skills add BOUAHMEDimane/cursor-commit-message-helper

Installed? Explore more Rédaction et édition skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Commit Message Helper

Format

Use Conventional Commits:

():

[optional body explaining WHY, not WHAT]

Types

TypeUsage
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no logic change
refactorCode change without feat/fix
testAdding or updating tests
choreMaintenance (deps, config)

Rules

  1. Subject line: max 72 characters, imperative mood ("add" not "added")
  2. Scope is optional but recommended (e.g. auth, api, ui)
  3. Body explains why, not what (the diff shows what)
  4. One logical change per commit

Workflow

  1. Run git diff --staged to see staged changes
  2. Identify the primary type and scope
  3. Draft the message
  4. Verify: subject ≤ 72 chars, imperative mood, explains why if non-obvious

Examples

Feature: feat(auth): add JWT token refresh endpoint

Prevents users from being logged out during long sessions

Bug fix: fix(reports): correct date formatting in timezone conversion

Timestamps were displayed in local time instead of UTC

Documentation: docs: add setup instructions to README

Skills associés