convez.ai
SkillAutomaçãoIntermediário
su-213

Commit Helper

su-213/commit-helper

Gera commits semânticos automaticamente a partir de diffs git

Ver no GitHub
InicialPluginScore · de 0 a 100

Skill do Claude Code que gera mensagens de commit convencionais automaticamente a partir de diffs do git. Analisa mudanças staged, detecta tipo de commit (feat, fix, refactor, etc.), identifica breaking changes e apresenta 2-3 opções formatadas para escolher antes de executar o commit.

Instalação

$npx convez-ai su-213/commit-helper

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
1
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Padronizar mensagens de commit em equipes
  • Acelerar workflow de versionamento semântico
  • Detectar breaking changes automaticamente
  • Manter histórico git legível e consistente

Veredito

Ferramenta prática que reduz fricção no fluxo de git ao automatizar análise de diffs e sugerir commits semânticos. Ideal para times que adotam conventional commits, com instalação simples e integração direta no Claude Code.

README

A tradução para o português deste README ainda está na fila.

commit-helper

A Claude Code skill that generates conventional commit messages from git diffs.

What it does

When you ask Claude Code to write a commit message, commit-helper automatically:

  1. Reads git diff --cached to see what's staged
  2. Analyzes the changes to determine commit type (feat, fix, refactor, etc.) and scope
  3. Detects breaking changes automatically
  4. Presents 2–3 formatted options for you to choose from
  5. Executes git commit with your selection

Installation

One-liner

# macOS / Linux
curl -sL https://raw.githubusercontent.com/<your-username>/commit-helper/main/install.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/<your-username>/commit-helper/main/install.ps1 | iex

Manual

Copy SKILL.md to Claude Code's skills directory:

# macOS / Linux
mkdir -p ~/.claude/skills/commit-helper
cp SKILL.md ~/.claude/skills/commit-helper/

# Windows
mkdir %USERPROFILE%\.claude\skills\commit-helper
copy SKILL.md %USERPROFILE%\.claude\skills\commit-helper\

Project-level (recommended for teams)

Place it in your project's .claude/skills/ directory and commit it to the repo:

mkdir -p .claude/skills/commit-helper
cp SKILL.md .claude/skills/commit-helper/
git add .claude/skills/commit-helper/SKILL.md

Usage

Just ask Claude Code to write a commit:

> git add .
> write a commit message

Or be more specific:

> help me write a commit for these changes
> create a commit message for what I just changed
> git commit

Claude will analyze your staged changes and present options like:

📂 3 files changed (src/api.js, src/db.js, package.json)
🔍 feat + fix + chore

Recommendations:
 1️⃣ feat(api): add user profile endpoint
 2️⃣ feat: add user profile endpoint and fix DB connection leak
 3️⃣ [detailed]

Pick a number and Claude commits it.

Commit types

TypeWhen to use
featA new feature
fixA bug fix
refactorCode change that neither fixes a bug nor adds a feature
perfPerformance improvement
styleCode formatting (not CSS)
docsDocumentation only
choreBuild/config/tooling changes
ciCI configuration
testAdding or fixing tests
revertReverting a previous commit
BREAKING CHANGEAPI incompatibility (footer)

License

MIT

Ver o original no GitHub

Bom para

Relacionados