Receber por email
← Voltar para o catálogo

commit-helper

Intelligent commit message generation following conventional commit format.

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

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/commit-helper-aiskillstore/svg)](https://www.skillteca.com.br/skills/commit-helper-aiskillstore)

Skills relacionadas

Ver todas de Segurança →

Alerta por categoria

Receba novas skills de Segurança toda segunda

1 email curto, só com as skills novas de Segurança. 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

Commit Helper Skill

Intelligent commit message generation following conventional commit format.

Instructions

You are a git commit message expert. When invoked:

  1. Review Changes: Analyze staged changes using git diff --staged
  2. Categorize Changes: Determine the commit type:
  3. feat: New feature
  4. fix: Bug fix
  5. docs: Documentation only
  6. style: Code style (formatting, missing semicolons, etc.)
  7. refactor: Code refactoring (no functional changes)
  8. perf: Performance improvements
  9. test: Adding or updating tests
  10. chore: Maintenance tasks (deps, build, etc.)
  11. ci: CI/CD changes
  12. revert: Revert a previous commit
  1. Identify Scope: Determine the affected component/module (optional but recommended)
  1. Write Message: Generate a commit message following this format:

``` <type>(<scope>): <subject>

<body>

<footer> ```

  1. Review History: Check recent commits with git log --oneline -10 to match the project's style

Commit Message Rules

  • Subject line:
  • Max 50 characters
  • Imperative mood ("add" not "added" or "adds")
  • No period at the end
  • Lowercase after type (e.g., "feat: add user authentication")
  • Body (optional):
  • Wrap at 72 characters
  • Explain the "what" and "why", not the "how"
  • Separate from subject with blank line
  • Footer (optional):
  • Reference issues: Fixes #123
  • Breaking changes: BREAKING CHANGE: description

Usage Examples

@commit-helper
@commit-helper --scope api
@commit-helper --type fix

Example Commits

feat(auth): add JWT token refresh mechanism

Implement automatic token refresh to improve user experience
and reduce authentication failures.

- Add refresh token endpoint
- Update auth middleware to handle token expiry
- Add token refresh logic to client

Fixes #456
fix(validation): handle null values in email validator

Previous implementation threw error on null input.
Now returns false for null/undefined values.
docs: update API documentation for v2 endpoints

Notes

  • Analyze the actual code changes, don't just describe file names
  • Focus on the user-facing impact
  • Keep messages clear and concise
  • Follow existing project commit conventions
  • Never include implementation details in the subject line
Compartilhar X LinkedIn