From dstack
Pre-commit quality checklist — 5 questions that prevent shipping incomplete work
How this skill is triggered — by the user, by Claude, or both
Slash command
/dstack:quality-gatesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before EVERY commit, answer these 5 questions. If ANY answer is "no", STOP and finish the work.
Before EVERY commit, answer these 5 questions. If ANY answer is "no", STOP and finish the work.
Wrong password rejected? Unauthorized access returns 403? Invalid input handled? Tests that only check the happy path are incomplete.
Compilation is not verification. Run actual curl commands, check DB state, use Chrome DevTools. The binary must work, not just build.
Not a one-liner "DONE". Include: commit hashes, test counts, bugs found, DB state changes, deviations from plan.
A test that passes regardless of your change is decorative. Write tests that exercise the specific behavior you added or fixed.
Or because I want to show progress? Thoroughness > speed. Half-done work compounds into tech debt faster than you think.
dstack audit --pre-commit
Prints the checklist and asks you to confirm. In strict mode (future), blocks the commit if not confirmed.
AI-assisted development accumulates tech debt faster than human development because the feedback loop is shorter. Without quality gates, you ship code that compiles but doesn't work, has no negative tests, and has stale documentation.
This checklist was born from real incidents:
Implementation -> Unit tests -> Integration tests -> E2E tests -> Live verification -> Doc update -> THEN commit.
ALL of these. EVERY step. EVERY project. Thoroughness > speed. Always.
npx claudepluginhub dirmacs/dstack --plugin dstackPre-commit quality gate validating logic correctness, error handling, regressions, and completeness in code changes. Auto-fires before commit via cook or on large diffs.
Runs automated checks (build, test, lint) and compares completed work against original requirements before committing.
Validates code quality via tests, linting, security; auto-fixes issues; generates commits; multi-agent reviews; creates PRs. Use after features to ship confidently.