Skip to content

The design language that makes your AI harness better at design.

JavaScript

Count 60 detector rules and re-record the palette fixture goldens

Paul Bakaus755a4c9e3385
diff --git a/README.md b/README.md
index 2c52ab437..1a321f03b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Impeccable
-Design guidance for AI coding agents. 1 skill, 24 commands, live browser iteration, and 61 deterministic detector rules for AI-generated frontend design.
+Design guidance for AI coding agents. 1 skill, 24 commands, live browser iteration, and 60 deterministic detector rules for AI-generated frontend design.
> **Quick start:** From your project root, run `npx impeccable install`, then run `/impeccable init` inside your AI coding tool. Full docs: [impeccable.style](https://impeccable.style).
@@ -13,7 +13,7 @@ Every model trained on the same SaaS templates. Skip the guidance and you get th
Impeccable adds:
- **One setup flow.** `/impeccable init` records durable product truth in `PRODUCT.md`, so later commands know the audience, purpose, operating context, constraints, voice, and evidence without confusing those facts with surface-level visual direction.
- **24 commands.** A shared design vocabulary with your AI: `polish`, `audit`, `critique`, `distill`, `animate`, `bolder`, `quieter`, and more.
-- **61 deterministic detector rules** plus LLM-only critique checks. The CLI and browser extension run the deterministic rules with no LLM and no API key.
+- **60 deterministic detector rules** plus LLM-only critique checks. The CLI and browser extension run the deterministic rules with no LLM and no API key.
## What's Included
@@ -463,7 +463,7 @@ npx impeccable ignores add-file "src/legacy/**"
npx impeccable ignores add-value overused-font Inter --reason "Brand font"
```
-The detector catches 61 deterministic issues across AI slop (side-tab borders, purple gradients, bounce easing, dark glows) and general design quality (line length, cramped padding, small touch targets, skipped headings, and more).
+The detector catches 60 deterministic issues across AI slop (side-tab borders, purple gradients, bounce easing, dark glows) and general design quality (line length, cramped padding, small touch targets, skipped headings, and more).
Human-readable findings are diagnostics written to stderr, so redirect them with `2> findings.txt`. Use `--json` for machine-readable results on stdout. Exit `0` means the scan completed without primary findings, exit `2` means it completed with primary findings, and exit `1` means at least one requested target could not be scanned; operational failure takes precedence for a partial multi-target scan. URL scans inspect the rendered DOM, computed layout, and accessible linked stylesheets; browser security still prevents reading cross-origin CSS without CORS. A clean detector run is evidence, not proof of visual or accessibility quality: it does not replace inspecting the rendered experience across relevant viewports.
diff --git a/tests/oracle/golden/detect-fixture-json-ai-color-palette-html.json b/tests/oracle/golden/detect-fixture-json-ai-color-palette-html.json
index bc37f1cc5..5c9fc89ea 100644
--- a/tests/oracle/golden/detect-fixture-json-ai-color-palette-html.json
+++ b/tests/oracle/golden/detect-fixture-json-ai-color-palette-html.json
@@ -1,5 +1,5 @@
{
- "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#8526fe) on heading\"\n },\n {\n \"antipattern\": \"radial-halo\",\n \"name\": \"Radial-gradient background halo\",\n \"description\": \"A chromatic radial-gradient wash — saturated at the center, fading to transparent — used as a decorative background glow on a dark page. Same tell as glowing shadows, drawn with a gradient instead of a shadow. Ground the surface with a solid or subtly shifted background instead.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\",\n \"line\": 0,\n \"snippet\": \"radial-gradient halo (#8526fe → transparent) on dark page\"\n }\n]\n",
+ "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#8526fe) on heading\"\n },\n {\n \"antipattern\": \"radial-halo\",\n \"name\": \"Radial-gradient background halo\",\n \"description\": \"A chromatic radial-gradient wash — saturated at the center, fading to transparent — used as a decorative background glow on a dark page. Same tell as glowing shadows, drawn with a gradient instead of a shadow. Ground the surface with a solid or subtly shifted background instead.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\",\n \"line\": 0,\n \"snippet\": \"radial-gradient halo (#8526fe → transparent) on dark page\"\n }\n]\n",
"stderr": "",
"exit": 2,
"signal": null,
diff --git a/tests/oracle/golden/detect-fixture-text-ai-color-palette-html.json b/tests/oracle/golden/detect-fixture-text-ai-color-palette-html.json
index 9a9efec3a..01640f8b3 100644
--- a/tests/oracle/golden/detect-fixture-text-ai-color-palette-html.json
+++ b/tests/oracle/golden/detect-fixture-text-ai-color-palette-html.json
@@ -1,6 +1,6 @@
{
"stdout": "",
- "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\n [ai-color-palette] Purple/violet text (#8526fe) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n [radial-halo] radial-gradient halo (#8526fe → transparent) on dark page\n → A chromatic radial-gradient wash — saturated at the center, fading to transparent — used as a decorative background glow on a dark page. Same tell as glowing shadows, drawn with a gradient instead of a shadow. Ground the surface with a solid or subtly shifted background instead.\n\n2 anti-patterns found.\n",
+ "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette.html\n [ai-color-palette] Purple/violet text (#8526fe) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n [radial-halo] radial-gradient halo (#8526fe → transparent) on dark page\n → A chromatic radial-gradient wash — saturated at the center, fading to transparent — used as a decorative background glow on a dark page. Same tell as glowing shadows, drawn with a gradient instead of a shadow. Ground the surface with a solid or subtly shifted background instead.\n\n2 anti-patterns found.\n",
"exit": 2,
"signal": null,
"files": {}