con un clic
setup-pre-commit
Set up Husky, lint-staged, Prettier, typecheck, and test pre-commit.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Set up Husky, lint-staged, Prettier, typecheck, and test pre-commit.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Generate Codex hooks.json and AGENTS.md from Claude Code hooks. Maps supported hooks directly, including Edit|Write apply_patch aliases, and keeps Stop batch checks only as fallback. Use when setting up Codex compatibility or dual-agent support.
Question changed code as liability and remove unjustified surface area. Use before commit, push, PR, merge, or when a change feels overbuilt or low-value.
Reviews diffs for over-engineering only. Use when reviewing, desloping, or asking what to delete, inline, shrink, or replace with stdlib/native code.
Resilience Review checks resilience. Use when edge cases, errors, fallback, async/data, state, or polish matter.
Reviews a diff since a fixed point across Standards, Spec, and risk gates. Use when reviewing a branch, PR, WIP, or "review since X".
parallel executor. Use /swarm.
| name | setup-pre-commit |
| description | Set up Husky, lint-staged, Prettier, typecheck, and test pre-commit. |
Sets up Husky + lint-staged + Prettier + optional type/test scripts.
husky lint-staged prettier.husky init using detected package runner)..husky/pre-commit:<pm> lint-staged
<pm> run typecheck # only if script exists
<pm> run test # only if script exists
.lintstagedrc:{"*":"prettier --ignore-unknown --write"}
.prettierrc only if no Prettier config exists.prepare script present, lint-staged works.