/ldaume-design:quality-sweepfrom ldaume-design
Runs design and writing checks on every page a change reaches before push or merge, and on a schedule for the whole site. Compares findings against a baseline and refuses the push on new failures.
Ships in ldaume-design. 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; scripts run unread.
Run the design and writing checks on every page a change reaches, not only the files it touched, and refuse the push while a new failure stands. A token or layout change sits in one CSS file and alters every page, and a page no change ever touched still drifts as content, dependencies and the checks themselves change, so both the scope and the schedule matter.
Each step is the cheapest one that can still fail the page, so a later, costlier step never reviews what an earlier one already rejects.
set -a; . <harness>/.env; set +a): the design
loop reads TYPESAFE_API_KEY or a gateway key from the environment only.
Without one, Jev never sees the screenshots; the evidence records
visual as skipped and the run prints a warning. CI without a key relies
on the exact tiers on purpose.sweep.py run runs the config's
build and serve itself and refuses a server that already answers,
because a server left running holds an old build and the sweep would pass
it (a first trial on a real site did exactly that).design-review
(scripts/design-loop.mjs: DOM tells, reading audit, Jev on screenshots,
a vision model only where Jev is unsure).writing-core on the served HTML, in the
page's own language; --jev adds the advisory tier for public text.quality-sweep-baseline.json; any failure not kept there
fails the run.plain-numbers when the page carries metrics).OPEN with its question and
the shots. You are a vision model: open each shot, answer that exact
question for every card row, button or region it names, and record it
with sweep.py judge --url --rule --verdict pass|fail --reason. The sweep
stays open, and the push hook refuses, until every question is judged; a
fail becomes a new failure with its fix.fix in the evidence and the output, from REMEDIES in sweep.py),
sweep the same scope again, and repeat up to three rounds. Ask a person
only when a fix would cut content, change a brand choice, or reword a
claim; keep a finding with its reason only when a person decided it.review-rounds or grill-harness-with-docs where installed), because a
summed metric or a claim that overstates the record passes every script.python3 scripts/sweep.py scope --base origin/main prints the URLs a change
reaches; run takes the same flags.
extra rule maps it to.fixed (an A4 one-pager) is not failed for its phone width, nor for any
finding seen only below its fixed_width..quality-sweep.json reaches every page, because it decides
what a page is.run --all sweeps every page: weekly and before a release, so drift that
no diff causes is found.quality-sweep-baseline.json (tracked) holds the findings kept on purpose:
{"kept": [{"url": "/cv", "rule": "wcag.targets", "element": "a.title", "reason": "truncated inline link, WCAG 2.5.8 inline exception"}]}
sweep.py keep --rule <rule> --reason "<why>" [--url /path] [--everywhere]
moves the last run's new failures of one rule there and updates that run's
verdict, so nobody copies selectors by hand and no page is swept twice; --everywhere writes one entry per element for every URL,
for a shared component. A finding matches on rule and element (the selector, or the writing error
text), never on a Jev score, because Jev's confidence moves between runs.
url is a path or *. A kept finding without a reason stops the run, and
a sweep.* finding (a checker crashed, a page did not answer, files changed
mid-run) can never be kept, because keeping it would hide every later crash. Keep
only what a person decided; a finding that is merely annoying gets fixed.
run writes .quality-sweep/evidence.json (ignored by git): status, new
failures, warnings per page, and a fingerprint of every watched file.
sweep.py check --base origin/main exits 1 when watched files changed since
the base and no passing sweep matches the current tree. A run on hand-picked
--url pages never satisfies it, since it says nothing about what the change
reaches. Wire it in two
places, because each catches what the other misses:
git push and the merge
commands), so the agent fixes findings while it still has the context;sweep.py run --base origin/main on the pull
request, which holds for every author and host. Without a Jev key the
design loop runs its exact tiers only, so CI gates the deterministic part
and the hook carries the visual one.references/config.md - setting up .quality-sweep.json for a repository
or changing what it watches.tests/test_sweep.py covers scope, baseline, evidence and check against a
throwaway git repository, with the design loop and writing gate stubbed.
sweep.py check passes for the branch, every kept finding has a reason, the
writing warnings and advisory findings were read, and a page the scope could
not reach (a dynamic route without samples) is named.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
quality-gate, pre-merge-check, design-review, writing-review, ci-check
Other plugins' skills for the same job
npx claudepluginhub ldaume/agentic-engineering-harness --plugin ldaume-design11 skills in this plugin
/design-coreUse whenever a UI or UX task has no clearer owner or spans several surfaces - framing a design problem, choosing between options, a design decision record, motion or animation (Designentscheidung, UX-Konzept, Motion). Routes flows, forms, product UI, websites, dashboards, slides, design systems, research, and reviews to their design-* owner. Not for code; frontend-craft builds the screen./design-datavizUse whenever deciding what a chart, graph, table, KPI view, or dashboard should show - chart choice for a decision, dashboard design, misleading axes, uncertainty, accessible charts (Diagramm, Dashboard, Kennzahlen, Datenvisualisierung). Not for chart code or palettes (dataviz, frontend-craft), or slides and architecture diagrams (design-slides)./design-