CommunityRedacción y edicióngithub.com

BOUAHMEDimane/cursor-commit-message-helper

Cursor Agent Skill for writing conventional commit messages

¿Qué es cursor-commit-message-helper?

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

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

Installed? Explore more Redacción y edición skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

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 relacionados