Pre Push Test

Use when the user wants to prevent broken code from being pushed, block git push when tests fail, run tests before push, set up push protection, or add a safety net against pushing untested code. Covers any request to gate pushes on test results — whether they mention "hook", "pre-push", or just describe wanting to stop bad code from reaching the remote. Also handles auto-fix/auto-repair of test failures before push. Trigger for: "block push if tests fail", "run tests before pushing", "protect branch from broken pushes", "stop pushing untested code", "catch failures before they reach remote", or any test-gated push workflow regardless of language (npm, pnpm, cargo, go, pytest, etc).

chienchuanw aa05ac5 2 files · 6.8 KB Updated

File contents

chienchuanw/chuan-skills/tree/main/plugins/git/skills/pre-push-test commit aa05ac5b5c

Frequently asked questions

npx skillmds@latest add chienchuanw/pre-push-test