/wicked-garden:wicked-garden-draftfrom wicked-garden
Enforces a three-floor quality gate for document deliverables (brochures, one-pagers, decks, memos) drafted from a repo: readability (WCAG AA contrast, minimum font size), page-count compliance with the brief, and factual grounding with source citations.
Ships in wicked-garden. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A drafting worker can write a beautiful brochure that nobody can read, that prints on four pages when two
were asked for, and that ships an amber [PLACEHOLDER] box next to an invented "live instance" — and every
prompt-level instruction it was given ("never invent facts", "honour the page count") will have been
followed in spirit. That is the 2026-09 recon outcome this skill exists to prevent. Guidance tells the author
what good looks like; the self-check re-derives it from the saved file. A deliverable is not done until the
self-check says PASS (or says UNVERIFIED and the notes disclose exactly what could not be verified).
Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
| # | Floor | Rule | Re-derived by |
|---|---|---|---|
| 1 | Readable | every text/background pair ≥ 4.5:1 (3:1 for large text: ≥ 24px, or ≥ 18.66px bold), judged on the colours as COMPOSITED (alpha tints, gradients, opacity); print text ≥ 7pt | scripts/draft/contrast_check.py |
| 2 | Sized to the brief | the RENDERED page count meets the budget the brief names — "two pages" means two PDF pages, not two .page wrappers | scripts/draft/page_count.py |
| 3 | Grounded | every number, URL, quote and capability claim cites a repo path; mocks are visibly labelled; no [PLACEHOLDER] / TODO / lorem in the deliverable | scripts/draft/claims_scan.py |
| 4 | Honest | how the draft was made stays out of it: no inbox paths, run ids, a check's verdict ("UNVERIFIED", "self-check: PASS"), bare [S] markers or "I used …" narration — not in the text, the speaker notes, the attributes or the comments. The subject's own words stay (a device's self-check, a parser's notes.json) What could not be confirmed goes in notes.json beside the deliverable | scripts/draft/leak_scan.py, scripts/draft/notes_check.py |
One command runs all four (§ Self-check). Details and worked examples: refs/design-floor.md (colour and print typography),
refs/claims.md (the citation convention), refs/self-check.md (flags, JSON shape, exit codes, the manual alternative).
Kind: lineWhen the brief carries a Kind: <kind>. line (wicked-crew's Communicate, Roles and operating model, Respond and Rework cards prepend one),
read that kind's ref before the outline. It adds the kind's shape, its default budget and what it must never do; the three floors above still decide "done".
| Brief line | Ref |
|---|---|
Kind: narrative. | refs/narrative.md |
Kind: meeting prep. | refs/meeting-prep.md |
Kind: demo script. | refs/demo-script.md |
Kind: status update. | refs/status-update.md |
Kind: message. | refs/message.md |
Kind: operating model. | refs/operating-model.md |
Kind: respond-rfp. | refs/respond.md |
Kind: respond-rfi. | refs/respond.md |
Kind: respond-questionnaire. | refs/respond.md |
Kind: rework-condense. | refs/rework.md |
Kind: rework-re-audience. | refs/rework.md |
Kind: rework-generalize. | refs/rework.md |
Kind: rework-convert. | refs/rework.md |
Kind: rework-refresh. | refs/rework.md |
Respond and rework kinds run with a check step that re-checks every statement against the run's records/, so cite precisely.
A Kind: line with no row here: follow the floors alone and say so in notes.json. A page budget the brief names beats the kind's default.
--ink-faint: rgba(255,255,255,0.14) looks like a
palette entry; on #1a1a26 it is 1.5:1 — invisible in print. Compute (or run the
check on) the composited text colour over the background it actually sits on.#1a1a26
card is 3.7:1; lift it to ~78 % lightness for text, or keep the accent for rules,
badges and glyphs only.--min-font-pt, default 7; 0 for screen-only deliverables).rgb() / hsl(); oklch(), lab(),
color-mix() and friends are not evaluated — the pair comes back UNVERIFIED, not
passed. A container whose background is only an image (url(…)) gets an opaque
background-color fallback, or its text is UNVERIFIED too.--exact). If the
brief names no count: a brochure/leaflet defaults to 2, a one-pager to 1, a deck to
its slide count; a web page or memo has no page budget (--no-pages).notes.json — and when the material cannot fit the budget, cut content;
never spill. A spill page is a blank page with a header on it..page block taller than the sheet prints on two.
Budget each page's content to the sheet (A4 portrait: 297mm minus the @page margins),
use break-after: page between pages, never overflow: hidden to hide the overflow.zoom, transform: scale(…), scale: on html/body/a
page wrapper, or dropping font-size under the floor to make the count come out, is
the F-RECON-007 defect in a new coat: a page budget is met by cutting content, never
by scaling the page. The size floor is judged on the effective size after any
zoom/scale, so the check fails such a document — and a transform it cannot evaluate
makes the size UNVERIFIED, not passed.--pdf) or a headless-Chrome print
(--render). When neither is possible the count is UNVERIFIED — say so in notes.json
with the structural estimate; never state a page count you did not render.Node ≥ 22),
percentages, latencies, feature lists, quotes, URLs. Put data-source="README.md:87"
on the element or its block (invisible in print, survives instrumentation) and list
the sources for the reader in a visible Sources strip (refs/claims.md).
Cite the line you actually read — re-open the file at that line before you write the
citation; a Read with an offset does not number lines from 1. The check verifies the
cited lines carry the block's text and reports cite-off with the nearest-match line
if they don't.ws.wickedagile.com documented as a
static product site is a "Product site", never a "live instance". Quote the source
line before you characterise a link.data-illustrative AND visible text ("Illustrative — not measured data"). A
label that lives only in an HTML comment is the defect, not the label.[PLACEHOLDER: …], TODO, TBD, lorem, "quote
goes here": a gap belongs in your reply/notes ("no customer quote exists in the repo —
section omitted"), never in the document. A number you cannot cite is removed, not
softened.notes.json next to the deliverable (the task names the path), always, even with empty
lists: {"left_out": [{"claim": "…", "why": "…"}], "sources": [{"token": "run:…", "used": true}], "assumptions": ["…"]}. Nothing else goes in it. A claim nothing supports is left out of the
document and listed there.refs/spoken-voice.md.Run it on the SAVED deliverable (the file on disk is what ships), fix, and re-run until it passes:
wicked-garden run scripts/draft/self_check.py <out.html> --pages 2 --exact --render --repo <snapshot-dir> --notes <notes.json> --run-id <run>
# with the product's own export: --pdf <exported.pdf> instead of --render
# web page / memo (no page budget): --no-pages --min-font-pt 0 --mode screen
| Verdict | Exit | Meaning | What you do |
|---|---|---|---|
PASS | 0 | every floor met and every pair/page evaluated | done — end your reply with the verdict line |
FAIL | 1 | a pair below the floor, text under 7pt (after any zoom/scale), pages over budget, a placeholder, an uncited number/URL, a hidden mock label, a dangling source, a cite-off (cited line doesn't carry the block's text) | never done — fix the document (not the check, not the flags), re-run |
UNVERIFIED | 3 | no floor failed, but something could not be evaluated: the page count (no PDF and no renderer on this seat), or a colour pair (unsupported colour function, image-only background, an unevaluable transform) | done only with disclosure — copy the DISCLOSE line(s) the check prints into notes.json (left_out or assumptions) and your reply, never into the document |
There are exactly two "done" states: PASS, or UNVERIFIED with the disclosure. FAIL
is never done. A disclosure names (a) which check is unverified, (b) why on this seat
(e.g. "no Chrome/Chromium — structural estimate 2 pages"), (c) what a reviewer must do to
verify it (e.g. "run page_count.py --pdf <export> on the product's PDF export", or
"check pair X by hand / rewrite it in hex with an opaque background"). Paste the verdict
line(s) into your reply — never paraphrase them or describe a run you did not make. If the
launcher or Python is missing, follow the manual alternative in refs/self-check.md (the
WCAG formula per token pair, a real print to count pages, and the placeholder/number grep)
and say which steps were manual.
interactive-draft, -edit, -chat)--pdf when the task gives you an export, else --render). Fix and re-run until the
verdict is PASS — or UNVERIFIED when this seat has no renderer or a pair cannot be
evaluated (the check prints DISCLOSE … lines): then stop re-running, put the
disclosure into notes.json, and end the reply with the absolute path, the
verdict line, the structural page estimate, and the verification point ("verify with
page_count.py --pdf on the product's PDF export"). A FAIL is never a stopping
point. The run's own deliverable floor only proves the file exists — this skill is the
quality floor.FAIL is
yours to fix before the turn ends.data-wid, and keep the person's own edits the task lists EXACTLY: run
wicked-garden run scripts/draft/keep_check.py check --map <map.json> <out.html> and fix the
document until it prints that every edit is kept. The host runs the same check before anything
lands, against its own copy; a broken edit lands nothing.data-wid attributes yourself; data-source and data-illustrative are
fine — the service instruments its own anchors around them.refs/claims.md (opens in a new tab)refs/demo-script.md (opens in a new tab)refs/design-floor.md (opens in a new tab)refs/meeting-prep.md (opens in a new tab)refs/message.md (opens in a new tab)refs/narrative.md (opens in a new tab)refs/operating-model.md (opens in a new tab)refs/respond.md (opens in a new tab)refs/rework.md (opens in a new tab)refs/self-check.md (opens in a new tab)refs/spoken-voice.md (opens in a new tab)refs/status-update.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-garden91 skills in this plugin
/wicked-garden-agenticAgentic-systems domain skill: review, design, audit, and framework selection
for AI agent systems. Routes to one of four actions (review | design | audit |
frameworks) backed by the rubrics in refs/.
Use when: "agentic review", "review this agent system", "full agentic codebase
review", "trust and safety audit", "audit my agents for GDPR/HIPAA/SOC2/NIST
compliance", "design an agentic system", "design a multi-agent architecture",
"which agentic framework should I use", "compare LangChain vs CrewAI vs
AutoGen", or any former /wicked-garden:agentic:{review|design|audit|frameworks}
invocation.
Disambiguation: this domain reviews and designs **AI agent systems**. For
ordinary source code use the engineering review; for a binding go/no-go
verdict use the archetype review (see docs/domains.md → "review appears in
three domains").
/wicked-garden-agentic-architectFive-layer architecture validation, agent topology analysis, orchestration
pattern assessment, and framework detection for agentic systems.
Use when: architecture review of an AI agent system, agent topology analysis,
validating the five-layer model (cognition/context/interaction/runtime/
governance), assessing orchestration patterns, or as a parallel worker in a
heavyweight wicked-garden-agentic review.
/wicked-garden-agentic-performance-analystToken optimization, latency budgets, cost analysis, caching strategy, and
parallelization assessment for agentic systems.
Use when: performance optimization of an AI agent system, cost analysis or
token-budget review, latency profiling, cache-strategy assessment,
parallelization opportunities, or as a parallel worker in a heavyweight
wicked-garden-agentic review.
/wicked-garden-agentic-safety-reviewerGuardrails, prompt injection defense, PII protection, human-in-the-loop
gates, and hallucination mitigation for agentic systems.
Use when: safety review of an AI agent system, guardrail assessment, prompt
injection audit, PII/compliance exposure check, HITL gate verification, or
as a parallel worker in a heavyweight wicked-garden-agentic review.
Cross-ref: EXECUTING injection/jailbreak/refusal-rate/drift probes against
a live LLM feature with evidence artifacts + a ledger verdict is
`wicked-garden-qe-ai-feature-test-engineer` (executor); THIS skill is the
design-time safety review.
/wicked-garden-appsChange, review or accept an Apps app: a declarative UI over live data
and the system's knowledge that a person builds in wicked-studio's Apps
section. An app is a spec
(apps.json: pages, components, layout, theme, bindings, queries and
actions) plus query texts under queries/. A turn's builder edits those
two and nothing else, from the data catalog the task names, and never
calls a write tool or an action (a live read goes only through crew's
broker). A distinct reviewer judges the turn's tree. A publish's QE seat
judges the publish check's evidence.
Use when: a phase of the `apps-turn` workflow (build, review) or the
`apps-publish` workflow (qe), "add a KPI to my app", "chart this query",
"add a filter", "add an Assign to me button", "review this app turn".
NOT for running a query, testing a connection, granting an action or
deploying an app (crew and studio do those, behind a person's click),
and NOT for building studio editor plugins (that is
wicked-garden-editor-scaffold).
/wicked-garden-archetypev11 work-shape archetype runner. When a prompt has been routed to one
of the archetypes (triage, explore, specify, decide, ship, review,
incident, build, migrate, modernize), this skill is the entry point. It
picks the right per-archetype playbook from refs/ and executes the phase
shape declared in `.claude-plugin/archetypes.json`.
Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder
tag appears, an explicit "let's run the X archetype" request, or a
direct per-archetype ask — "triage this prompt", "review this PR /
artifact", "build this feature", "decide between these options",
"explore this problem", "handle this incident", "run this migration",
"modernize / port this legacy app", "ship this release", "write
acceptance criteria" (invoke with archetype=<name> plus the user's
args — see the Direct invocation table).
Other plugins' skills for the same job