commit
Skill3 starsChanged 5 days agoMITView on GitHub
Crea commits atómicos y bien redactados desde un agente: revisa el diff real, elige qué stagear, sigue el estilo del repositorio y respeta los hooks. Úsala cuando la persona pide commitear, dice "haz un commit" o entrega un mensaje como guía.
- Reads credentials
- Deletes or force-pushes
186 other projects use a version of this.
Adopted by
Most recently taken up by
- swjybky/deepwritetheir own version, first seen Nov 30, 2026
- Kindness-Kismet/Stellibertytheir own version, first seen Nov 29, 2026
- DGouron/review-flowtheir own version, first seen Nov 29, 2026
- cyberkaida/reverse-engineering-assistanttheir own version, first seen Nov 29, 2026
- elirantutia/vibeyardtheir own version, first seen Nov 29, 2026
- thoughtbot/the-processtheir own version, first seen Nov 29, 2026
Used with
Projects with it also use act-on-feedback, generate-run-commands and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 4 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 4 projects that use this
MindgamesSkillbranch
Use when a user asks to create a new local git branch and start issue work (for example, "create branch" or "start working on issue XYZ"). Use this for issue-based branch naming in the `type/scope-short-description` pattern and for always syncing local `main` from `origin/main` before creating the new branch, creating the local tracking `main` branch first when needed.
Also in 9 projects that use this
decocmsSkilladd-mcp-tools
Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration
Also in 3 projects that use this
thoughtbotSkillimplement-with-tdd
Implement a SPEC, plan, or feature outside-in, with TDD.
Also in 3 projects that use this
thoughtbotSkillmulti-lens-review
Review a change for defects, then against its spec, its codebase's conventions, the domains trying to emerge from it, and whatever still depends on what it replaced.
Also in 3 projects that use this
- +1 more from thoughtbot
Other versions186 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 186
- microsoft/vscode★ 196ksame name
- TryGhost/Ghost★ 56ksame name
- ShareX/ShareX★ 41ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 27ksame name
- ccusage/ccusage★ 20ksame name
- ryoppippi/ccusage★ 20ksame name
- windmill-labs/windmill★ 19ksame name
- EverMind-AI/EverMemOS★ 14ksame name
- EverMind-AI/EverOS★ 14ksame name
176 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- adr-distillSkill
- adr-initSkill
- adr-newSkill
- adr-reviewSkill
- adrSkill
- best-promptingSkill
- code-principlesSkill
- create-skillsSkill
- fixSkill
- microcopySkill
- prSkill
- research-firstSkill
- simple-writingSkill
- test-auditSkill
- writingSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 14
No uses esta skill para push, PR, rebase, amend de commits ya empujados ni reescritura de historia.
- Distinctive: line 30
No dividas cambios que por separado no compilan o no pasan los tests.
- Distinctive: line 36
No uses git add -A, git add .
- Distinctive: line 43
No agregues atribución de agente ni coautoría, salvo que el repositorio o la persona lo pidan.
- Very specific: line 50
Secretos y ruido: No commitees .env, credenciales, tokens, dumps, artefactos de build, logs ni archivos temporales del agente.
- Distinctive: line 51
Comandos destructivos: No uses git reset --hard, git checkout ., git clean -fd ni git stash drop para "ordenar" antes de commitear.
- Very specific: line 52
Historia publicada: No uses --amend ni force push sobre commits que ya están en el remoto, salvo que la persona lo pida explícitamente.
- Distinctive: line 53
Mensaje inflado: No describas intención, impacto ni motivación que el diff no respalde.
“Common” is measured: kept by at least 6 in 10 of the 165 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commit
Esta guía ayuda a un agente a crear commits que otra persona puede leer, revisar y revertir sin sorpresas.
When to use
- La persona pide commitear los cambios en curso.
- La persona entrega un mensaje o contexto como base.
- No uses esta skill para push, PR, rebase, amend de commits ya empujados ni reescritura de historia.
Precondiciones
- La persona pidió commitear. No commitees por iniciativa propia.
- La rama no es la principal. Si
git branch --show-currentdevuelvemainomaster, crea una rama antes de commitear.
Procedure
- Lee el estado real, no la memoria de la sesión
- Usa
git statuspara ver los archivos modificados, staged y sin trackear. - Usa
git diffygit diff --stagedpara revisar el contenido, no solo los nombres. - Usa
git log --oneline -10para copiar el formato, el idioma y las convenciones del repositorio.
- Usa
- Decide el alcance y divide si hace falta
- Haz un commit por unidad lógica: los cambios que revertirías juntos van en el mismo commit.
- Divide cuando el árbol mezcla temas: refactor y feature, formateo masivo y lógica, backend y frontend sin relación, o dependencias nuevas y su uso.
- No dividas cambios que por separado no compilan o no pasan los tests. Si dudas entre dos commits acoplados, deja uno.
- Para dividir, repite el ciclo stagear → commitear por tema. Sigue el orden de dependencia: primero lo que el resto necesita (renombres, utilidades, migraciones), después lo que lo usa.
- Si un archivo tiene cambios de dos temas, usa
git add -ppara stagear solo los hunks de un tema. - Deja fuera lo que no pertenece a ningún commit: experimentos, prints de depuración, archivos de scratch, configuración local.
- Stagea explícitamente
- Usa
git add <ruta>archivo por archivo o por directorio acotado. - No uses
git add -A,git add .nigit commit -a. Estos comandos agregan archivos que nadie revisó. - Antes de commitear, relee
git diff --staged. Solo ese contenido queda en la historia.
- Usa
- Escribe el mensaje
- Sigue el formato del repositorio. Si el repositorio usa conventional commits, usa
type(scope): descripción, con los tiposfeat,fix,refactor,test,docs,styleychore. - Escribe la primera línea con menos de 72 caracteres, en imperativo y en el idioma que ya usa el repositorio.
- En el cuerpo, explica el porqué y las decisiones no obvias. El diff ya muestra el qué.
- Usa viñetas solo si hay varios cambios significativos.
- No agregues atribución de agente ni coautoría, salvo que el repositorio o la persona lo pidan.
- Sigue el formato del repositorio. Si el repositorio usa conventional commits, usa
- Commitea
- Ejecuta
git commitcon el mensaje que escribiste.
- Ejecuta
Pitfalls
- Hooks. Si un hook falla, git no creó el commit. Corrige la causa. Vuelve a stagear los archivos que el hook modificó y commitea de nuevo. Nunca uses
--no-verify. - Secretos y ruido. No commitees
.env, credenciales, tokens, dumps, artefactos de build, logs ni archivos temporales del agente. Si dudas, revisa si el archivo debe estar en.gitignore. - Comandos destructivos. No uses
git reset --hard,git checkout .,git clean -fdnigit stash droppara "ordenar" antes de commitear. Estos comandos borran trabajo que no es tuyo. - Historia publicada. No uses
--amendni force push sobre commits que ya están en el remoto, salvo que la persona lo pida explícitamente. - Mensaje inflado. No describas intención, impacto ni motivación que el diff no respalde.
- Reporte honesto. Si algo quedó sin commitear, si un test falla o si un hook cambió archivos, dilo en la respuesta.
Verification
git log -1 --statmuestra el commit con el mensaje esperado y solo los archivos previstos.git statusno muestra cambios que querías incluir en el commit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

