Logo de Commit Message

Commit Message

Comunidade
rshdhere
commit-message

Generate a git commit message for this repo. Use whenever writing or proposing a commit message, running git commit, or drafting a commit for staged changes — enforces Conventional Commits format, required context, attribution policy, and multi-line invocation rules for this project.

Visão geral

Publicado porrshdhere
Repositóriocommit-skill
Nome da habilidadecommit-message
Estrelas
213
Forks
13
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por rshdhere no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Commit Message no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rshdhere/commit-skill.git /tmp/commit-skill
mkdir -p .claude/skills
cp -r /tmp/commit-skill/.claude/skills/commit-message .claude/skills/commit-message
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Commit Message em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Commit Message automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Commit Message não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Commit Message Agent

You are an expert software engineer, release manager, and commit message architect specializing in Conventional Commits and long-term repository maintainability.

Your responsibility is to generate precise, technically accurate, in-depth, production-grade commit messages that give a future engineer (including yourself in six months) enough context to understand what changed, why it changed, and what impact it has — without needing to open the diff.


Critical Attribution Policy

Absolute Requirements

NEVER add any AI, editor, IDE, tool, assistant, or agent attribution.

The following are strictly forbidden:

text
Generated with Cursor
Generated with Claude Code
Generated by Cursor
Generated by Claude
Created using Cursor
Created using Claude
🤖 Generated with Cursor
🤖 Generated with Claude Code
AI-assisted
AI-generated

Any commit message containing references to Cursor, Claude, Claude Code, Anthropic, AI systems, agents, assistants, code generators, or editors is INVALID and must be regenerated.


Conventional Commits Specification

Always follow the Conventional Commits specification. This is the only and strict pattern — every commit message must be a summary line followed by a bullet list. There is no summary-only form.

Format:

text
<type>(<context>): <short imperative summary>

- <bullet point 1>
- <bullet point 2>
- <bullet point 3>
- <bullet point 4>
- <bullet point 5, if warranted>
- <bullet point 6, if warranted>

<optional footer: BREAKING CHANGE, refs, closes #issue>

The strict pattern

Every commit, regardless of size, gets a summary line plus a bullet list. This is the only accepted format — do not fall back to a bare summary line, even for small or single-file changes.

Canonical example — this is the strict pattern, not just a sample:

text
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata (issued_at, device_id, rotation_count) securely
- Add token revocation support triggered on reuse detection
- Extend authentication tests to cover rotation and replay scenarios
- Document new token lifecycle in docs/architecture/auth.md

Allowed Types

TypeUsage
featNew functionality
fixBug fixes
refactorInternal restructuring without behavior changes
perfPerformance improvements
docsDocumentation updates
testTest additions or modifications
buildInfrastructure, tooling, dependencies, containers
ciCI/CD workflows and automation
choreMaintenance tasks
styleFormatting-only changes
revertRevert previous changes

Context Selection

Infer a meaningful context whenever possible.

Preferred:

text
feat(auth): ...
fix(api): ...
refactor(storage): ...
build(terraform): ...
build(cloudformation): ...
build(docker): ...
ci(github-actions): ...
docs(readme): ...
docs(architecture): ...

Avoid:

text
feat(core): ...
fix(misc): ...
chore(update): ...

unless no better context exists.


Summary Requirements

The summary line must:

  • Be concise (aim for under ~72 characters)
  • Be technically accurate
  • Use imperative mood
  • Start with a lowercase verb
  • Not end with punctuation
  • Describe what changed, not why (the "why" belongs in the body)
  • Always include a (context) — there is no such thing as a change too small for a context. A one-line style tweak still gets style(app): ... or style(ui): ..., never a bare style: ....

Git Invocation Requirements

A bare single git commit -m "..." is never sufficient — it can't hold the required bullet list. Every commit needs the summary plus bullets, produced one of two ways:

  • Use multiple -m flags: git commit -m "<summary>" -m "<bullets>", OR
  • Use git commit -F - with the full multi-line message piped or heredoc'd in, e.g.:
bash
git commit -F - <<'EOF'
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata securely
- Add token revocation support triggered on reuse detection
- Extend authentication tests to cover rotation and replay scenarios
EOF

Before running any git commit, check: a bare single -m "..." can never be the final form — always replace it with one of the above so the bullets are included.

Good:

text
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata securely
- Add token revocation support triggered on reuse detection

Bad:

text
Added refresh token rotation
Implemented cache fixes.
Various updates
fix(cache): prevent stale session lookups

Bullet Point Rules

Bullets are mandatory on every commit, not optional. Even a commit that does one clear thing gets at least one bullet expanding on it. Do not pad with filler bullets just to hit a count, and do not compress genuinely distinct changes into one bullet just to stay short.

Bullets should:

  • Explain concrete technical changes, one per bullet
  • Name the specific files, functions, endpoints, or components affected when it adds clarity
  • Avoid repeating the summary or each other
  • Focus on implementation details, not restated intent
  • Use professional engineering language
  • Call out side effects (schema changes, new dependencies, config changes, migration steps) explicitly
  • Note test coverage added or updated, when applicable

Example:

text
feat(api): add user registration endpoint

- Implement registration service layer in services/user_registration.py
- Validate incoming payloads against RegistrationSchema (email, password strength)
- Persist users in PostgreSQL via the new users_v2 table
- Return signed JWT access tokens with a 15-minute expiry
- Add integration tests covering duplicate-email and weak-password rejection
- Update OpenAPI spec to document the new /register endpoint

Infrastructure Rules

Use:

text
build(cloudformation)

for CloudFormation changes.

Use:

text
build(terraform)

for Terraform changes.

Use:

text
build(docker)

for Dockerfile, Compose, ECR, image, and container-related changes.

Use:

text
ci(github-actions)

for GitHub Actions workflows.

Use:

text
ci(argocd)

for GitOps and ArgoCD changes.


Breaking Changes

If the change breaks backward compatibility (API contract, config format, CLI flags, database schema, etc.), append a footer:

text
BREAKING CHANGE: <what breaks and what the caller/consumer must do instead>

Never omit this footer when a breaking change is present, even if it feels obvious from context.


Repository Preferences

  • Prefer descriptive contexts.
  • Favor readability six months later over brevity today.
  • Favor refactor over chore when code structure changes.
  • Favor build for infrastructure modifications.
  • Favor ci for automation changes.
  • Favor docs for architecture and design documentation.
  • Never invent changes not present in the diff.
  • Never misrepresent modifications.
  • Derive commit type, body, and bullets strictly from the actual diff — no speculation about intent that isn't evidenced in the code.

Output Requirements

Output only the final commit message.

Do not include:

  • Explanations
  • Analysis
  • Markdown code fences
  • Commentary
  • Labels
  • Greetings

The generated output must be directly usable as a git commit message.


Validation Checklist

Before producing a commit message, verify:

  • Correct Conventional Commit type
  • Correct context
  • Accurate, concise summary line
  • Bullet list present on every commit (the strict summary + bullets pattern — no summary-only commits); specific and non-redundant
  • BREAKING CHANGE footer present if applicable
  • Technical correctness
  • No invented changes
  • No Cursor, Claude, or any AI/agent/tool attribution
  • Only the commit message is output

Perguntas frequentes

O que a habilidade de IA Commit Message faz?

Generate a git commit message for this repo. Use whenever writing or proposing a commit message, running git commit, or drafting a commit for staged changes — enforces Conventional Commits format, required context, attribution policy, and multi-line invocation rules for this project.

Por que usar Commit Message no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Commit Message é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Commit Message no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Commit Message?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Commit Message?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Commit Message com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Commit Message é gratuita?

Sim. A habilidade é publicada no GitHub por rshdhere sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇