By jakubciszak
Swiss Cheese model tooling for agentic coding — stack imperfect defense layers (deterministic pre-LLM guards, scripted gates, a deterministic review-lens floor, multi-lens agent review, docs/ADR discipline, human review) so their holes never align.
npx claudepluginhub jakubciszak/code-quality-confidenceNo single defense layer is perfect — stack enough imperfect ones that the holes never align. Deterministic guards scan the diff pre-LLM; detected PostToolUse checks catch broken edits immediately; commits are gated on the fast layers and on a multi-lens review receipt (warn, ask, or block) both inside Claude Code and, through a native pre-commit hook, in the terminal; the Stop gate runs full checks and requires a hook-confirmed receipt bound to the exact worktree. Native skills, layered config, commit, completion, guard, and review hooks, with an optional self-contained portable project runtime.
7-day visitors to each marketplace page
A Claude Code plugin marketplace built around the Swiss Cheese model of layered defense for agentic coding.
You don't need perfect defenses. You need enough imperfect ones that the holes never align.
Every quality gate — linting, tests, hooks, AI review, human review — is a slice of Swiss cheese: useful, but full of holes. A defect ships only when the holes in every slice line up. This marketplace distributes tooling that stacks those slices for you, cheaply.
defect ──▶ ░ instructions ░──▶ ░ lint ░──▶ ░ hooks ░──▶ ░ tests ░──▶ ░ agent review ░──▶ ░ human ░──▶ ✗ stopped
○ ○ ○ ○ ○ ○ ○ ○ ○
(holes) (holes) (holes) (holes) (holes) (holes)
Based on:
In Claude Code:
/plugin marketplace add jakubciszak/code-quality-confidence
/plugin install swiss-cheese@code-quality-confidence
If your environment can't fetch marketplaces from GitHub directly, clone first:
git clone https://github.com/jakubciszak/code-quality-confidence.git
/plugin marketplace add /path/to/code-quality-confidence
/plugin install swiss-cheese@code-quality-confidence
swiss-cheese — layered defense for agentic codingNative skills (not legacy commands/). Consciously-invoked ones set disable-model-invocation: true.
| Skill | What it does |
|---|---|
/swiss-cheese:init [--portable] | Probes the repo, detects how to run full tasks (runner_detector.py) and cheap per-file checks (hook_detector.py), then enables edit, commit, completion, and review gates — including, on request, the native pre-commit hook that gates terminal commits. With --portable, vendors the complete runtime, project skills, agents, and hooks so collaborators do not need the plugin. |
/swiss-cheese:intent | Reconstructs a ticket into intent, acceptance criteria, test plan, scope guards, risk class, and an AI-disclosure block — then stops, writing no code (Haiku). |
/swiss-cheese:review | diff_snapshot → deterministic guards → select_agents (an unremovable lens floor) → independent read-only lens subagents on the redacted diff, in parallel → one ranked report and a hook-confirmed receipt for the exact worktree. |
/swiss-cheese:loop <task> | Implement → check_layers.py --fast → guards → review → fix → repeat until green or the iteration budget runs out. |
/swiss-cheese:pair | A numbered list of hard, break-it questions on your change (Sonnet, read-only — can't write code). |
/swiss-cheese:layer · :status · :knowledge · :audit | Manage the stack, render it, wire task sources, grade the knowledge layers. |
/swiss-cheese:custom-layer | A five-step methodology for building a defense layer the catalog doesn't cover — name the failure mode, pick the cheapest mechanism, implement, analyze the new holes, test. |
Two further skills are model-invoked domain knowledge rather than slash commands: swiss-cheese-model (the layer catalog, hole analysis, and risk profiles, loaded when reasoning about defense-in-depth or explaining why a gate missed a defect) and custom-layer (also reachable directly, above). A session sees only their one-line description until a task matches, so they carry no always-on cost.
Deterministic pre-LLM guards. run_guards.py (stdlib-only) scans the diff as data, never executing it — injection, secrets (with redaction into diff.redacted.patch), policy (LOC/marker thresholds), slopsquat (typosquat/hallucinated deps), high_risk. Blockers are enforced at commit time by a PreToolUse hook (exit 2, zero tokens). Every internal error is exit 0 — a layer may have holes, but it never kills the session.
Automatic lifecycle gates. PostToolUse runs a detected, file-scoped syntax/lint check seconds after each edit. UserPromptSubmit records HEAD plus staged, unstaged, and untracked content. If that state changed during the turn, Stop runs every configured scripted layer and requires the review skill (/swiss-cheese:review, or /swiss-cheese-review in portable mode) to produce a receipt for the same change. A pre-existing dirty worktree alone does not trigger the gate; changing or committing it does. SubagentStop supplies the audit evidence, so the receipt exists only after every selected lens returned.
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Keygraph's Shannon autonomous AI pentester, packaged as a plugin for Claude Code.