Saltar al contenido
Skillpedia
Programación general8,2 mil · #12545

create-commit

Qué hace

Esta habilidad ayuda a tu IA a guardar trabajo terminado en Git como un commit limpio y pequeño. Es para desarrolladores que quieren commits cuidadosos que incluyan solo los archivos previstos.

Cuándo usarla

  • ✓Cuando pides a tu IA que haga commit de un trabajo terminado.
  • ✓Cuando la carpeta de trabajo tiene muchos cambios y solo quieres confirmar algunos.
  • ✓Cuando quieres un mensaje de commit que siga el estilo Conventional Commits.

Link de la skill

https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/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/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/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 solo del capítulo que terminé hoy con un mensaje claro, y no lo subas.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La habilidad revisa los cambios y los mensajes recientes, elige el conjunto más pequeño y razonable de archivos, ejecuta las comprobaciones pertinentes y crea el commit. No sube cambios, no modifica el último commit ni cambia de rama, salvo que lo pidas.

Contenido técnico (SKILL.md original)

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

¿Subirá mi commit al servidor?

No. La habilidad no sube nada a menos que lo pidas explícitamente.

¿Puede hacer commit de todo de una vez?

No. La habilidad evita añadir todos los archivos a ciegas y solo prepara las rutas previstas.

¿Escribe el mensaje por mí?

Sí. Propone un mensaje en estilo Conventional Commits, o reutiliza uno que tú le des.

Detalles

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

Popularidad

Estrellas en GitHub
8,2 mil
Posición en el ranking
#12545
Licencia
MIT
Actualizada
8/8/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas