CommunityEscrita e Ediçãogithub.com

BOUAHMEDimane/cursor-commit-message-helper

Cursor Agent Skill for writing conventional commit messages

O que é cursor-commit-message-helper?

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

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

Installed? Explore more Escrita e Edição skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

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

Habilidades Relacionadas