agentic-tdd
Test-driven development for behaviour a unit test cannot reach, by writing the expectation against the running app before writing…
Check that the UI you actually rendered uses the design system, by reading computed styles in the running app against the project's design tokens. Catches hardcoded hex colors, off-palette backgrounds, invisible or unusable controls, and animations that never ran. Use after
Claude Code
$ npx -y skills add reticlehq/reticle --skill design-system-compliance --agent claude-code
Codex
$ npx skills add reticlehq/reticle --skill design-system-compliance -a codex -y
Cursor
$ npx skills add reticlehq/reticle --skill design-system-compliance -a cursor -y
Gemini CLI
$ npx skills add reticlehq/reticle --skill design-system-compliance -a gemini-cli -y
GitHub Copilot
$ npx skills add reticlehq/reticle --skill design-system-compliance -a github-copilot -y
OpenCode
$ npx skills add reticlehq/reticle --skill design-system-compliance -a opencode -y
Windsurf
$ npx skills add reticlehq/reticle --skill design-system-compliance -a windsurf -y
name: design-system-compliance description: Check that the UI you actually rendered uses the design system, by reading computed styles in the running app against the project's design tokens. Catches hardcoded hex colors, off-palette backgrounds, invisible or unusable controls, and animations that never ran. Use after building or restyling a component, when a design review is wanted, when a UI looks slightly off but nobody can say why, or when a design system exists and nothing checks whether the code follows it. license: Apache-2.0 metadata: version: 3.10.8 homepage: https://www.reticle.sh repository: https://github.com/reticlehq/reticle
Reading the source tells you what the component _asks_ for. It cannot tell you what the browser resolved: a token overridden three layers up, a hardcoded `#3b82f6` that happens to look close, a dark-theme scope that never applied. That answer only exists in the running page.
**Reticle** reads computed styles in the live app and compares them against the project's tokens. Not set up? Follow the [`reticle`](https://github.com/reticlehq/reticle/blob/main/skills/reticle/SKILL.md) skill: it installs Reticle, asks the user before `init` changes the app's files, and proves one flow.
reticle_look({ action: "page", sessionId, mode: "interactive" })
reticle_look({ action: "element", sessionId, ref })`inspect` returns a `theme` report per element:
| Field | What it tells you | | --- | --- | | `offTheme` | **the headline.** True when a set, opaque color matches no token in the palette: a violation worth fixing | | `colorTokens` / `backgroundTokens` | every token whose resolved value is this color. Empty means off-palette | | `colorToken` / `backgroundToken` | the _unambiguous_ match, or `null` when several tokens share the color. `null` here is an abstention, not a violation: read the plural field | | `tokenCount` | how many tokens resolved under the active theme. **`0` means the app declares no palette**, and `offTheme` is never asserted: report that rather than a clean bill of health | | `themeScope` | the theme active at capture (e.g. `.dark`), so two inspects taken minutes apart are comparable at all |
Read `tokenCount` first. Zero tokens means there is nothing to comply with, and every "pass" below it is vacuous.
The same call answers the questions a screenshot cannot:
A design review that only compares colors passes a button nobody can press.
reticle_run({ tool: "reticle_animations", args: { sessionId } })Returns running and recently completed animations with their targets and timing. Two things worth checking after any motion work: an animation you added that **never appears here** did not run, and one whose duration does not match the token is off-spec. Both look identical in a screenshot.
For each element that failed, give the `file:line` from `inspect` and the specific fact: "background `#3b82f6` matches no token; the palette has `--color-primary` at `#2563eb`". A design-review comment without a location is a task someone else has to redo.
This checks **compliance with the tokens the project declares**. It is not an opinion about whether the design is good, and it is not an accessibility audit. Contrast ratios, focus order and screen-reader semantics are a different job, and claiming them here would be a false green of exactly the kind this repo exists to prevent.
---
Everything else, one page at a time: `curl https://docs.reticle.sh/llms.txt`. Design token check missing something you needed? `reticle_session { action: "feedback" }` with `kind: "gap"`.
AI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
Test-driven development for behaviour a unit test cannot reach, by writing the expectation against the running app before writing…
Sweep a whole running web app for what is broken, without writing a script or knowing the codebase. Clicks every reachable…
Find out why something in a running web app does not work, when the console is empty and the code looks correct. Reads the click,…
Drive and verify an Electron or Tauri desktop app from the inside, including the main-process and Rust IPC calls a browser tool…
Find out why the tests pass but the app is broken. Catches false greens: a green suite over a feature that does not work, a…
Pick up the bugs a human flagged by pointing at them in the running app, each arriving with the element, the note they typed, and…
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…