pre-push-verification
Execute lint, test, and build checks before pushing code
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute lint, test, and build checks before pushing code
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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