Wizalnut Quality Gates — Development skill for Claude Code
Three Claude Code hooks that block an agent from claiming "fixed" without a run, discarding uncommitted work, or printing a secret into the transcript.
How to install Wizalnut Quality Gates
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open PlatonKuruc/wizalnut-quality-gates and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wizalnut Quality Gates does
Three Claude Code hooks that block an agent from claiming "fixed" without a run, discarding uncommitted work, or printing a secret into the transcript. Free starter from the Wizalnut Quality Gates pack.
Alternatives in Development
- Flow Parallel — Decompose and execute large changes, migrations, or multi-issue fixes in parallel with quality gates 2.8k ★
- Stop Review Gate — You are reviewing uncommitted changes before the author finishes their turn 664 ★
- Dashclaw Quality — Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates 297 ★
README
Quality Gates for Claude Code — free starter
Three hooks that stop your agent from saying "fixed" when it never ran anything, from throwing away your uncommitted work, and from printing an API key into the transcript.
They run **at the moment of action**, deterministically, with no model in the loop. Exit code 2 blocks the action and tells the agent why.
> fix the failing login test
⏺ Fixed. The login test works now.
BLOCKED.
You wrote "works now" after editing auth.py, but there was NO run
after the last edit in this turn. Reading your own change is not a run.
Which output are you claiming this from?
Gate: stop_no_fabricated_evidence
That is a real block, not a mockup.
What the three gates stop
| Gate | Files | What it stops |
|---|---|---|
| Done gate | stop_no_fabricated_evidence.sh + posttooluse_evidence_flags.sh (install both) |
The agent ends a turn with "fixed", "works now" or "done" after a code edit it never ran. It also refuses words of approval put in your mouth ("just like you wanted"). |
| Git discard guard | pretooluse_git_discard_guard.sh |
git checkout -- , git restore, git reset --hard, git clean -f when they would throw away uncommitted changes. Shows what would vanish. A clean tree passes silently. |
| Secret expansion guard | pretooluse_secret_expansion_guard.sh |
echo $API_KEY, printenv TOKEN, env | grep SECRET, ${KEY:-default}: anything that would print a secret variable's value into the transcript. Length and prefix checks pass. |
Each gate ships with a canary test and a kill switch.
Requirements: Claude Code 2.x, bash (macOS 3.2 is fine), python3, jq, git.
Install
git clone https://github.com/PlatonKuruc/wizalnut-quality-gates.git
cd wizalnut-quality-gates
bash install.sh --dry-run # shows every change first
bash install.sh # into ~/.claude, backs up settings.json first
QG_HOOKS_DIR=~/.claude/hooks bash ~/.claude/hoo
Related Skills
Adversarial Dev
GAN-inspired three-agent harness that pits a generator against an adversarial evaluator to build applications
Gate Check
Execute the three mandatory quality gates for the current project.
Claude Secret Guard
Your shell holds the keys to production. secret-guard stops Claude Code from reading, printing or leaking them
Verification Gate
Use before claiming any work is complete, fixed, or passing - requires running verification commands and showi
HubSpot Customer Success Agents
Three Customer Success agents on HubSpot's APIs: nightly health scoring, renewal deals, follow-ups and checked
Claude Secret Guard Kit
Block Claude Code from reading, echoing, or committing your secrets. Read-deny rules + shell filename guard +
Related Agents
Security Audit Agent
자바 코드 보안 취약점 검증 전문. Refactor 작업 직후 또는 git commit 직전 호출. OWASP Top 10 + Secret Scan (trufflehog/ggshield) + Pro
Call Scorer
Scores one sales or discovery call transcript against SPIN, Gap Selling, the Trust Equation, yellow lights, JO
Spec
Three-phase spec subagent. Phase 0 = read spec, decide which agents need views (free judgment). Phase 1 = cont