Receber por email
← Voltar para o catálogo

generate-commit-message

Generate a commit message for staged changes

10estrelas
Atualizado há 7 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add Flexonze/claude-init

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/generate-commit-message/svg)](https://www.skillteca.com.br/skills/generate-commit-message)
#ai

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Generate Commit Message

Analyze staged changes and generate a single-line commit message.

Instructions

  1. Check for staged changes
  2. Run git diff --cached to see what's staged
  3. If nothing is staged, check git status and suggest what to stage
  1. Check project conventions
  2. Run git log --oneline -10 to see recent commit style
  3. Match the existing format (conventional commits, prefixes, etc.)
  1. Generate a single-line commit message

Best Practices

  • 50 characters or less - keep it concise
  • Imperative mood - "Add feature" not "Added feature" or "Adds feature"
  • Capitalize the first letter
  • No period at the end
  • What and why, not how

If the project uses Conventional Commits, use the format:

type(scope): description

Types: feat, fix, docs, style, refactor, test, chore

Output

Print the commit message in a code block:

Add user authentication endpoint
Compartilhar X LinkedIn