Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub skymanbp/cc-enforcerRules your coding agent physically cannot ignore. A Claude Code plugin (and an LLM-agnostic rule pack) that intercepts the agent's own tool calls instead of asking it nicely: PreToolUse denies an edit that skips read-before-edit, plants an unjustified suppression marker, hardcodes a secret or a machine-specific path, or piles rolling patches onto one file; a Bash gate refuses --no-verify, force-push and similar bypasses; and a nine-layer Stop gate refuses to let a completion claim end the turn without evidence, a convergence self-quiz, a fidelity check against the original request and a one-line TL;DR. Twelve rules (ten hook-backed), per-project Imperial Edict regexes you define yourself, a repo-wide sync gate, and CI drift gates that derive every documented number from the code. Standard library only; every guard fails open, so a bug in the discipline can never brick your agent. Release history: CHANGELOG.md.
Rules your coding agent physically cannot ignore. A Claude Code plugin — and an LLM-agnostic rule pack — that stops reactive patching, guessed citations, surface-level "fixes" and premature "done" claims by intercepting the agent's own tool calls, not by asking it nicely.
Every "be rigorous" instruction you put in a prompt shares one flaw: the model decides whether to follow it. Under pressure — a long session, a compacted context, a failing test at 2am — it decides not to, and tells you it did.
cc-enforcer moves the important half of that contract out of the prompt and
into the harness. Claude Code hooks run before each tool call and before
each reply is allowed to end. A violation returns a real deny / block
verdict, so the agent cannot reason, apologise, or "just this once" its way past
it.
Twelve rules. Ten of them backed by a hook. Zero dependencies, standard library only, and every guard fails open — a bug in the discipline can never brick your agent.
LLM coding agents (Claude Code, Cursor, Copilot, Cline, Aider…) fail in predictable, nameable ways. Each row is a behaviour this plugin was built to make impossible rather than discouraged:
| Lazy pattern | What it looks like in practice | Answer |
|---|---|---|
| Reactive patching | Sees a bug, wraps it in try/except, declares done. | rule 03 + 09, PreToolUse DENY |
| Guessed citations | Cites files, line numbers or APIs that do not exist. | rule 01 + 05, /cc-enforcer:verify (on demand); Stop layer (g) catches a false edit claim |
| Keyword-search-only | Greps once, edits, never reads the surrounding architecture. | rule 04 + 08, PreToolUse DENY |
| Memory dependence | Acts on stale recollection instead of re-reading the file. | rule 04 + 08, read-before-edit gate (the first edit of each file in a session) |
| Root-cause bypass | sleep for races, --no-verify for hooks, swallowed exceptions. | rule 03, PreToolUse(Bash) DENY |
| Half-finished work | Stops at "should work", leaves TODOs, skips the whole flow. | rule 07, Stop layer (d) |
| Premature done-claim | "Fixed" without re-running the failing case or comparing evidence. | rule 06, Stop layers (a)/(c) |
| Stale references | Changes a symbol; leaves its docs, tests and translations behind. | rule 12, Stop layer (i) |
Effect goal: an agent that either does the disciplined thing or visibly fails to — never one that quietly skips a step and reports success.
The reasoning contract, as plain Markdown in rules/. Ten of the
twelve are backed by a hook; rules 02 and 05 are text-level discipline.
7-day visitors to each marketplace page
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations