Item detail

xwk-911/rulehook

xwk-911/rulehook is a MIT-licensed zero-dependency policy hook layer that turns natural-language rules like 'run tests before saying done' or 'never weaken tests to make them pass' into enforceable Claude Code, Codex, and Cursor lifecycle hooks.

Score8.3
Popularity6.6
Riskconditional
TierGold
Score breakdown
Usefulness8.0
Novelty8.0
Momentum7.0
Maturity6.6
Open-source/build8.4
Evidence7.2
Workflow potential9.8
Setup ease6.4

Popularity is tracked separately. Support, ads, sponsorships, and tips never affect these signals.

Why it matters

Useful for developers who want AI coding assistants to follow house rules consistently instead of relying on reminder prompts that get ignored the moment a session goes sideways.

Who should use it

teams sharing Claude Code, Codex, or Cursor workflowsdevelopers trying to stop test-gaming and sloppy handoff behaviorengineering managers defining repeatable AI coding policiesoperators who want portable hook behavior across multiple agent clients

Who should skip it

Skip if the source link, docs, or setup requirements do not match your workflow.

Risk explanation

It can block or redirect agent actions during active coding sessions, so teams should review the configured judge model, fail-open behavior, and hook scope before enabling it broadly.

Evidence links

Closest alternatives / related signals

agent-guardrailsclaude-codecodexcursorpolicy-hooks