Pular para o conteúdo
Skillpedia
Código em geral8,2 mil · #12545

create-commit

O que ela faz

Esta skill ajuda sua IA a salvar trabalho concluído no Git como um commit limpo e pequeno. É para desenvolvedores que querem commits cuidadosos, com apenas os arquivos pretendidos.

Quando usar

  • ✓Quando você pede à sua IA para fazer commit de um trabalho já concluído.
  • ✓Quando a pasta de trabalho tem muitas alterações e você quer commitar só algumas.
  • ✓Quando você quer uma mensagem de commit que siga o estilo Conventional Commits.

Link da skill

https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Faça commit apenas do capítulo que terminei hoje, com uma mensagem clara, e não faça push.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill verifica as alterações e as mensagens recentes, seleciona o menor conjunto sensato de arquivos, executa as verificações relevantes e cria o commit. Ela não faz push, amend nem muda de branch, a menos que você peça.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Create Commit

Create small, reviewable commits that follow this repository's contribution rules. Do not push, amend, rebase, reset, or change branches unless the user explicitly asks.

Workflow

  1. Inspect git status --short, the staged and unstaged diffs, and recent commit messages.

  2. Determine the smallest coherent commit. Preserve unrelated user changes; never use git add -A or git add ..

  3. If the intended files or scope are unclear, ask the user before staging or committing.

  4. Stage only the chosen paths with git add <path>....

  5. Select a Conventional Commit message. Prefer a scoped type when useful:

    docs(scope): describe documentation change
    feat(scope): describe user-facing addition
    fix(scope): describe corrected behavior
    test(scope): describe test change
    chore(scope): describe maintenance work
    ci: describe workflow change
    

    Use a concise, lowercase imperative subject with no final period. Reuse an explicit user-provided message if it is suitable.

  6. Run the relevant validation commands from CONTRIBUTING.md when they are practical for the changed files. Report any pre-existing or environment-related failure; do not conceal it by weakening checks.

  7. Review the staged diff one final time, then create the commit with git commit -m "<message>".

  8. Confirm success with git status --short and git log -1 --oneline.

Safety rules

  • Do not commit secrets, generated output, local configuration, or unrelated files.
  • Do not modify existing commits, force-push, or push any branch as part of this skill.
  • Do not bypass hooks with --no-verify unless the user explicitly authorizes it after the failure is explained.
  • If validation fails because of the proposed change, fix it before committing when the user asked for a finished commit. If it is unrelated, report it clearly.
Perguntas frequentes

Ela envia meu commit para o servidor?

Não. A skill não faz push a menos que você peça explicitamente.

Ela pode commitar tudo de uma vez?

Não. A skill evita adicionar todos os arquivos às cegas e prepara apenas os caminhos pretendidos.

Ela escreve a mensagem para mim?

Sim. Ela propõe uma mensagem no estilo Conventional Commit, ou reaproveita uma que você fornecer.

Detalhes

Descrição original do autor

Create a safe, focused Git commit for this repository. Use when the user asks to commit completed work, prepare a commit, or choose a Conventional Commit message. Inspect the working tree, stage only intended files, validate relevant changes, and create the commit without pushing.

repo: DevCaress/guia-entrevistas-de-programacion

Popularidade

Estrelas no GitHub
8,2 mil
Posição no ranking
#12545
Licença
MIT
Atualizada em
08/08/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas