design-gate-audit

design-gate-audit is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 85 tokens per session (1,718 once invoked), scanned A, original, MIT.

A pre-implementation review of a design document's acceptance checks, meaning the tests that decide whether a feature is complete.

In plain words
What is it for?
It examines each gate, verifies named test files and code seams exist, and checks claims about compatibility and test coverage.
Why use it?
It exposes checks that would pass even when the feature is broken, or that cannot actually be run with the project's existing code and test setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It examines each gate, verifies named test files and code seams exist, and checks claims about compatibility and test coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/design-gate-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Arasz/ai-raccoon --skill design-gate-audit
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-gate-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/design-gate-audit/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/design-gate-audit)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/design-gate-audit"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/design-gate-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-gate-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/design-gate-audit"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/design-gate-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,718 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01718
Opus 5.5 $0.00034 $0.00687
Sonnet 5.5 $0.00017 $0.00344
Haiku 4.5 $0.00009 $0.00172

Measured yesterday against content hash c2f148571025, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-gate-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai-badger/skills/design-gate-audit/SKILL.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

design-gate-audit

Auditing a design doc's acceptance criteria BEFORE implementation, so gates cannot certify broken or vacuous behavior. Pair with the loaded hosted-service skills for BackgroundService-specific mechanics (dotnet-hosted-service-testing for FakeTimeProvider semantics, dotnet-hosted-service-review for loop robustness).

Procedure

  1. Read the design doc's gate table and work-package plan. Every row: "would this gate fail if the feature were broken?" (HONEST) and "does the named test file / framework / helper exist?" (FEASIBLE).
  2. Verify feasibility by reading the actual test project — never trust the doc. Check: the named test file exists, the named pattern exists in it (host-shape pins, FakeTimeProvider settles, E2E factory), the named production seam exists (host factory, DI singleton, renderer).
  3. Verify factual claims by grepping — e.g. "no test churn: existing constructions keep compiling" → grep the literal (new ServerConfig( may return 0 while target-typed new(...) constructions exist — count THOSE), confirm the production type's positional arity, and confirm a defaulted 4th positional param keeps 3-arg call sites compiling. Report the count, not the doc's paraphrase.
  4. Attack each gate for wrong-reason passes and vacuous negatives (checklist below).
  5. Emit the report with the skeleton in §Report skeleton, then the TDD order per work package with corrections, then missed cases.

Gate-honesty checklist

  • Vacuous negative: a "X not called before timeout" case passes via the lost first fake-clock Advance (StartAsync does not run ExecuteAsync on the caller thread). Negative-only assertions must follow a settled positive or use counters (StopApplication-call counter in a fake IHostApplicationLifetime; invocation counter on the fake). See dotnet-hosted-service-testing.
  • Timing-window vacuity vs sibling services: a gate like "idle test runs with extraction enabled proves extraction doesn't reset the watchdog" is vacuous if the sibling's configurable interval floor (e.g. ParseIntervalMinutes: minutes > 0 → ≥ 1 min) cannot fire inside the gate's real-time window. Fix: shared-FakeTimeProvider two-service test — both services on ONE clock, fake store with call counter + fake lifetime; advance past X's interval → X's counter > 0 AND Y's StopApplication count == 0; advance past Y's deadline → count == 1.
  • Poll interval vs timeout expectation: a shutdown-latency gate ("within ~5s" with a 2s timeout) is unsatisfiable if the loop polls every 1 minute (shutdown fires up to one poll late). Either the design derives poll = min(baseline, timeout/2) (pin the derivation) or the gate is rewritten.
  • Real-time reset halves are unprovable: "make one call, then shutdown within 5s" passes even when the reset wiring is broken (shutdown happens regardless) and flakes under CI load. Split: deterministic wiring proof = real host + real traffic + fake TimeProvider via a host seam (TimeProvider is usually a DI singleton — require an optional TimeProvider? param on the internal host factory); real-time smoke gets a generous bound asserting only "shutdown happened"; "never shuts down" cases assert with the fake clock, never by real-time waiting.
  • Routing/dispatch gates: a negative pin in a subcomponent ("verb never reaches the dispatcher") passes BOTH when routing works AND when the routing branch is missing (then the subcomponent IS what runs) — the primary bug ships green. Require a dispatch seam (injectable runner/delegate) with a positive pin: serve args → runner invoked, dispatcher not; verb args → the reverse. WebApplicationFactory is the wrong tool for blocking entry-point paths (TestServer replaces Kestrel; bound-URL/blocking semantics unrepresentative).
  • Unpinned "still logs / unchanged" claims: "bare launch still logs X on stderr" is a gate only if something asserts it — check for a LoggerMessage pin; E2E factories usually run at Warning minimum, so Information logs are invisible to them. Either add the pin or reword the claim to what the suite covers.
  • Blocking-run testability: a RunAsync that blocks until shutdown + StringWriter means stdout is only visible AFTER return. Specify the stop seam (ct-cancellation triggers StopApplication via HostingAbstractionsHostExtensions — cancel a CTS, assert exit 0) and split cases: port-0 URL asserted post-hoc; mid-run client access uses a fixed free port (URL known a priori) or a line-signaling TextWriter.
  • Port-race: "find a free port then release" has a race window. Busy-port tests must HOLD a TcpListener(IPAddress.Loopback, 0) open for the whole run (read LocalEndpoint), disposing in finally. Also: catch bind failures specifically (IOException/SocketException/AddressInUseException), never bare Exception — or a ct-cancel during startup is misreported as the port error.
  • Process-global env poisoning: fixtures booting the real composition root (key resolution, bank decryption) must clear process-global env vars (e.g. <APP>_DB_PASSPHRASE) under the repo's env gate (TestData.EnvVarGate precedent), or a dev machine's value flips exit codes.
  • "Unit/Fast" trait vs real bootstrap: an in-process host test that hits best-effort startup downloads (bundled model ensure, 30s bound) can burn the whole budget on a fresh machine — pre-ensure the asset in the fixture (E2E precedent) or mark the suite Slow.

Read the full file on GitHub · 56 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 56 lines · 85 tokens per session scan A c2f148571025

Subscribe to this mod's changes

design-gate-audit is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,718 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

design-gate-audit compared with skills from other repositories

design-gate-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-gate-auditArasz/ai-raccoonSkill7todayMITA85Claude Code, Codex
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
cartographer-feedbackBeppeTemp/cartographerSkill74yesterdayApache-2.0A83Claude Code, Codex
cartographer-cliBeppeTemp/cartographerSkill74yesterdayApache-2.0A37Claude Code, Codex
cartographer-kb-doctorBeppeTemp/cartographerSkill74yesterdayApache-2.0A91Claude Code, Codex