Saltar al contenido
Skillpedia
Programación general20 mil · #10372

commit-dis

Qué hace

Esta skill hace que la IA haga commit solo de los archivos que cambió durante la conversación actual, en la rama en la que ya estás. Es para quien quiere una forma rápida de guardar su trabajo en Git.

Cuándo usarla

  • ✓Cuando dices haz commit de esto, guarda mi trabajo o haz commit de lo que hicimos en este chat.
  • ✓Cuando quieres que solo se incluyan en el commit los archivos de este chat, sin tocar cambios no relacionados.
  • ✓Cuando quieres que el commit quede en tu rama actual, sin subirlo ni abrir una pull request.

Link de la skill

https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Haz commit de los cambios que acabamos de hacer en este chat en mi rama actual, y deja lo demás como está.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA comprueba la rama actual y la lista de archivos cambiados, añade solo los archivos de esta sesión por su nombre y crea un único commit. No sube nada ni abre una pull request.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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).
Preguntas frecuentes

¿Creará una rama nueva?

No. Hace el commit en la rama que ya está activa, aunque sea main.

¿Qué pasa si un archivo cambiado no es de este chat?

La skill indica que se deje sin preparar, y que se te pregunte cuando no esté claro si el archivo pertenece a esta sesión.

¿Sube mi commit?

No. La skill se detiene después del commit, salvo que le pidas subirlo o abrir una pull request.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
20 mil
Posición en el ranking
#10372
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas