@mrciphersmith/keryx 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +9890 -3474
- package/dist/core.js +80 -49
- package/package.json +1 -1
- package/src/gdskills/bundled/install-manifest.json +5 -3
- package/src/gdskills/bundled/rules/core/ui-anti-slop.mdc +167 -0
- package/src/gdskills/bundled/skills/core/reviewer-skill-creator/SKILL.md +4 -4
- package/src/gdskills/bundled/skills/planning/ui-direction/SKILL.md +177 -0
- package/src/gdskills/bundled/skills/quality/ui-craft/SKILL.md +173 -0
- package/src/gdskills/bundled/skills/review/review-jev-contract/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-jev-risk/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-jev-rules/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-jev-scenarios/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +7 -2
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +5 -1
- package/src/gdskills/bundled/skills/review/review-ui-ux/SKILL.md +268 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Shared catalog of AI-slop tells in UI (visual, copy, behavioral) with severity tiers, numeric craft thresholds, and the positive-direction principle. Read by ui-direction, ui-craft, and review-ui-ux."
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
globs:
|
|
5
|
+
- "**/*.tsx"
|
|
6
|
+
- "**/*.jsx"
|
|
7
|
+
- "**/*.vue"
|
|
8
|
+
- "**/*.svelte"
|
|
9
|
+
- "**/*.css"
|
|
10
|
+
- "**/*.scss"
|
|
11
|
+
- "**/*.html"
|
|
12
|
+
- "**/DESIGN.md"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# UI Anti-Slop
|
|
16
|
+
|
|
17
|
+
One vocabulary for the three UI skills: `ui-direction` (concept before code), `ui-craft`
|
|
18
|
+
(implementation), `review-ui-ux` (review). The creator and the reviewer judge by the same list.
|
|
19
|
+
|
|
20
|
+
## Why slop happens
|
|
21
|
+
|
|
22
|
+
- **Distributional convergence.** With no direction a model emits the most probable design:
|
|
23
|
+
Inter, indigo-on-white, centered hero, three cards, fade-up on scroll. Every "safe" default
|
|
24
|
+
is a vote for the average. (Anthropic, *Improving frontend design through skills*)
|
|
25
|
+
- **A ban list alone fails.** Ban purple and the output moves to the *next* most probable look
|
|
26
|
+
("second-wave slop": cream + serif + terracotta; near-black + one neon accent; broadsheet).
|
|
27
|
+
The cure is a **positive direction derived from the subject**, with this list as a guard rail.
|
|
28
|
+
- **Slop is a stack, not a tell.** One default (Inter for body text) is fine. Five defaults
|
|
29
|
+
together are slop. Score density, not presence.
|
|
30
|
+
- **Behavioral slop** is the half nobody screenshots: missing states, no validation, no focus
|
|
31
|
+
ring. Models learn from code snapshots, not from using flows.
|
|
32
|
+
|
|
33
|
+
## Core principles
|
|
34
|
+
|
|
35
|
+
1. **Direction comes from the subject.** Industry, materials, vernacular, printed artefacts,
|
|
36
|
+
the client's own numbers and names. Not from "modern, clean, minimal".
|
|
37
|
+
2. **Spend boldness in one place.** Exactly one signature element; everything else quiet.
|
|
38
|
+
Before finishing, remove one element.
|
|
39
|
+
3. **Distinctive look, conventional behavior** (Jakob's Law). Navigation placement, link
|
|
40
|
+
affordance, form patterns, and keyboard behavior stay standard.
|
|
41
|
+
4. **Structure must encode information.** Borders, numbering, eyebrows, dividers, badges exist
|
|
42
|
+
only when they carry meaning.
|
|
43
|
+
5. **Never invent proof.** No made-up stats, logos, testimonials, customers, or "Live" chips.
|
|
44
|
+
6. **If the brief names a look, follow it** — even if that look is on the list below.
|
|
45
|
+
7. **Don't claim checks that weren't run.** No browser → say so.
|
|
46
|
+
|
|
47
|
+
## Tell catalog
|
|
48
|
+
|
|
49
|
+
Tiers: **T1** — recognizable as AI within ~3 seconds by a layperson (must fix).
|
|
50
|
+
**T2** — obvious to anyone who builds UI (should fix). **T3** — weak alone, damning in a stack.
|
|
51
|
+
|
|
52
|
+
### Color
|
|
53
|
+
| Tier | Tell | Fix |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| T1 | Purple→blue / violet→indigo gradient on hero or background; radial "hero blobs" | 4–6 named colors with roles, derived from the subject |
|
|
56
|
+
| T1 | Gradient text (`bg-clip-text`) on headlines | Solid ink; emphasis by size/weight |
|
|
57
|
+
| T2 | Untouched framework palette (`indigo-500` primary, `emerald-500` success) | Own tokens; tune hue/chroma to the palette |
|
|
58
|
+
| T2 | Second-wave palettes used by reflex: cream `#F4F1EA` + terracotta `~#D97757`; near-black + acid green/vermilion | Justify from the subject or choose again |
|
|
59
|
+
| T2 | Brand color on more than 3 surfaces | Accent on the primary action + at most one other element |
|
|
60
|
+
| T3 | Gradient borders, decorative gradient washes, glows | Tone steps between surfaces |
|
|
61
|
+
| T3 | Gray text on colored backgrounds | Tint/shade of the background hue |
|
|
62
|
+
| T3 | Dark mode = inverted light mode | Re-tune each token for dark |
|
|
63
|
+
|
|
64
|
+
### Typography
|
|
65
|
+
| Tier | Tell | Fix |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| T1 | Inter / Roboto / Arial / Open Sans / Lato / system-ui as the *only* face | Choose a face for the subject; state the choice before coding |
|
|
68
|
+
| T2 | Re-converged substitutes used by default: Space Grotesk, Plus Jakarta Sans, Geist | Vary across projects; pick by mood, not habit |
|
|
69
|
+
| T2 | Accent on one headline word ("Build *faster*" — italic/colored/serif swap) | Let the sentence carry itself |
|
|
70
|
+
| T2 | Tracked ALL-CAPS eyebrow above every heading; mono for decorative meta labels | Only where it encodes information |
|
|
71
|
+
| T2 | Meta strings "A · B · C"; labels "WORD — fragment" | Plain sentence-case labels |
|
|
72
|
+
| T3 | Framework size ramp verbatim (12/14/16/18/24/30/36/48/60/72) | Modular ratio (1.2 / 1.25 / 1.333), ≤5 sizes |
|
|
73
|
+
| T3 | Close weights (400 vs 600); body at 600 | Extreme contrast (200–300 vs 700–900); body 400 |
|
|
74
|
+
| T3 | Headlines ≥48px with default tracking | −0.02 to −0.05em, leading 0.85–1.05 |
|
|
75
|
+
|
|
76
|
+
### Layout & composition
|
|
77
|
+
| Tier | Tell | Fix |
|
|
78
|
+
|---|---|---|
|
|
79
|
+
| T1 | Stock page order: pill badge → centered headline → 2 CTAs → logo row → 3 feature cards → pricing → CTA band | Sections as claims with proof; neighbors use different structures |
|
|
80
|
+
| T1 | Three equal icon cards with the icon in a tinted rounded square | Structure follows content (list, table, diagram, one large proof) |
|
|
81
|
+
| T2 | Fully centered page, no alignment axis | Left-aligned grid; ≤3 shared left edges |
|
|
82
|
+
| T2 | Every section the same height/padding/heading size | Rhythm: section gaps clearly larger than internal gaps, varied |
|
|
83
|
+
| T2 | 01/02/03 markers on content that is not a sequence | Number only real steps |
|
|
84
|
+
| T3 | Big number + small label + stat row as hero | Open with the subject's most characteristic element |
|
|
85
|
+
| T3 | Glass pill floating nav; fake grey-bar dashboard as hero art | Real product, real data |
|
|
86
|
+
|
|
87
|
+
### Components & surfaces
|
|
88
|
+
| Tier | Tell | Fix |
|
|
89
|
+
|---|---|---|
|
|
90
|
+
| T1 | SaaS card kit: one radius (16–24px) + same soft shadow everywhere; cards in cards | Radius by role (child ≤ parent); shadows only on floating layers |
|
|
91
|
+
| T2 | Card with shadow + border + tinted fill at once | Pick one separation method |
|
|
92
|
+
| T2 | Glassmorphism / backdrop-blur without depth meaning | Opaque surfaces with tone steps |
|
|
93
|
+
| T2 | Default icon set at default size, the usual five (zap, shield-check, bot, sparkles, rocket) | Fewer icons; icons only where they speed recognition |
|
|
94
|
+
| T3 | "→" appended to every link/CTA; same hover-lift on every card | Affordance via convention; hover only where clickable |
|
|
95
|
+
| T3 | Colored thick left border on a rounded card as decoration | Border only for state |
|
|
96
|
+
|
|
97
|
+
### Motion
|
|
98
|
+
| Tier | Tell | Fix |
|
|
99
|
+
|---|---|---|
|
|
100
|
+
| T2 | Same fade-and-slide-up on every section on scroll; count-up stats | One orchestrated moment; user-triggered motion explains change |
|
|
101
|
+
| T3 | Drifting blobs, pulsing cards, shimmer that answers no question | Delete |
|
|
102
|
+
| T3 | Bounce/elastic easing, `transition: all`, linear UI easing | ease-out in, ease-in out; transform/opacity only |
|
|
103
|
+
|
|
104
|
+
### Copy & content
|
|
105
|
+
| Tier | Tell | Fix |
|
|
106
|
+
|---|---|---|
|
|
107
|
+
| T1 | Invented round stats (10x, 99.9%, 10,000+), fake logos/testimonials | Delete anything unsourced; list sample content for replacement |
|
|
108
|
+
| T1 | Placeholder people/brands (Jane Doe, Sarah Johnson, Acme, Globex), lorem ipsum | Real or clearly marked sample content |
|
|
109
|
+
| T2 | Filler verbs: unlock, supercharge, empower, elevate, seamless, streamline | Say what the product does, in the user's words |
|
|
110
|
+
| T2 | Emoji in headings and bullets | Remove |
|
|
111
|
+
| T3 | Generic CTAs ("Get started", "Submit", "Learn more") | Outcome label ("Save changes", "Book a table") |
|
|
112
|
+
| T3 | Empty state = generic illustration + two lines that fit any product | Specific reason + direct action |
|
|
113
|
+
|
|
114
|
+
### Behavioral slop
|
|
115
|
+
| Tier | Tell | Fix |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| T1 | `outline: none` without `:focus-visible` replacement | Visible focus ring, ≥3:1 against adjacent colors |
|
|
118
|
+
| T1 | Missing loading / empty / error / disabled states | Design all of them |
|
|
119
|
+
| T2 | Forms with no validation, placeholder-as-label, pre-disabled submit | Visible labels, inline errors, focus first error |
|
|
120
|
+
| T2 | Critical actions only visible on hover; color-only status | Always reachable; text/icon + color |
|
|
121
|
+
| T2 | No `prefers-reduced-motion` variant | Keep content, drop travel |
|
|
122
|
+
|
|
123
|
+
## Craft thresholds (checkable)
|
|
124
|
+
|
|
125
|
+
**Type.** 1–2 families. Body 16–20px (≥16px on mobile inputs), line-height 1.45–1.6, measure
|
|
126
|
+
45–75ch (hero 30–45ch). Display ≥3× body on marketing pages; ≤3 visible sizes on dense app
|
|
127
|
+
screens. Real punctuation (curly quotes, “…”, en/em dashes). `tabular-nums` for compared numbers.
|
|
128
|
+
|
|
129
|
+
**Color.** Contrast text ≥4.5:1, large text (≥24px or ≥18.66px bold) and UI boundaries/icons
|
|
130
|
+
≥3:1 (WCAG 1.4.3 / 1.4.11). Color never the sole carrier of meaning (1.4.1). ≤3 contrast
|
|
131
|
+
treatments per view.
|
|
132
|
+
|
|
133
|
+
**Space & shape.** One spacing scale (4/8/12/16/24/32/48/64/96/128). Groups separated more than
|
|
134
|
+
items within them. Radius: one scale by role, nested radius concentric.
|
|
135
|
+
|
|
136
|
+
**Targets.** ≥24×24 CSS px (WCAG 2.5.8); ≥44px on touch (Apple 44pt, Material 48dp).
|
|
137
|
+
|
|
138
|
+
**Motion.** 100–400ms; ~100ms for toggles, 200–300ms for dialogs, nothing ≥500ms; entrances
|
|
139
|
+
slightly longer than exits; stagger 60–90ms; travel 16–32px.
|
|
140
|
+
|
|
141
|
+
**Feedback timing.** 0.1s feels instant; >1s needs an indicator; 2–10s spinner; ≥10s percent-done
|
|
142
|
+
+ cancel. Loaders appear after ~150–300ms and stay ≥300ms. Skeletons match final dimensions.
|
|
143
|
+
|
|
144
|
+
**Accessibility floor.** WCAG 2.2 AA, including 2.4.11 Focus Not Obscured (sticky headers →
|
|
145
|
+
`scroll-padding`), 2.5.7 drag alternative, 1.4.10 reflow at 320px, never disable zoom.
|
|
146
|
+
|
|
147
|
+
## Slop score
|
|
148
|
+
|
|
149
|
+
Count tells by tier on the reviewed surface: `T1×3 + T2×2 + T3×1`.
|
|
150
|
+
- 0–3 — distinctive or deliberately neutral
|
|
151
|
+
- 4–8 — template-leaning; fix T1/T2 first
|
|
152
|
+
- ≥9 — reads as AI-generated; redo direction, don't patch
|
|
153
|
+
|
|
154
|
+
A tell is exempt when `DESIGN.md` or the brief explicitly chooses it — record the exemption.
|
|
155
|
+
|
|
156
|
+
## Sources
|
|
157
|
+
|
|
158
|
+
- Anthropic frontend-design skill — https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
|
|
159
|
+
- Anthropic, Improving frontend design through skills — https://claude.com/blog/improving-frontend-design-through-skills
|
|
160
|
+
- Anthropic cookbook, Prompting for frontend aesthetics — https://github.com/anthropics/claude-cookbooks/blob/main/coding/prompting_for_frontend_aesthetics.ipynb
|
|
161
|
+
- How to fix AI slop in web design — https://capitalandcompute.net/blog/fix-ai-slop-design/
|
|
162
|
+
- ux-skill: detecting AI slop — https://github.com/Laith0003/ux-skill/wiki/How-to-detect-AI-slop-in-your-design
|
|
163
|
+
- Impeccable — https://github.com/pbakaus/impeccable · Taste Skill — https://github.com/Leonxlnx/taste-skill
|
|
164
|
+
- Vercel Web Interface Guidelines — https://vercel.com/design/guidelines
|
|
165
|
+
- Practical Typography — https://practicaltypography.com/summary-of-key-rules.html
|
|
166
|
+
- NN/g: heuristics, severity, hierarchy, response times, progress, errors, empty states, animation duration — https://www.nngroup.com/articles/
|
|
167
|
+
- Laws of UX — https://lawsofux.com/ · WCAG 2.2 — https://www.w3.org/WAI/WCAG22/quickref/
|
|
@@ -152,9 +152,9 @@ Required, all of it in `SKILL.md`:
|
|
|
152
152
|
`review-orchestrator/SKILL.md` → **Severity (canonical)** and add one table
|
|
153
153
|
saying where this reviewer's recurring conditions land under it. Ten private
|
|
154
154
|
rubrics feeding one sort produce a ranking that means ten things at once.
|
|
155
|
-
- **Shared laws** — copy the
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
- **Shared laws** — copy the four verbatim from the orchestrator: no unreproducible
|
|
156
|
+
harm claim above `info`, never flag the theoretical, one finding per class, a
|
|
157
|
+
deliberate choice is no defect until its reason is read and shown wrong.
|
|
158
158
|
- **Class scope** — `blocker` and `major` carry every site holding the shape and
|
|
159
159
|
the enumeration method that found them.
|
|
160
160
|
- **Orchestrated Review Contract** — return `REVIEW_RESULT` per
|
|
@@ -267,7 +267,7 @@ Report done only once all of these hold:
|
|
|
267
267
|
files — is what proves the reviewer will be dispatched.
|
|
268
268
|
- The `SKILL.md` carries all six required parts from Step 3: Scope naming the
|
|
269
269
|
neighbouring reviewers it excludes, a Checklist of performable checks, a
|
|
270
|
-
pointer to the canonical severity rubric with no rubric of its own, the
|
|
270
|
+
pointer to the canonical severity rubric with no rubric of its own, the four
|
|
271
271
|
shared laws verbatim, the class-scope contract, and the Orchestrated Review
|
|
272
272
|
Contract with its own finding-id prefix.
|
|
273
273
|
- `--origin` was passed whenever a source file exists, and the recorded path is
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-direction
|
|
3
|
+
description: |
|
|
4
|
+
Use when a new product, landing page or redesign needs a distinctive visual concept before
|
|
5
|
+
any UI code is written, or when existing UI looks generic or AI-made and you need to make the UI
|
|
6
|
+
unique (визуальный концепт, не нейрослоп). Writes DESIGN.md:
|
|
7
|
+
subject facts, three directions, an idea sentence, palette with computed contrast, type,
|
|
8
|
+
ASCII wireframes, motion stance, one signature element, and a not-doing list.
|
|
9
|
+
NOT for: implementing the components (ui-craft) or reviewing existing UI (review-ui-ux).
|
|
10
|
+
triggers:
|
|
11
|
+
- "design direction"
|
|
12
|
+
- "visual concept"
|
|
13
|
+
- "make the ui unique"
|
|
14
|
+
- "не нейрослоп"
|
|
15
|
+
- "визуальный концепт"
|
|
16
|
+
- "/ui-direction"
|
|
17
|
+
metadata:
|
|
18
|
+
author: "MrCipherSmith"
|
|
19
|
+
version: "1.0.0"
|
|
20
|
+
origin: "authored"
|
|
21
|
+
category: "planning"
|
|
22
|
+
compatible_harnesses: "cursor,codex,zed,opencode,claude"
|
|
23
|
+
license: "MIT"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# UI Direction — concept before code
|
|
27
|
+
|
|
28
|
+
Without direction a model draws the average website. This skill replaces "modern and clean"
|
|
29
|
+
with a concept derived from the subject, written down so every later page and every later run
|
|
30
|
+
reuses it. Read `rules/core/ui-anti-slop.mdc` first — it is the shared tell catalog and the
|
|
31
|
+
thresholds this skill must respect.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Workflow
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
ui-direction Progress:
|
|
39
|
+
- [ ] Step 1: Establish the brief (subject, audience, primary job, surface type)
|
|
40
|
+
- [ ] Step 2: Read what already exists (brand, DESIGN.md, tokens, real content)
|
|
41
|
+
- [ ] Step 3: Mine 8–12 subject facts
|
|
42
|
+
- [ ] Step 4: Deal three directions
|
|
43
|
+
- [ ] Step 5: Pick one; write the idea sentence; competitor + swap test
|
|
44
|
+
- [ ] Step 6: Plan palette, type, layout (ASCII), motion, signature, imagery
|
|
45
|
+
- [ ] Step 7: Generic-default self-check; revise and log what changed
|
|
46
|
+
- [ ] Step 8: Write DESIGN.md and report
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Step 1 — Brief
|
|
52
|
+
|
|
53
|
+
Establish, from the request and the repo:
|
|
54
|
+
|
|
55
|
+
| Field | Example |
|
|
56
|
+
|---|---|
|
|
57
|
+
| Subject | an independent bike-repair shop in Lisbon |
|
|
58
|
+
| Audience | commuters with a broken bike today |
|
|
59
|
+
| Primary job / one required action | book a repair slot |
|
|
60
|
+
| Surface type | `marketing` (page that persuades) or `app` (screen that is used: dashboard, admin, editor, inbox, settings) |
|
|
61
|
+
| Constraints | existing brand, framework, component library, dark mode, locales |
|
|
62
|
+
|
|
63
|
+
Ask only when a missing field blocks the concept; otherwise state one concrete assumption and
|
|
64
|
+
continue. If the brief names a specific look, follow it exactly and skip Step 4.
|
|
65
|
+
|
|
66
|
+
## Step 2 — Read what exists
|
|
67
|
+
|
|
68
|
+
- Existing `DESIGN.md`, theme/tokens files, Tailwind config, logo, brand guide, screenshots.
|
|
69
|
+
- Real content: product names, prices, copy, data shapes. Real content beats placeholders in
|
|
70
|
+
every later step.
|
|
71
|
+
- An established design system is a constraint, not a reason to be bland: the direction then
|
|
72
|
+
lives in composition, content, imagery, and the signature element.
|
|
73
|
+
|
|
74
|
+
## Step 3 — Mine the subject (8–12 facts)
|
|
75
|
+
|
|
76
|
+
Raw material for the concept: the name and what it means, the place, the trade's tools and
|
|
77
|
+
materials, its numbers, rituals, printed artefacts (receipts, tickets, labels, manuals, maps),
|
|
78
|
+
its vocabulary, what the audience is anxious about. Write them as a list in `DESIGN.md`.
|
|
79
|
+
|
|
80
|
+
## Step 4 — Three directions
|
|
81
|
+
|
|
82
|
+
Sketch three different directions in 3–4 lines each, each grounded in different facts from
|
|
83
|
+
Step 3. Concrete references only ("workshop repair tag + chalkboard price list",
|
|
84
|
+
"1970s transit signage") — never adjectives like "modern", "clean", "bold", "premium".
|
|
85
|
+
At least one direction must be uncomfortable for you; the comfortable one is the average.
|
|
86
|
+
|
|
87
|
+
## Step 5 — Choose and test
|
|
88
|
+
|
|
89
|
+
Pick one; give the reason in terms of the subject and audience. Then write the idea sentence:
|
|
90
|
+
|
|
91
|
+
> On this page, **[the subject's thing]** becomes **[the direction's device]**.
|
|
92
|
+
|
|
93
|
+
- **Competitor test** — would the nearest real competitor fit the same sentence equally well?
|
|
94
|
+
If yes, the idea is too generic; go back to Step 4.
|
|
95
|
+
- **Swap test** — could a competitor put its logo on the result unnoticed? Same verdict.
|
|
96
|
+
|
|
97
|
+
## Step 6 — Plan
|
|
98
|
+
|
|
99
|
+
| Dimension | What to decide | Hard limits (from ui-anti-slop) |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| Palette | 4–6 named colors with roles: ground, ink, accent, + support/status. Hex + role + where used | Accent on primary action + ≤1 other. Body pairs ≥4.5:1, UI pairs ≥3:1 — compute and list the ratios |
|
|
102
|
+
| Type | 1–2 families with roles, scale ratio, body size/leading/measure | No default-only Inter/Roboto/system; marketing display ≥3× body; app ≤3 visible sizes |
|
|
103
|
+
| Layout | Grid, alignment axis, section/screen list with one sentence each, ASCII wireframes at desktop and phone | Neighbor sections differ in structure; no stock page order |
|
|
104
|
+
| Shape | Radius scale by role, separation method (tone vs border vs shadow) | Shadows only on floating layers |
|
|
105
|
+
| Motion | The one orchestrated moment (or none) + interaction feedback | 100–400ms, reduced-motion variant |
|
|
106
|
+
| Signature | Exactly ONE memorable element, tied to the idea sentence | One. Not two. |
|
|
107
|
+
| Imagery | Order: project's own → generated → open-licensed real → drawn in code → type & color only | No stock blobs, floating people, fake dashboards |
|
|
108
|
+
| Copy voice | 3 rules for the voice + outcome-labeled primary CTA | No filler verbs, no invented proof |
|
|
109
|
+
|
|
110
|
+
For `app` surfaces: color is for data and status, panels stay quiet, density matches the
|
|
111
|
+
task, and every screen lists its empty / loading / error / sparse / dense states.
|
|
112
|
+
|
|
113
|
+
## Step 7 — Generic-default self-check
|
|
114
|
+
|
|
115
|
+
Re-read the plan as a stranger. For each dimension ask: *is this what a model would produce for
|
|
116
|
+
any similar page?* Score the plan against the tell catalog in `ui-anti-slop.mdc`. Any T1 tell,
|
|
117
|
+
or slop score ≥4, means revise. Log every revision as `changed X → Y because Z`.
|
|
118
|
+
Then remove one element from the plan.
|
|
119
|
+
|
|
120
|
+
## Step 8 — Output
|
|
121
|
+
|
|
122
|
+
Write `DESIGN.md` at the project root (or the path the user names; update in place if it exists):
|
|
123
|
+
|
|
124
|
+
```markdown
|
|
125
|
+
# Design Direction — <product>
|
|
126
|
+
|
|
127
|
+
## Brief
|
|
128
|
+
## Subject facts
|
|
129
|
+
## Directions considered (3, with why the other two lost)
|
|
130
|
+
## Idea sentence
|
|
131
|
+
## Palette (name | hex | role | contrast pairs)
|
|
132
|
+
## Typography (family | role | scale | body size/leading/measure)
|
|
133
|
+
## Layout (grid, alignment, ASCII wireframes desktop + phone)
|
|
134
|
+
## Shape & elevation
|
|
135
|
+
## Motion
|
|
136
|
+
## Signature element
|
|
137
|
+
## Imagery
|
|
138
|
+
## Voice & copy rules
|
|
139
|
+
## Not doing (explicit tells banned for this project)
|
|
140
|
+
## Exemptions (tells deliberately chosen, with reason)
|
|
141
|
+
## Revision log
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Report to the user: idea sentence, the three directions in one line each, why this one, the
|
|
145
|
+
signature element, and the path to `DESIGN.md`. Offer `ui-craft` as the next step.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Exit criteria
|
|
150
|
+
|
|
151
|
+
Done only when `DESIGN.md` exists with every section filled, the idea sentence passed the
|
|
152
|
+
competitor and swap tests, the plan has no T1 tell and a slop score ≤3 (or recorded
|
|
153
|
+
exemptions), every listed contrast pair meets its threshold, and the revision log names what
|
|
154
|
+
the self-check changed.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Iron Laws
|
|
159
|
+
|
|
160
|
+
| Rule | Why |
|
|
161
|
+
|---|---|
|
|
162
|
+
| No code in this skill | Code before direction is how the average gets built |
|
|
163
|
+
| Every choice cites a subject fact or the brief | Unanchored choices are the model's prior |
|
|
164
|
+
| Exactly one signature element | Two signatures compete; none is memorable |
|
|
165
|
+
| Contrast ratios are computed, not assumed | Distinctive and unreadable is still a failure |
|
|
166
|
+
| Interaction stays conventional | Distinctive look, familiar behavior (Jakob's Law) |
|
|
167
|
+
| Do not repeat the previous project's direction | Re-convergence on your own favorites is slop too |
|
|
168
|
+
|
|
169
|
+
## Red Flags
|
|
170
|
+
|
|
171
|
+
| Thought | Reality |
|
|
172
|
+
|---|---|
|
|
173
|
+
| "Clean and modern will be fine" | That sentence is the average website |
|
|
174
|
+
| "Let's use a dark theme with one neon accent to stand out" | Second-wave slop; justify it from the subject or drop it |
|
|
175
|
+
| "I'll add a gradient for depth" | Depth comes from tone steps and layering, not washes |
|
|
176
|
+
| "The user didn't give content, so lorem ipsum" | Write plausible, clearly-marked sample content from subject facts |
|
|
177
|
+
| "Three directions is overkill" | The first idea is the most probable one |
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-craft
|
|
3
|
+
description: |
|
|
4
|
+
Use when you implement the design, restyle, or сверстай a page, screen or component set and the result must look
|
|
5
|
+
designed rather than AI-generated: tokens first, real content, every state, purposeful
|
|
6
|
+
motion, WCAG 2.2 AA, verified in a real browser. Builds from DESIGN.md (run ui-direction
|
|
7
|
+
first when none exists) and adapts to the project's styling system.
|
|
8
|
+
NOT for: choosing the visual concept (ui-direction), reviewing a diff (review-ui-ux),
|
|
9
|
+
React/MobX architecture (review-frontend), or measured layout regressions (review-layout).
|
|
10
|
+
triggers:
|
|
11
|
+
- "build ui"
|
|
12
|
+
- "build this page"
|
|
13
|
+
- "сверстай"
|
|
14
|
+
- "restyle"
|
|
15
|
+
- "implement the design"
|
|
16
|
+
- "/ui-craft"
|
|
17
|
+
metadata:
|
|
18
|
+
author: "MrCipherSmith"
|
|
19
|
+
version: "1.0.0"
|
|
20
|
+
origin: "authored"
|
|
21
|
+
category: "quality"
|
|
22
|
+
compatible_harnesses: "cursor,codex,zed,opencode,claude"
|
|
23
|
+
license: "MIT"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# UI Craft — build it designed, then look at it
|
|
27
|
+
|
|
28
|
+
Implementation skill. The concept lives in `DESIGN.md`; the guard rails live in
|
|
29
|
+
`rules/core/ui-anti-slop.mdc`. This skill turns both into code and refuses to call it done
|
|
30
|
+
until it has looked at real renders.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Workflow
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
ui-craft Progress:
|
|
38
|
+
- [ ] Step 0: Gate — DESIGN.md exists (else run ui-direction or derive a minimal one)
|
|
39
|
+
- [ ] Step 1: Read the stack and existing tokens/components
|
|
40
|
+
- [ ] Step 2: Tokens first
|
|
41
|
+
- [ ] Step 3: First screen at desktop + phone
|
|
42
|
+
- [ ] Step 4: Remaining sections/screens with varied structure
|
|
43
|
+
- [ ] Step 5: States, forms, interaction
|
|
44
|
+
- [ ] Step 6: Motion and accessibility pass
|
|
45
|
+
- [ ] Step 7: Browser verification loop (≤3 rounds)
|
|
46
|
+
- [ ] Step 8: Pre-delivery checklist and honest report
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Step 0 — Gate
|
|
52
|
+
|
|
53
|
+
- `DESIGN.md` present → read it fully; it overrides personal taste and this skill's defaults.
|
|
54
|
+
- Absent and the task is a new surface or a redesign → stop and offer `ui-direction`.
|
|
55
|
+
- Absent and the task is a small addition to an existing UI → derive a 10-line direction from
|
|
56
|
+
the existing tokens and screens, write it to `DESIGN.md`, and state that you did.
|
|
57
|
+
|
|
58
|
+
## Step 1 — Read the stack
|
|
59
|
+
|
|
60
|
+
Find the styling system (Tailwind config, CSS variables, CSS modules, styled-components,
|
|
61
|
+
AntD/MUI/shadcn theme), the component library, and two or three existing screens. Adapt the
|
|
62
|
+
rules below to that stack — never introduce a second styling system. If the project has
|
|
63
|
+
convention docs (`CLAUDE.md`, `STYLING.md`, `THEMING.md`), they win over this skill.
|
|
64
|
+
|
|
65
|
+
## Step 2 — Tokens first
|
|
66
|
+
|
|
67
|
+
Before any component, define or extend semantic tokens:
|
|
68
|
+
|
|
69
|
+
- **Color** — the DESIGN.md palette as semantic roles (`--color-ground`, `--color-ink`,
|
|
70
|
+
`--color-accent`, `--color-muted`, `--color-danger` …), light and dark tuned separately.
|
|
71
|
+
No raw hex in components.
|
|
72
|
+
- **Type** — families, the modular scale (≤5 sizes), weights at the extremes, body
|
|
73
|
+
16–20px / 1.45–1.6, display tracking −0.02 to −0.05em.
|
|
74
|
+
- **Space** — one scale (4/8/12/16/24/32/48/64/96/128). No one-off pixel values.
|
|
75
|
+
- **Radius** — a scale by role; nested radius concentric (child ≤ parent).
|
|
76
|
+
- **Elevation** — shadow tokens for floating layers only (menus, popovers, dialogs).
|
|
77
|
+
- **Motion** — durations (fast ~100ms, base ~200ms, slow ~300ms) and easings
|
|
78
|
+
(ease-out enter, ease-in exit).
|
|
79
|
+
|
|
80
|
+
With a component library: override its theme tokens instead of fighting each component.
|
|
81
|
+
Library defaults left untouched are a tell.
|
|
82
|
+
|
|
83
|
+
## Step 3 — First screen first
|
|
84
|
+
|
|
85
|
+
Build the first screen at desktop and 390px before anything else. It must answer the visitor's
|
|
86
|
+
first question in large type, carry the signature element from DESIGN.md, and offer one primary
|
|
87
|
+
action with an outcome label. Check it in the browser (Step 7 method) before continuing —
|
|
88
|
+
direction mistakes are cheapest here.
|
|
89
|
+
|
|
90
|
+
## Step 4 — The rest
|
|
91
|
+
|
|
92
|
+
- Each section is a claim with its proof; delete sections without a claim.
|
|
93
|
+
- Neighbor sections use different structures. Structure follows content: tables for tabular
|
|
94
|
+
data, lists for lists, one large proof instead of three small cards.
|
|
95
|
+
- `app` surfaces: quiet panels, aligned figures, `tabular-nums`, color reserved for data and
|
|
96
|
+
status, navigation that folds away on phones.
|
|
97
|
+
- Real copy from the brief. Missing content → clearly-marked sample content, listed in the
|
|
98
|
+
report. Never invent stats, logos, testimonials, or customers.
|
|
99
|
+
|
|
100
|
+
## Step 5 — States, forms, interaction
|
|
101
|
+
|
|
102
|
+
Every interactive element: default, hover (only where clickable), `:focus-visible`, active,
|
|
103
|
+
disabled, loading. Every data view: loading, empty, error, sparse, dense.
|
|
104
|
+
|
|
105
|
+
- Loading: indicator after ~150–300ms; spinner for 2–10s; percent-done + cancel for ≥10s;
|
|
106
|
+
skeletons with final dimensions.
|
|
107
|
+
- Empty: specific reason + direct action. Never "No results" while still loading.
|
|
108
|
+
- Errors: next to the source, plain language, what happened + how to fix, input preserved.
|
|
109
|
+
- Forms: visible label on every field (placeholder is never the label), correct `type` /
|
|
110
|
+
`inputmode` / `autocomplete`, paste allowed, submit enabled until submission starts, focus
|
|
111
|
+
the first error, inputs ≥16px on mobile.
|
|
112
|
+
- Destructive actions: confirm or an Undo window. Optimistic updates roll back on failure.
|
|
113
|
+
- Behavior stays conventional: `<a>` navigates, `<button>` acts, Enter submits, Esc closes.
|
|
114
|
+
|
|
115
|
+
## Step 6 — Motion and accessibility
|
|
116
|
+
|
|
117
|
+
- Motion: animate `transform`/`opacity` only, never `transition: all`; 100–400ms; one
|
|
118
|
+
orchestrated moment at most; every animation has a `prefers-reduced-motion` variant that keeps
|
|
119
|
+
content and drops travel; nothing loops for >5s without a pause control.
|
|
120
|
+
- WCAG 2.2 AA floor: text ≥4.5:1, large text and UI boundaries ≥3:1, color never the only
|
|
121
|
+
signal, focus ring visible and not obscured by sticky bars (`scroll-padding`), targets
|
|
122
|
+
≥24px (≥44px on touch), drag has a click alternative, reflow at 320px, zoom never disabled,
|
|
123
|
+
icon-only buttons have accessible names, `aria-live="polite"` for toasts/inline validation,
|
|
124
|
+
heading order and a skip link.
|
|
125
|
+
|
|
126
|
+
## Step 7 — Browser verification loop
|
|
127
|
+
|
|
128
|
+
Open the result in a real browser (built-in browser / Playwright / preview server):
|
|
129
|
+
|
|
130
|
+
1. Screenshot at **1440**, **768**, **390** px, light and dark if supported.
|
|
131
|
+
2. Look at the screenshots, not at the code. Squint test: the intended focal element still
|
|
132
|
+
dominates when blurred. Five-second test: what is this and what do I do?
|
|
133
|
+
3. Score against the tell catalog in `ui-anti-slop.mdc`; measure contrast and target sizes on
|
|
134
|
+
the render, not from class names.
|
|
135
|
+
4. Fix the top 3 problems. Repeat — at most 3 rounds; then report what remains.
|
|
136
|
+
|
|
137
|
+
No browser available → say so explicitly and list the checks that were not run.
|
|
138
|
+
|
|
139
|
+
## Step 8 — Pre-delivery checklist and report
|
|
140
|
+
|
|
141
|
+
- [ ] Tokens only; no raw hex or one-off spacing in components
|
|
142
|
+
- [ ] DESIGN.md signature element present; exactly one
|
|
143
|
+
- [ ] No T1 tells; slop score ≤3 (or exemptions recorded in DESIGN.md)
|
|
144
|
+
- [ ] All states implemented for every interactive element and data view
|
|
145
|
+
- [ ] WCAG 2.2 AA floor met on the render
|
|
146
|
+
- [ ] Reduced-motion variant for every animation
|
|
147
|
+
- [ ] Verified at 1440 / 768 / 390 (or stated as not run)
|
|
148
|
+
- [ ] Before finishing: removed one element
|
|
149
|
+
|
|
150
|
+
Report: what was built, screenshots or their paths, slop score with remaining tells, sample
|
|
151
|
+
content to replace, checks not run. Offer `review-ui-ux` for an independent pass.
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Iron Laws
|
|
156
|
+
|
|
157
|
+
| Rule | Why |
|
|
158
|
+
|---|---|
|
|
159
|
+
| DESIGN.md wins over taste | The concept was chosen deliberately; drifting back is re-convergence |
|
|
160
|
+
| Never "done" without looking at renders | Slop is invisible in code and obvious on screen |
|
|
161
|
+
| Never invent proof | Fake numbers and logos destroy trust and are a T1 tell |
|
|
162
|
+
| One styling system | Mixed systems drift into inconsistent tokens |
|
|
163
|
+
| Don't claim unrun checks | An honest gap is fixable; a false pass ships |
|
|
164
|
+
|
|
165
|
+
## Red Flags
|
|
166
|
+
|
|
167
|
+
| Thought | Reality |
|
|
168
|
+
|---|---|
|
|
169
|
+
| "I'll add states later" | Later never comes; missing states are behavioral slop |
|
|
170
|
+
| "`rounded-2xl shadow-lg` looks nice everywhere" | One radius + one shadow everywhere is the SaaS card kit |
|
|
171
|
+
| "A gradient will make the hero pop" | It makes it look like every other generated hero |
|
|
172
|
+
| "The library default button is fine" | Untouched library defaults are a tell |
|
|
173
|
+
| "Looks right in the code" | Open the browser |
|
|
@@ -141,7 +141,7 @@ object (`sites`, `enumeration_method`) — never a bare label.
|
|
|
141
141
|
3. **One finding per class, not one per occurrence.** When the same shape appears at several sites, report it once and list every site. Ten findings that are one finding hide the other nine problems.
|
|
142
142
|
4. **A deliberate choice is not a defect until its reason is read and shown wrong.** An explicit override, suppression or exemption, a comment or commit giving a reason, or a sibling doing the same is a decision: read its reason (the comment, `git log -L` or `git blame`, the sibling) before you report it, and report it only when you can show that reason wrong. A project rule is checked against accepted platform practice and its known exceptions before a deviation from it is reported.
|
|
143
143
|
|
|
144
|
-
This reviewer satisfies
|
|
144
|
+
This reviewer satisfies laws 1-3 by construction (law 4 is the premise judge's question, Wave D, for its findings at `minor` and above): `evidence` always names the
|
|
145
145
|
matched artefacts/facts and the claim text (never an unreproducible claim); a
|
|
146
146
|
finding is synthesized only against a claim actually extracted from the real
|
|
147
147
|
description, never a hypothetical one; and each claim is its own site, so
|
|
@@ -136,7 +136,7 @@ Gate, same dedup, same Wave C verification.
|
|
|
136
136
|
3. **One finding per class, not one per occurrence.** When the same shape appears at several sites, report it once and list every site. Ten findings that are one finding hide the other nine problems.
|
|
137
137
|
4. **A deliberate choice is not a defect until its reason is read and shown wrong.** An explicit override, suppression or exemption, a comment or commit giving a reason, or a sibling doing the same is a decision: read its reason (the comment, `git log -L` or `git blame`, the sibling) before you report it, and report it only when you can show that reason wrong. A project rule is checked against accepted platform practice and its known exceptions before a deviation from it is reported.
|
|
138
138
|
|
|
139
|
-
This reviewer satisfies
|
|
139
|
+
This reviewer satisfies laws 1-3 by construction (law 4 is the premise judge's question, Wave D, for its findings at `minor` and above): `evidence` always names the
|
|
140
140
|
hunk location, quotes the changed line, and states every dimension's
|
|
141
141
|
probability (never an unreproducible claim); a finding is synthesized only
|
|
142
142
|
against the hunk actually scored, never a hypothetical pattern; and each
|
|
@@ -210,7 +210,7 @@ other reviewer's: same Quality Gate, same dedup, same Wave C verification.
|
|
|
210
210
|
3. **One finding per class, not one per occurrence.** When the same shape appears at several sites, report it once and list every site. Ten findings that are one finding hide the other nine problems.
|
|
211
211
|
4. **A deliberate choice is not a defect until its reason is read and shown wrong.** An explicit override, suppression or exemption, a comment or commit giving a reason, or a sibling doing the same is a decision: read its reason (the comment, `git log -L` or `git blame`, the sibling) before you report it, and report it only when you can show that reason wrong. A project rule is checked against accepted platform practice and its known exceptions before a deviation from it is reported.
|
|
212
212
|
|
|
213
|
-
This reviewer already satisfies
|
|
213
|
+
This reviewer already satisfies laws 1-3 by construction (law 4 is the premise judge's question, Wave D, for its findings at `minor` and above): `evidence` always
|
|
214
214
|
names the hunk and quotes it (never an unreproducible claim), a finding is
|
|
215
215
|
only synthesized when the hunk itself is checked against the clause (never a
|
|
216
216
|
theoretical pattern), and `synthesizeFindingsFromViolations` dedupes by
|
|
@@ -134,7 +134,7 @@ same dedup, same Wave C verification.
|
|
|
134
134
|
3. **One finding per class, not one per occurrence.** When the same shape appears at several sites, report it once and list every site. Ten findings that are one finding hide the other nine problems.
|
|
135
135
|
4. **A deliberate choice is not a defect until its reason is read and shown wrong.** An explicit override, suppression or exemption, a comment or commit giving a reason, or a sibling doing the same is a decision: read its reason (the comment, `git log -L` or `git blame`, the sibling) before you report it, and report it only when you can show that reason wrong. A project rule is checked against accepted platform practice and its known exceptions before a deviation from it is reported.
|
|
136
136
|
|
|
137
|
-
This reviewer satisfies
|
|
137
|
+
This reviewer satisfies laws 1-3 by construction (law 4 is the premise judge's question, Wave D, for its findings at `minor` and above): severity is fixed at
|
|
138
138
|
`minor` — never higher — and `evidence` always names the scenario's linked
|
|
139
139
|
code and the exact files this diff touched (never an unreproducible claim);
|
|
140
140
|
a scenario is only asked about when a real link of its own is in the diff,
|
|
@@ -781,13 +781,18 @@ costs the time to its first failure, not the whole suite. The baseline always ru
|
|
|
781
781
|
a green run is the same with or without the flag, so a survivor stays a survivor. One verdict can move: a mutant that fails an early test and would hang in a later one is `killed` with bail and `timeout` without it. Any other command shape
|
|
782
782
|
(`sh script`, quotes, pipes, `bunx`) runs as given. `--no-bail` turns this off and takes no value.
|
|
783
783
|
The `.json` record carries `bail: true` when it was applied; always `startedAt`, `loadavg` (sampled
|
|
784
|
-
at the start of the pass), `provenanceMs`, `copyMs` and `mutantsMs`; and `head` and `treeHash` only
|
|
784
|
+
at the start of the pass), `provenanceMs`, `copyMs` and `mutantsMs`; `sweptScratch` and `sweepMs` only when it removed leftover scratch; and `head` and `treeHash` only
|
|
785
785
|
when the worktree is the root of a git checkout and the size and time limits of that step held.
|
|
786
786
|
`treeHash` hashes the tracked changes against HEAD (staged or not) and the untracked, non-ignored
|
|
787
787
|
files, so two passes over the same code agree. It leaves out the review packages under
|
|
788
|
-
`.metaproject/reviews`, ignored files (the scratch copy still includes them), the inside of an
|
|
788
|
+
`.metaproject/reviews`, ignored files (the scratch copy still includes them, except linked worktrees, which it leaves out), the inside of an
|
|
789
789
|
untracked nested repository, and the content of an untracked file over 10 MiB (counted by size).
|
|
790
790
|
Records written before these fields exist stay valid.
|
|
791
|
+
The scratch copy leaves out linked worktrees (such as those under `.claude/worktrees/` and `.worktrees/`);
|
|
792
|
+
submodules and embedded clones are copied, and the repository's own mutate-scratch never is, also with
|
|
793
|
+
`--scratch tmp`. Before copying, a pass removes the operator's own `keryx-mutate-*` directories whose owner
|
|
794
|
+
died (no heartbeat for two minutes) or stopped refreshing its marker for ten minutes, and unmarked ones older
|
|
795
|
+
than six hours.
|
|
791
796
|
|
|
792
797
|
`keryx review complete` refuses while proposed mutants are unrun on an attended round, unless the
|
|
793
798
|
operator waived the pass themselves: the `review_waive_mutation` card in keryx shell, or their answer to
|
|
@@ -837,7 +837,7 @@ If the repository has local convention docs such as `CLAUDE.md`, `AGENTS.md`,
|
|
|
837
837
|
| `**/*.test.*`, `**/*.spec.*`, `**/*.integration.test.*`, `**/*.msw.ts`, `src/test/**`, `test/**`, `e2e/**` | `review-testing-practices` |
|
|
838
838
|
| `src/core/**`, `core/**`, `shared/**`, `foundation/**` | `review-core-boundaries` |
|
|
839
839
|
| `src/core/flow/**`, `src/graph/**`, `src/shared/flow/**` | `review-flow-graph` |
|
|
840
|
-
| A `.tsx`/`.jsx`/`.css`/`.scss` hunk that adds or changes a sizing or spacing utility on a rendered element — `w-*`, `min-w-*`, `max-w-*`, `flex-*`, `basis-*`, `grid-cols-*`, `truncate`, `line-clamp-*`, `overflow-*`, `p*`/`m*`/`gap-*` and their logical `ps-*`/`pe-*`/`ms-*`/`me-*` forms, or an inline `style` carrying a dimension | `review-layout` |
|
|
840
|
+
| A `.tsx`/`.jsx`/`.css`/`.scss` hunk that adds or changes a sizing or spacing utility on a rendered element — `w-*`, `min-w-*`, `max-w-*`, `flex-*`, `basis-*`, `grid-cols-*`, `truncate`, `line-clamp-*`, `overflow-*`, `p*`/`m*`/`gap-*` and their logical `ps-*`/`pe-*`/`ms-*`/`me-*` forms, or an inline `style` carrying a dimension | `review-layout` (and `review-ui-ux` for any non-test, non-story `.tsx`/`.jsx`/`.vue`/`.svelte`/`.html`/`.css`/`.scss` change to user-facing UI) |
|
|
841
841
|
| `pr-context.md` is in the package | `review-pr-contract` |
|
|
842
842
|
|
|
843
843
|
These convention reviewers are additive: keep the generic reviewers selected by normal detection,
|
|
@@ -1010,7 +1010,7 @@ Review Plan Preview must include an `Optional legacy/profile reviewers` group (e
|
|
|
1010
1010
|
| `--testing-practices` | `review-testing-practices` |
|
|
1011
1011
|
| `--core-boundaries` | `review-core-boundaries` |
|
|
1012
1012
|
| `--flow-graph` | `review-flow-graph` |
|
|
1013
|
-
| `--layout` | `review-layout` |
|
|
1013
|
+
| `--layout` / `--ui-ux` | `review-layout` / `review-ui-ux` (UI/UX and AI-slop; live mode too when a URL or dev server is available) |
|
|
1014
1014
|
| `--pr-contract` | `review-pr-contract` |
|
|
1015
1015
|
| `--all` | all reviewers above (including `review-highload` and project convention reviewers when local convention docs exist; `review-clean-code` and `review-style` only when the round started with `--style`, and nothing a project lists under `reviewRoles.disabled` in `routing.config.json`); never the legacy/profile reviewers, which stay flag-only |
|
|
1016
1016
|
| `--verify` | `review-verifier`, started on the first blocker or major and re-run for each later one (`SKILL.detail.md` § "Early verifier"); checks the findings by running something. Delete-only. |
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"model": {
|
|
55
|
-
"description": "The `model` block `keryx review tier` printed for this dispatch (Step 6) — pasted verbatim, never composed by hand. `tier` is the mechanical vocabulary the command emits (`light`/`standard`/`deep`), never a model name. `provider`/`model` are present when the command resolved a concrete model; `inherit: true
|
|
55
|
+
"description": "The `model` block `keryx review tier` printed for this dispatch (Step 6) — pasted verbatim, never composed by hand. `tier` is the mechanical vocabulary the command emits (`light`/`standard`/`deep`), never a model name. `provider`/`model` are present when the command resolved a concrete model; legacy unresolved tiers use `inherit: true`. A routing-v2 refusal instead emits `dispatchable: false` and dispatch-check rejects it, so it can never become an implicit session fallback. Field naming otherwise matches `model` in `contracts/subagent-dispatch.schema.json` and the object `keryx review tier --json` prints under its own `model` key.",
|
|
56
56
|
"type": "object",
|
|
57
57
|
"additionalProperties": false,
|
|
58
58
|
"required": [
|
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
"type": "boolean",
|
|
94
94
|
"description": "True when the provider/model were set by the routing table's `review` category (`keryx review tier` emits it on a routed pick) rather than tier-ranked discovery. Additive to `tier_resolution`, which still records how the tier resolved a model; the two questions are independent."
|
|
95
95
|
},
|
|
96
|
+
"dispatchable": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "False only when routing v2 refused selection. This tier result is report-only and dispatch-check rejects it; it must not be reinterpreted as inherit/session fallback."
|
|
99
|
+
},
|
|
96
100
|
"tier_resolution": {
|
|
97
101
|
"type": "string",
|
|
98
102
|
"enum": [
|