Pular para o conteúdo
Skillpedia
Código em geral20 mil · #10372

commit-dis

O que ela faz

Esta skill faz a IA criar um commit apenas com os arquivos que ela alterou durante a conversa atual, na branch em que você já está. É para quem quer uma forma rápida de salvar o trabalho no Git.

Quando usar

  • ✓Quando você disser commit isto, salve meu trabalho ou faça commit do que fizemos neste chat.
  • ✓Quando quiser que apenas os arquivos deste chat sejam commitados, sem mexer em alterações não relacionadas.
  • ✓Quando quiser que o commit fique na sua branch atual, sem push nem pull request.

Link da skill

https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/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/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/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 das alterações que acabamos de fazer neste chat na minha branch atual e deixe o resto como está.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA verifica a branch atual e a lista de arquivos alterados, adiciona apenas os arquivos da sessão pelo nome e faz um único commit. Não faz push nem abre um pull request.

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

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

commit-dis — commit this session's work, here, now

Stage and commit the changes produced during this conversation onto the current branch. Nothing more. This is the quick "save what we just did" button.

THE RULES

  1. Stay on the current branch. Do NOT create, switch, or rename a branch. Commit wherever HEAD already points — even if that's main. Never run git checkout -b, git switch -c, or git branch.
  2. Only commit what this session changed. Stage the specific files you created or edited in this thread by path. Do NOT git add -A / git add . blindly — that risks sweeping in unrelated working-tree changes, untracked scratch files, or another task's edits. No overcommitting.
  3. No push, no PR. Stop after the commit unless the user explicitly asks to push or open a PR.
  4. One commit for the session's work unless the user asks otherwise.

Steps

  1. Confirm the branch and see what's changed:
    git rev-parse --abbrev-ref HEAD
    git status --short
    
  2. Identify the exact files this session touched. If anything in git status was NOT changed by this session, leave it unstaged. If it's ambiguous whether a dirty file belongs to this session, ask the user rather than guessing.
  3. Stage by explicit path (never -A/.):
    git add <file1> <file2> ...
    
  4. Commit with a clear message describing what this session did. End the message with the standard trailer:
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    
  5. Confirm:
    git log --oneline -1
    

Don't

  • Don't create or switch branches.
  • Don't git add -A, git add ., or git commit -a.
  • Don't push or open a PR.
  • Don't amend or rebase prior commits.
  • Don't stage files you didn't touch this session (build artifacts, other in-flight work, untracked scratch).
Perguntas frequentes

Ela cria uma nova branch?

Não. Ela faz o commit na branch que já está ativa, mesmo que seja a main.

E se um arquivo alterado não for deste chat?

A skill diz para deixá-lo sem stage e perguntar a você quando não estiver claro se o arquivo pertence a esta sessão.

Ela faz push do meu commit?

Não. A skill para depois do commit, a menos que você peça para fazer push ou abrir um pull request.

Detalhes

Descrição original do autor

Stage and commit ONLY the work done in this session, on the CURRENT branch — no new branch, no PR, no push. Load whenever the user says 'commit this', 'commit-dis', 'git add commit what we did', 'commit dis', 'save my work', or otherwise asks to commit the changes from the current thread. Enforces: stay on the already-checked-out branch, never overcommit unrelated files.

repo: kortix-ai/suna

Popularidade

Estrelas no GitHub
20 mil
Posição no ranking
#10372
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas