pre-push-verification
Execute lint, test, and build checks before pushing code
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ú
Execute lint, test, and build checks before pushing code
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
| name | Pre-push Verification |
| description | Execute lint, test, and build checks before pushing code |
| instructions | This skill runs the pre-push verification command to ensure code quality. |
This skill executes all mandatory checks before pushing code to ensure code quality and prevent CI failures.
Runs the following checks in sequence:
Simply run:
npm run pre-push
Or have Claude Code execute this skill when preparing to push code.
npm run lint:check)npm run test)npm run build)npm run pre-push to verify changesgit pushThe command displays:
The tool will stop at the first failure. Follow these steps:
Lint failures:
npm run lint # Auto-fix most issues
npm run lint:check # Verify fixes
Test failures:
npm run test # Review error messages
# Fix failing tests
npm run test # Re-run to confirm
Build failures:
npm run build # Check TypeScript errors
# Fix all errors in source code
npm run build # Re-run to verify
This skill is also enforced by a Git pre-push hook at .git/hooks/pre-push.
Even if you forget to run this skill before pushing, the hook will:
Note: The hook can be bypassed with git push --no-verify, but this is not recommended as it may cause CI failures.
/CLAUDE.md for full development workflowbiome.jsonvitest.config.tsnext.config.ts