@kenkaiiii/ggcoder 5.86.3 → 5.87.1

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.
Files changed (105) hide show
  1. package/README.md +23 -32
  2. package/assets/skills/bulletproof/SKILL.md +3 -1
  3. package/assets/skills/compliance-guard/SKILL.md +1 -1
  4. package/assets/skills/durable/SKILL.md +1 -1
  5. package/assets/skills/lean/SKILL.md +3 -1
  6. package/dist/app-sidecar/progress-manager.d.ts +2 -20
  7. package/dist/app-sidecar/progress-manager.js +2 -15
  8. package/dist/app-sidecar/progress-manager.js.map +1 -1
  9. package/dist/app-sidecar/royale.d.ts +26 -24
  10. package/dist/app-sidecar/royale.js +85 -187
  11. package/dist/app-sidecar/royale.js.map +1 -1
  12. package/dist/app-sidecar.js +32 -40
  13. package/dist/app-sidecar.js.map +1 -1
  14. package/dist/config.d.ts +12 -0
  15. package/dist/config.js +24 -94
  16. package/dist/config.js.map +1 -1
  17. package/dist/core/autopilot-gate.js +2 -3
  18. package/dist/core/autopilot-gate.js.map +1 -1
  19. package/dist/core/bundled-agents.js +7 -27
  20. package/dist/core/bundled-agents.js.map +1 -1
  21. package/dist/core/checklist-items.d.ts +0 -8
  22. package/dist/core/checklist-items.js +0 -8
  23. package/dist/core/checklist-items.js.map +1 -1
  24. package/dist/core/code-retrieval.d.ts +1 -1
  25. package/dist/core/code-retrieval.js +2 -2
  26. package/dist/core/code-retrieval.js.map +1 -1
  27. package/dist/core/mcp/deferred-catalog.d.ts +1 -1
  28. package/dist/core/mcp/deferred-catalog.js +1 -1
  29. package/dist/core/prompt-commands.js +0 -99
  30. package/dist/core/prompt-commands.js.map +1 -1
  31. package/dist/core/skills.d.ts +6 -0
  32. package/dist/core/skills.js +11 -3
  33. package/dist/core/skills.js.map +1 -1
  34. package/dist/core/style-packs/packs.js +1 -1
  35. package/dist/core/subagent-policy.d.ts +6 -0
  36. package/dist/core/subagent-policy.js +21 -2
  37. package/dist/core/subagent-policy.js.map +1 -1
  38. package/dist/core/subagent-receipt.d.ts +2 -2
  39. package/dist/core/subagent-receipt.js +5 -8
  40. package/dist/core/subagent-receipt.js.map +1 -1
  41. package/dist/core/trophies/catalog-more.js +3 -23
  42. package/dist/core/trophies/catalog-more.js.map +1 -1
  43. package/dist/core/trophies/engine.js +0 -4
  44. package/dist/core/trophies/engine.js.map +1 -1
  45. package/dist/core/trophies/types.d.ts +1 -1
  46. package/dist/core/trophies/types.js +0 -2
  47. package/dist/core/trophies/types.js.map +1 -1
  48. package/dist/goals-agent/goal-team.js +3 -4
  49. package/dist/goals-agent/goal-team.js.map +1 -1
  50. package/dist/modes/acp-mode.js +0 -1
  51. package/dist/modes/acp-mode.js.map +1 -1
  52. package/dist/system-prompt.js +1 -0
  53. package/dist/system-prompt.js.map +1 -1
  54. package/dist/tools/index.d.ts +0 -2
  55. package/dist/tools/index.js +0 -6
  56. package/dist/tools/index.js.map +1 -1
  57. package/dist/tools/operations.js +1 -1
  58. package/dist/tools/operations.js.map +1 -1
  59. package/dist/tools/prompt-hints.js +0 -6
  60. package/dist/tools/prompt-hints.js.map +1 -1
  61. package/dist/tools/skill.js +11 -5
  62. package/dist/tools/skill.js.map +1 -1
  63. package/dist/tools/tool-tiers.d.ts +2 -1
  64. package/dist/tools/tool-tiers.js +2 -3
  65. package/dist/tools/tool-tiers.js.map +1 -1
  66. package/dist/ui/App.js +0 -1
  67. package/dist/ui/App.js.map +1 -1
  68. package/dist/ui/components/SkillsOverlay.js +2 -1
  69. package/dist/ui/components/SkillsOverlay.js.map +1 -1
  70. package/package.json +6 -5
  71. package/assets/skills/clarify/SKILL.md +0 -39
  72. package/assets/skills/code-review/SKILL.md +0 -82
  73. package/assets/skills/code-review/references/agent-diffs.md +0 -27
  74. package/assets/skills/code-review/references/tests.md +0 -19
  75. package/assets/skills/evidence-led-ui/LICENSES.md +0 -79
  76. package/assets/skills/evidence-led-ui/SKILL.md +0 -95
  77. package/assets/skills/evidence-led-ui/references/anti-defaults.md +0 -110
  78. package/assets/skills/evidence-led-ui/references/archetypes.md +0 -97
  79. package/assets/skills/evidence-led-ui/references/craft-rulings.md +0 -242
  80. package/assets/skills/evidence-led-ui/references/direction.md +0 -116
  81. package/assets/skills/evidence-led-ui/references/methodology.md +0 -64
  82. package/assets/skills/evidence-led-ui/references/observed-patterns.md +0 -68
  83. package/assets/skills/evidence-led-ui/references/production-contract.md +0 -148
  84. package/assets/skills/evidence-led-ui/references/provenance.md +0 -142
  85. package/assets/skills/evidence-led-ui/references/quality-rubric.md +0 -126
  86. package/assets/skills/evidence-led-ui/references/ui-libraries.md +0 -30
  87. package/assets/skills/refactoring/SKILL.md +0 -72
  88. package/assets/skills/refactoring/references/agent-pitfalls.md +0 -46
  89. package/assets/skills/refactoring/references/legacy.md +0 -70
  90. package/assets/skills/refactoring/references/smells.md +0 -71
  91. package/assets/skills/root-cause/SKILL.md +0 -46
  92. package/assets/skills/shared-language/SKILL.md +0 -32
  93. package/assets/skills/tdd/SKILL.md +0 -42
  94. package/dist/app-sidecar/royale-bug.d.ts +0 -19
  95. package/dist/app-sidecar/royale-bug.js +0 -112
  96. package/dist/app-sidecar/royale-bug.js.map +0 -1
  97. package/dist/app-sidecar/royale-deploy.d.ts +0 -5
  98. package/dist/app-sidecar/royale-deploy.js +0 -76
  99. package/dist/app-sidecar/royale-deploy.js.map +0 -1
  100. package/dist/tools/code-nav.d.ts +0 -29
  101. package/dist/tools/code-nav.js +0 -299
  102. package/dist/tools/code-nav.js.map +0 -1
  103. package/dist/tools/search-code.d.ts +0 -10
  104. package/dist/tools/search-code.js +0 -90
  105. package/dist/tools/search-code.js.map +0 -1
@@ -1,39 +0,0 @@
1
- ---
2
- name: clarify
3
- description: Use when requirements are genuinely unsettled, or the user asks to be interviewed on a plan, spec or design. Do NOT use for routine work.
4
- ---
5
-
6
- # Clarify
7
-
8
- Decision-forcing, not permission-asking. Pick the mode:
9
-
10
- - **Quick gate** (mid-build, a blocking decision appears) → one `ask_user` call with every blocking question; keep building everything that does not depend on the answer. Never halt the whole task at one branch point.
11
- - **Full interview** (user asks to refine a plan/spec/design) → run the rounds below.
12
-
13
- ## Rules for every question
14
-
15
- 1. **Never ask for facts.** If reading code, running a command, or checking docs can answer it, do that instead. Only decisions reach the user: product calls, taste, tradeoffs with real stakes.
16
- 2. **Ask only the frontier.** A question is on the frontier when every decision it depends on is settled ("needs persistence?" before "which database?"). Never re-ask a settled decision.
17
- 3. **One `ask_user` call per round, never prose questions.** Each question: clickable options, your recommended option first and marked, a one-line reason, and the **default** you will apply if skipped ("Default if skipped: SQLite").
18
- 4. **Show behaviour choices as examples.** When options differ in behaviour, give one concrete case per option ("Given an empty cart, When checkout is pressed, Then …"). Examples expose disagreement that abstract wording hides.
19
-
20
- ## Full-interview rounds
21
-
22
- 1. Investigate first; list open decisions; keep only the frontier.
23
- 2. Ask the round (rule 3).
24
- 3. Record answers as one-line facts — `Settled: dark theme only`. Skipped questions settle to their stated default.
25
- 4. Repeat until a round yields no new frontier questions.
26
- 5. Close: print the decision list plus Given/When/Then acceptance examples for each load-bearing behaviour, then build (or hand back if the user only wanted the plan).
27
-
28
- Hand-offs (shared-language skill): newly settled domain terms → glossary; a decision that is hard to reverse, surprising, and a real tradeoff → offer an ADR.
29
-
30
- ## Do not
31
-
32
- - Drip one question per reply — batch the round.
33
- - Ask about futures nobody has committed to; ask only what is load-bearing for work about to start.
34
-
35
- ## Scaling: one agent or several
36
-
37
- Main thread only; the interview itself is never delegated. Fact-finding across several packages or the web may go to read-only repo helpers or a researcher. Helper types, brief contents and merge rules come with the skill loader.
38
-
39
- Sources (accessed 3 October 2026): Given-When-Then — https://martinfowler.com/bliki/GivenWhenThen.html
@@ -1,82 +0,0 @@
1
- ---
2
- name: code-review
3
- description: Use when asked to review a diff, PR or finished work. Do NOT use mid-build.
4
- ---
5
-
6
- # Code Review
7
-
8
- **Route first:**
9
-
10
- | Situation | Mode | Next |
11
- |---|---|---|
12
- | Small diff: one concern, ≲ ~400 changed lines, few files | **Single pass** | Method below; both axes yourself, spec first, then standards |
13
- | Large diff, multi-package PR, or many unrelated concerns | **Fan-out** | Build the ledger, then `## Scaling` |
14
- | Diff written by an agent (including you, this session) | Either mode **+ agent checks** | Also run `references/agent-diffs.md` |
15
- | User asks "is it secure?" | Defer | Load the `bulletproof` skill — do not audit security here |
16
-
17
- Two questions, kept separate because each contaminates the other:
18
-
19
- 1. **Spec axis** — does the change do what was asked, completely, and nothing unasked?
20
- 2. **Standards axis** — does it meet how this repo builds: design, correctness, error handling, tests, naming, dead code, scope?
21
-
22
- ## Method
23
-
24
- 1. **Pre-flight.** Resolve the exact ref/range (`git diff --stat <base>...<head>`) and confirm it is non-empty BEFORE review work — a bad ref must fail here. Read the motivating request/issue/task first; spec compliance cannot be judged without the spec. No spec available → say so and review standards only.
25
- 2. **Claims ledger.** List every claim from the PR description, commit messages, or the agent's "done" report ("adds X", "fixes Y", "tests pass", "no behaviour change"). Each row ends `verified (file:line or command output)` / `contradicted` / `unverifiable`. A claim with no matching hunk is a **[spec]** finding.
26
- 3. **Run what is cheap.** Typecheck, lint, affected tests — the commands CI uses. Record the actual result. Never write "tests pass" from reading.
27
- 4. **Read the whole diff, then the context.** Every changed line, plus callers of changed signatures (`code_nav references`). Start with design: does the change belong here, at this layer, now? (Google eng-practices ranks design first.)
28
- 5. **Spec pass, then standards pass.** Never interleave. Standards baseline below; agent failure modes in `references/agent-diffs.md`; test quality in `references/tests.md`.
29
- 6. **Report, then fix what the user selects.** Never auto-apply fixes mid-review.
30
-
31
- ## Findings format
32
-
33
- One line each, anchored and actionable:
34
-
35
- `[severity] [spec|standards] path/file.ts:42 — problem. Why it matters. Fix: concrete change.`
36
-
37
- | Severity | Means | Example |
38
- |---|---|---|
39
- | **blocking** | Must change before merge | Wrong behaviour, missing requirement, deleted/weakened test, swallowed error, hallucinated API or package |
40
- | **non-blocking** | Should change; may follow up | Duplicate helper, weak assertion on a non-critical path |
41
- | **nit** | Optional polish | Naming, local readability |
42
- | **question** | You cannot tell; author must answer | Unclear intent, unverifiable claim |
43
-
44
- Rules:
45
- - Keep **[spec]** and **[standards]** as two separate lists — never merge the lists into one ranking; the axes are not comparable and merging re-ranks by noise. Order by severity within each list.
46
- - Every finding cites a `file:line` you re-opened yourself. No line → it is a **question**, not a finding.
47
- - Comment on the code, not the author; say why.
48
- - Skip what tooling already enforces — if lint/CI catches it, it is noise.
49
- - Security: one line, `[defer → bulletproof] file:line — what looked risky`. Do not rate or fix it here.
50
-
51
- ## Standards baseline (when the repo defines none)
52
-
53
- - **Design:** abstraction with one caller; logic in the wrong layer; new dependency where stdlib or an installed package does it.
54
- - **Correctness:** boundary/off-by-one, null/empty handling, ordering/concurrency changes, error paths.
55
- - **Errors:** I/O and external calls without handling; broad `catch` that swallows or logs-and-continues.
56
- - **Tests:** behaviour change without a test; tests that assert internals or nothing (`references/tests.md`).
57
- - **Hygiene:** dead code, commented-out blocks, debug prints, names that hide intent, secrets in the diff.
58
- - **Suppression:** skipped tests, `as any`/`@ts-ignore`/`noqa`/`eslint-disable`, relaxed thresholds, `continue-on-error` in CI.
59
- - **Scope:** files or refactors outside the request; config, lockfile, or CI changes nobody asked for.
60
-
61
- ## Verdict
62
-
63
- - **works as asked** / **works with gaps** (name them) / **not ready** (blocking reasons).
64
- - Claims ledger: N verified, N contradicted, N unverifiable.
65
- - What you ran (commands + result) and **what was not checked**.
66
-
67
- Never "looks good"/"LGTM" without stating what was and was not verified. Never certify a change safe or bug-free.
68
-
69
- ## Scaling: one agent or several
70
-
71
- - Single-pass size: main thread only, never spawn.
72
- - Larger, multi-package, or > ~15 files: build a coverage ledger (rows = lens: spec, standards, tests, agent checks × package/directory; each ends `checked-with-findings` / `checked-clean` / `not-checked(reason)`), then one read-only repo helper per row group. Brief each with the exact `git diff <base>...<head> -- <paths>` and the spec text verbatim (spec lens) or repo conventions (standards lens).
73
- - Security-sensitive hunks: a security auditor briefed with the bulletproof skill root, then a verifier on its findings.
74
- - High-stakes merge (release, > ~1,000 lines): one fresh-context verifier tries to disprove each blocking finding.
75
- - Merging: dedupe, and keep spec and standards lists separate. Helper types, brief contents and merge rules come with the skill loader.
76
-
77
- ## Sources (SNAPSHOT, accessed 3 October 2026)
78
-
79
- - Google eng-practices — https://google.github.io/eng-practices/review/reviewer/looking-for.html, …/reviewer/comments.html, …/reviewer/standard.html, …/developer/small-cls.html
80
- - Conventional Comments (labels, blocking/non-blocking) — https://conventionalcomments.org/
81
- - Mutation-testing concept — https://stryker-mutator.io/docs/
82
- - Package hallucination — Spracklen et al., USENIX Security 2025 (arXiv:2406.10279); 2026 re-evaluation, not peer-reviewed (arXiv:2605.17062), via https://socket.dev/blog/slopsquatting-targets-across-frontier-llms
@@ -1,27 +0,0 @@
1
- # Agent-Generated Diffs: Failure Modes and Checks
2
-
3
- Run on any diff an agent wrote (including your own). Each row: what to look for → how to check → default severity.
4
-
5
- | Failure mode | Check | Severity |
6
- |---|---|---|
7
- | **Hallucinated package** | Every new dependency in a manifest: confirm it exists in the registry (`npm view <pkg>`, `pip index versions <pkg>`), is the intended project (not a look-alike name), and is actually imported. Install scripts → defer to bulletproof. | blocking |
8
- | **Hallucinated API / symbol** | Every newly called function, method, option, or flag: `code_nav definition`, or read the installed source in `node_modules`/site-packages for the pinned version. Typecheck passing is evidence only for typed code. | blocking |
9
- | **Weakened or deleted tests** | `git diff --stat -- '*test*' '*spec*'`. For each test hunk: removed assertions, loosened matchers (`toEqual`→`toBeDefined`, exact→`toContain`), widened tolerances, added `.skip`/`.only`/`xit`/`@pytest.mark.skip`, snapshots re-recorded without reason. | blocking unless justified in the PR |
10
- | **Mocked-away assertions** | Test mocks the very unit under test, or asserts only that a mock was called with whatever it was given. | blocking on critical paths |
11
- | **Swallowed errors** | New `try/catch` / `except Exception` that returns a default, logs and continues, or wraps a whole function. Compare with the code's previous error contract. | blocking |
12
- | **Dead code / duplicate helpers** | New function that duplicates an existing helper (`grep` the name's verbs, `code_search` the behaviour); unused exports, params, or branches left behind. | non-blocking |
13
- | **Scope creep / unrequested refactor** | Map every changed file to a requirement. Files with no requirement → list them. Renames/reformatting mixed with behaviour change → ask for a split. | non-blocking; blocking if it changes behaviour |
14
- | **Fake "done"** | Claims ledger (SKILL.md step 2): "tests pass" with no run; "handles X" with no hunk; TODO/placeholder/`throw new Error("not implemented")` left in. | blocking |
15
- | **Config / lockfile drift** | Lockfile changes without a manifest change (or vice versa); tsconfig/eslint/biome rules relaxed; CI steps removed or `continue-on-error` added; version bumps nobody asked for. | blocking for relaxed checks; question otherwise |
16
- | **Suppressions** | New `any`, `!`, `@ts-ignore`, `eslint-disable`, `# type: ignore`, `noqa`. Each needs a reason at the line. | non-blocking (blocking if hiding a failing check) |
17
- | **Generated / vendored edits** | Hand edits in `dist/`, generated, or vendored files. | blocking |
18
-
19
- ## Quick commands
20
-
21
- ```bash
22
- git diff --stat <base>...<head> # scope
23
- git diff <base>...<head> -- '*.lock' '*lock.json' '*.toml' 'package.json' # dependency drift
24
- git diff <base>...<head> | grep -nE '^\+.*(\.skip|\.only|xit\(|@ts-ignore|eslint-disable|as any|catch *\()'
25
- ```
26
-
27
- Grep hits are leads, not findings — open each at file:line before reporting.
@@ -1,19 +0,0 @@
1
- # Reviewing Tests
2
-
3
- Coverage says a line ran, not that a test would notice it breaking. Review tests with a mutation-testing mindset: "if I broke this line, which test fails?"
4
-
5
- ## Checks
6
-
7
- 1. **Each behaviour change has a test that fails without it.** Mentally revert the production hunk and trace which assertion would fail. None → the test does not cover the change. (Do not stash or reset the author's work to check; if a run is needed, ask first.)
8
- 2. **Mutation spot-check on critical lines** (money, auth, data writes, parsing boundaries): flip a comparison, drop a condition, return early. If a test framework exists (e.g. StrykerJS, mutmut, PIT), suggest running it on the changed files only; do not install it unasked.
9
- 3. **Assertion quality.** Flag:
10
- - no assertion, or only `toBeDefined`/`toBeTruthy`/`not.toThrow` where a value is knowable;
11
- - asserting a mock was called, with no check of the outcome;
12
- - snapshot of a huge object where one field matters;
13
- - assertions on private internals that block refactoring.
14
- 4. **Real seams.** Mocks only at external boundaries (network, clock, filesystem, randomness). Mocking the unit under test, or the module next to it, proves nothing.
15
- 5. **Edge cases present:** empty, null/undefined, boundary values, error path, concurrency/ordering when relevant.
16
- 6. **Determinism.** No real time, randomness, network, or test-order dependence. Flaky = blocking.
17
- 7. **Test diffs in a "no behaviour change" PR** need a stated reason; otherwise treat as weakened tests (see `agent-diffs.md` table).
18
-
19
- Report test findings under **[standards]** unless a required test the spec asked for is missing — that is **[spec]**.
@@ -1,79 +0,0 @@
1
- # Licenses and Attributions
2
-
3
- ## Third-party sources of derived observations
4
-
5
- ### VoltAgent/awesome-design-md
6
-
7
- - Repository: https://github.com/VoltAgent/awesome-design-md
8
- - Pinned commit: `664b3e78fd1a298ba11973822da988483256d4b4`
9
- - License: MIT
10
- - Copyright: Copyright (c) 2026 VoltAgent
11
- - Use here: counts and short source slugs in `references/observed-patterns.md` and `references/archetypes.md` were derived from the 74 `design-md/*/DESIGN.md` files at the pinned commit. The upstream files are no longer bundled (removed 22 October 2026); read them upstream.
12
-
13
- The upstream files are provided “as is.” Their analyses of public websites do not transfer ownership of third-party trademarks, proprietary fonts, brand assets, or visual identities.
14
-
15
- ## Referenced but not distributed
16
-
17
- The following works informed research comparisons. Their source text, assets, databases, and code are not copied into this skill.
18
-
19
- ### Anthropic frontend-design
20
-
21
- - Source: https://github.com/anthropics/skills/tree/main/skills/frontend-design
22
- - Repository license: Apache License 2.0
23
- - Use here: process-level comparison only; the resulting workflow and wording are original synthesis.
24
-
25
- ### Leonxlnx/taste-skill
26
-
27
- - Source: https://github.com/Leonxlnx/taste-skill
28
- - License: MIT
29
- - Use here: research comparison of common landing-page failure patterns; no files copied.
30
-
31
- ### NextLevelBuilder/ui-ux-pro-max-skill
32
-
33
- - Source: https://github.com/nextlevelbuilder/ui-ux-pro-max-skill
34
- - License: MIT
35
- - Use here: research comparison of heuristic-database organization; no files copied.
36
-
37
-
38
- ## Standards and policy references
39
-
40
- ### WCAG 2.2
41
-
42
- - Source: https://www.w3.org/TR/WCAG22/
43
- - Status checked 2026-07-13: W3C Recommendation, 12 December 2024
44
- - Use here: linked accessibility conformance floor; W3C text is not redistributed.
45
-
46
- ### WCAG2ICT
47
-
48
- - Source: https://www.w3.org/TR/wcag2ict-22/
49
- - Status checked 2026-07-21: W3C Group Note; informative guidance for applying WCAG 2 Level A and AA to non-web software.
50
- - Use here: linked native-software accessibility guidance; W3C text is not redistributed.
51
-
52
- ### U.S. Department of Justice ADA web and mobile accessibility guidance
53
-
54
- - Sources: https://www.ada.gov/resources/web-guidance/ and https://www.ada.gov/resources/2024-03-08-web-rule/
55
- - Status checked 2026-07-21: current DOJ guidance and Title II rule fact sheet.
56
- - Use here: legal-context and equal-access boundary only; no source text is redistributed and no legal-compliance conclusion is inferred.
57
-
58
- ### WCAG 3.0
59
-
60
- - Source: https://www.w3.org/TR/wcag-3.0/
61
- - Status checked 2026-07-13: W3C Working Draft, 3 March 2026
62
- - Use here: status clarification only; it is not presented as the conformance target.
63
-
64
- ### Refero Styles
65
-
66
- - Site: https://styles.refero.design/
67
- - Robots policy checked: https://styles.refero.design/robots.txt on 2026-07-13
68
- - Included material: none
69
- - Allowed runtime use: authorized Refero MCP or user-provided licensed/authorized export only
70
-
71
- ## Icons, fonts, and design-system documentation
72
-
73
- Lucide, Material Symbols, Phosphor, Carbon Design System, Google Fonts, and web.dev are linked as implementation references in `references/craft-rulings.md` and `references/provenance.md`. No icon package source, font binary, design-system source, or documentation text from those projects is bundled in this skill. Implementations must follow the selected package/font license and the host project's dependency, privacy, CSP, and attribution policies.
74
-
75
- W3C WAI and Internationalization guidance, WHATWG HTML, MDN, web.dev Baseline and Web Vitals, DTCG, Apple, Android, FTC, OWASP, OpenAI Apps SDK UX guidance, Microsoft HAX, the Agent Skills specification, and Anthropic skill-authoring documentation are linked as production-practice or package-structure references. No source text, example code, platform asset, specification, or report from those sources is redistributed. Short numeric thresholds, standard names, and factual status descriptions are attributed in `references/provenance.md`.
76
-
77
- ## Original material
78
-
79
- `SKILL.md` and `references/*.md` are original work produced for this installation, except for factual source names, links, and measured corpus observations represented as counts and short source slugs.
@@ -1,95 +0,0 @@
1
- ---
2
- name: evidence-led-ui
3
- description: Use when building, changing or reviewing UI: pages, sections, components, layout, styling, visual polish, accessibility. Do NOT use for behaviour-only changes.
4
- license: See LICENSES.md
5
- compatibility: Full review requires filesystem inspection and rendered screenshots (deferred `screenshot` tool); web research and device tooling are optional and unavailable checks must be reported as unverified. Baseline rows, WCAG 3.0 status and ADA Title II dates re-verified 22 October 2026.
6
- ---
7
-
8
- # Evidence-Led UI
9
-
10
- Pick your mode, then follow only that section:
11
-
12
- | Situation | Mode | Go to |
13
- | --- | --- | --- |
14
- | One control, state, border, icon inset, focus bug, or token tweak | Small edit | § Small-edit path |
15
- | New screen/page/component, redesign, or "make it look less generic" | Build | § Build loop |
16
- | "Review this UI", audit screens or flows, pre-ship look | Review | § Review mode |
17
-
18
- Every mode obeys § Binding defaults. Preserve the project's visual language unless the user asked for a redesign.
19
-
20
- ## Small-edit path
21
-
22
- Skip the design workflow, not verification:
23
-
24
- 1. Read the shared primitive, tokens, state rules, and callers. Reproduce the reported sequence before editing.
25
- 2. Focus, borders, glass, or dropdown icons: read `references/craft-rulings.md` § Control icon insets and § No sticky pointer focus. Find the rule that paints the defect before adding an override.
26
- 3. Fix the shared owner, not each screen. Check variants; remove superseded local treatments in scope. Added copy must pass § Copy must earn its space.
27
- 4. Run the applicable interaction regression matrix in `references/craft-rulings.md` via browser checks. Screenshots alone cannot pass interaction checks. Report actual evidence and unverified platforms.
28
-
29
- ## Build loop
30
-
31
- One design thesis, one author. Do not blend directions.
32
-
33
- 1. **Inspect.** Read nearest routes, components, tokens, type, icons, motion, and states. Reuse the local system; add no library just for a look. React and nothing local fits: read `references/ui-libraries.md` and use `ui_registry`/`ui_adopt` (via `tool_search`) for real Bklit/Kokonut source, never a lookalike.
34
- 2. **Content first.** Write real headline, labels, section copy, and realistic data (longest, empty, 0/1/many) before layout. Rank it. Delete sections with nothing true to say. Never invent metrics, testimonials, logos, or ratings; label fixtures. Details: `references/direction.md` § 1.
35
- 3. **Read the job.** Surface type, audience, single job, risk, platform, constraints. Infer from the project and state the inference; ask only for genuine taste or product decisions. Net-new or redesign: read the matching section of `references/archetypes.md`.
36
- 4. **Write the thesis** using the template in `references/direction.md` § 2: signature, type roles, OKLCH colour tokens with intended contrast pairs, spacing/density, radius/material, imagery, motion, rejected defaults. Broad work goes in `DESIGN.md`.
37
- 5. **Slop check the thesis** against `references/anti-defaults.md`. Every tell is replaced or justified with "This belongs because…". Run the neighbour test (§ 7 there).
38
- 6. **Plan states:** loading, empty, error, retry, success, disabled, destructive; hover, focus-visible, press, selected, expanded, pending; keyboard order, overlays, narrow/wide, reduced motion, zoom/reflow, long and localized text. Apply the accessibility sections of `references/production-contract.md`; the full contract for forms, navigation, data/AI, native, or release work.
39
- 7. **Implement** the complete flow with real content. Decision-critical information and the primary action stay visible or one obvious action away on desktop and mobile.
40
- 8. **Verify rendered output** (§ Rendered verification loop).
41
-
42
- ## Rendered verification loop
43
-
44
- 1. Load `screenshot` via `tool_search`. Capture desktop (~1440 px) and mobile (~390 px), plus key states.
45
- 2. Compare each capture against the written thesis line by line, then against `references/anti-defaults.md`.
46
- 3. Score with `references/quality-rubric.md`. Measure contrast of real rendered pairs; record pass/fail/unverified for applicable contract checks.
47
- 4. Fix the weakest criterion and every contract failure. Remove one decorative idea that does not serve the job. Re-capture.
48
- 5. Stop after one revision unless the gate still fails. Gate: **20/24 or higher**, no zero in accessibility, consistency and flow, responsive behaviour, state completeness, or content authenticity, and no applicable WCAG A/AA failure. Small components: 2 on every applicable floor criterion.
49
-
50
- No screenshot tool or browser available: say so, mark visual checks unverified, never claim the look was verified.
51
-
52
- ## Review mode
53
-
54
- Inspect code and rendered output. Return findings ordered by impact, each with screenshot or file:line evidence, label (`RUNTIME` observed, `CODE` read in source, `DEDUCED`, `SNAPSHOT` dated source), and the fix. Separate floor defects (accessibility, states, broken layout) from aesthetic opportunities (slop tells). Recommend one resolved direction.
55
-
56
- ## Binding defaults
57
-
58
- Details and fixes: `references/craft-rulings.md`.
59
-
60
- - **No emoji UI.** One coherent icon family; reuse the project's.
61
- - **Uniform geometry and one content rail.** Shared max-width, gutters, and breakpoint padding for nav, header, main, footer. Break alignment only for a stated content reason.
62
- - **Control icon insets.** Chevrons and trailing icons get a deliberate inline-end inset plus reserved text padding; never touch the edge or overlap text; logical properties for RTL.
63
- - **Reuse first.** Existing components, variants, tokens, focus rings, motion curves before new ones.
64
- - **Focus is not selection or decoration.** Diagnose the painted layer; one shared focus treatment separate from borders, glass, selected, expanded, error. No stacked rings. Prefer native `:focus-visible`; custom modality handling needs a reproduced defect and the regression matrix.
65
- - **No soft semantic tint-on-tint** unless requested or required by an existing variant.
66
- - **Motion:** no generic hover lift, no `transition: all`, named properties, tokens, reduced-motion path.
67
- - **Intentional type and colour:** see `references/direction.md`. Not Inter/violet-gradient by default on brand surfaces.
68
- - **Copy must earn its space.** No automatic subtitles, helper paragraphs, or footer notes; supporting text adds information the interface lacks. Named-outcome CTAs.
69
- - **No em dashes in UI copy** unless requested or exact supplied copy.
70
- - **WCAG 2.2 Level AA is the accessibility floor** for every applicable A/AA criterion across complete flows; native apps add WCAG2ICT and platform rules. Stricter project or legal rules win. Accessibility is never traded for aesthetics or speed.
71
- - **No unsupported accessibility claims.** Never say `ADA compliant`, `WCAG conformant`, or "accessible" from source review or scanners; that needs a defined scope, per-criterion evidence, manual keyboard and assistive-technology testing, and owner/legal review. Dated legal context: `references/production-contract.md` § 2.
72
-
73
- ## Scaling: one agent or several
74
-
75
- - Stay single-threaded for small edits, builds, redesigns, and reviews of one or two flows you can render yourself. One thesis, one author; never split a design across children.
76
- - Fan out a review of many screens, flows or apps: read-only repo helpers, one per disjoint flow, each owning ledger rows (flow × {slop tells, states, accessibility contract, responsive}) and capturing desktop and mobile screenshots; they read `references/anti-defaults.md`, `references/quality-rubric.md` and the accessibility sections of `references/production-contract.md`.
77
- - One researcher for a dated legal or platform claim. Fixes stay on the main thread (or editors on disjoint files) against the single thesis.
78
-
79
- Helper types, brief contents and merge rules come with the skill loader.
80
-
81
- ## Reference map
82
-
83
- Load only what the task needs; resolve paths from the skill root.
84
-
85
- - `references/direction.md`: content-first, thesis template, type, OKLCH colour, spacing, imagery, motion, stable Baseline features, INP practice.
86
- - `references/anti-defaults.md`: slop tells with replacement moves and the neighbour test.
87
- - `references/craft-rulings.md`: icons, geometry, insets, focus vs selection, regression matrix, type loading, contrast, copy rules.
88
- - `references/production-contract.md`: pass/fail semantics, WCAG/ADA/EAA context, forms, performance, platform, trust, AI, release evidence.
89
- - `references/quality-rubric.md`: rendered scoring gate.
90
- - `references/ui-libraries.md`: Bklit/Kokonut adoption and Motion APIs.
91
- - `references/archetypes.md`: surface-specific direction and upstream source slugs.
92
- - `references/observed-patterns.md`: measured corpus observations; read only the section that answers a question; keep numerator/denominator with any claim.
93
- - `references/methodology.md`, `references/provenance.md`, `LICENSES.md`: method, sources, standards status, licences, Refero boundary.
94
-
95
- The raw corpus is not bundled; to audit one claim, read that source at the pinned upstream commit listed in `references/provenance.md`. Corpus frequencies are observations of public surfaces, not brand truth or a reason to pick a colour, font, or layout. Mobile/native has no corpus documents; use platform guidance. Refero only through an authorized MCP or user export.
@@ -1,110 +0,0 @@
1
- # Slop Tells and Replacement Moves
2
-
3
- ## Contents
4
-
5
- 1. How to use this list
6
- 2. Composition tells
7
- 3. Colour, type, and surface tells
8
- 4. Content and copy tells
9
- 5. Motion and interaction tells
10
- 6. Craft regressions
11
- 7. Calibration: the default clusters
12
- 8. Final slop review
13
-
14
- ## 1. How to use this list
15
-
16
- A tell is not a ban. It is a choice that appears whatever the subject, so it signals "nobody decided this". Where the user's brief or the existing product pins down a direction, follow it exactly, even if it matches a tell. Where an axis is free, do not spend it on a tell.
17
-
18
- For each tell found in a plan or render, apply the replacement move, or keep it only if the "Keep when" condition holds and you write one sentence: **"This belongs because…"** naming the product, audience, or content reason. "Modern", "premium", "clean", "engaging", or "on brand" is not a reason.
19
-
20
- Run the list twice: on the written design thesis before code, and on desktop + mobile screenshots after.
21
-
22
- ## 2. Composition tells
23
-
24
- | Tell | Replacement move | Keep when |
25
- | --- | --- | --- |
26
- | Centered gradient hero: oversized centered headline, violet/blue glow, two CTAs, floating screenshot below | Open with the most characteristic thing in the subject's world: real product state, real data, a working demo, a strong photograph, or a plain typographic claim. Choose alignment after content. | The brand owns the gradient/light, the page has one conversion job, and the centered pause serves the narrative. |
27
- | Three equal icon-title-copy feature cards | Rank the content; give the main point more space; show the feature working; use a list or table for true peers. | Exactly three peer choices exist and comparison is the task. |
28
- | Bento grid by default | Map module size to priority and reading order; use a sequence or list otherwise. | A genuine overview of heterogeneous modules that users scan or rearrange. |
29
- | SaaS card kit: everything in identical rounded cards, one radius, same soft grey shadow | Group with whitespace and alignment. Containers only for real objects (selectable, draggable, separate records). Radius varies by role. | The items really are separate records. |
30
- | Decorative eyebrow: tracked ALL-CAPS or mono label above every heading | Delete it. | It names real taxonomy, step, status, or technical context. |
31
- | Numbered markers (01 / 02 / 03) on non-sequential content | Remove numbers. | The content is a real sequence: steps, timeline, ranking. |
32
- | Big-number stat strip ("10x faster", "99.9%", "50k+") | Show a sourced metric with unit, time frame, and consequence, or remove it. | The metric is auditable and central to the screen's decision. |
33
- | Floating tilted screenshot or fake dashboard mockup | Real UI at readable scale, cropped to the part that proves the adjacent claim. | Spatial overview matters, the image is current, perspective hides nothing. |
34
- | Fake terminal or code theatre | Real, copyable, versioned commands and output, or ordinary product evidence. | The user's task is genuinely code/CLI. |
35
- | Pills everywhere: nav, buttons, filters, badges, inputs | Pills for toggles/tags only; a small radius vocabulary elsewhere. | The product already uses a capsule motif deliberately. |
36
- | Icon medallion: line icon in the same tinted square above every section | Remove icons that repeat the heading. | Icons speed navigation, status scanning, or a real category system. |
37
- | Logo wall of invented or unlicensed customers | Real, permitted logos, or no social proof. | Supplied and approved. |
38
-
39
- ## 3. Colour, type, and surface tells
40
-
41
- | Tell | Replacement move | Keep when |
42
- | --- | --- | --- |
43
- | Purple/indigo/violet gradient as the default brand; Tailwind `indigo-500`/`violet-600` primary | Derive the hue from the subject, materials, or existing brand; build an OKLCH ramp (`references/direction.md` § Colour). | The existing brand is that hue. |
44
- | Out-of-box shadcn/Tailwind look: `slate`/`zinc` greys, `rounded-lg` everywhere, `ring-2 ring-offset-2`, default button set | Keep primitives for behaviour; restyle tokens: neutrals tinted toward the brand hue, a deliberate radius scale, the project's own focus treatment. | The project already ships that look; then preserve it. |
45
- | Inter, Geist, or bare `system-ui` as the whole aesthetic; Arial/Helvetica by neglect | Choose a family or pairing for this subject (`references/direction.md` § Type). | The existing system uses it, native fidelity is the goal, webfonts are prohibited, or it is dense app chrome. |
46
- | One headline word accented in gradient, italic, or colour | Let the whole headline carry the treatment, or make emphasis carry meaning (a value, a name). | The accented word is data. |
47
- | Glass cards: blurred translucent panels over colour blobs | One clear material model (flat, tonal, bordered, or measured elevation), one reason per layer. | Content sits over live media/map/video, or translucency is the local platform material. |
48
- | Dark equals premium; near-black `#0B0B0B`/`#111` with one acid-green or vermilion accent | Choose theme from environment, task duration, and media. If dark, tune OKLCH neutrals and measure contrast in both themes. | Media needs darkness, low-light use, or a tested dark-first brand. |
49
- | Warm cream (~`#F4F1EA`) + high-contrast serif + terracotta (~`#D97757`) | Anthropic names this its own Claude-interaction look; on a user's brief it reads as a tell. Choose another direction. | The brief asks for it. |
50
- | Broadsheet pastiche: hairline rules, zero radius, dense columns | Editorial structure only for editorial content. | The surface is editorial. |
51
- | Soft semantic tint-on-tint (low-opacity hue bg + same-hue text/icon/border) | `references/craft-rulings.md` § No soft semantic tint-on-tint. This one is a binding default, not a style preference. | The user requests it or scope requires reusing an existing variant. |
52
- | Huge type (96–160px) as the only idea | Build contrast from wording, measure, weight, width, and placement before size. | Campaign/editorial, short phrase, localization tested, type is the signature. |
53
- | Monospace for small data labels by reflex | Mono only for code and IDs; tabular numerals of the body face for figures. | Technical context the user reads as code. |
54
-
55
- ## 4. Content and copy tells
56
-
57
- | Tell | Replacement move | Keep when |
58
- | --- | --- | --- |
59
- | Lorem ipsum or "Feature one / Feature two" in review | Write real copy first (content-first rule in SKILL.md). | Never in review; label fixtures as fixtures. |
60
- | Fake metrics, testimonials, ratings, avatars, customer names, precise business data | Real content, or plainly labelled example data, or omit. | The user supplies approved fixtures or asks for a clearly marked prototype dataset. |
61
- | Generic CTAs: "Get started", "Learn more", "Submit", "Unlock the power of…" | Name the outcome ("Create invoice", "Book a table"). Keep the verb through the flow ("Publish" → toast "Published"). | Never as a default. |
62
- | Hype voice: "seamless", "effortless", "supercharge", "next-level", "revolutionize" | Say what it does in the user's own words. | Supplied brand copy. |
63
- | Middle-dot meta strings, `WORD — fragment` labels, `→` on every link | Plain sentence-case labels; arrows only where direction is literal. | Supplied copy. |
64
- | Emoji as icons, bullets, status, empty-state art | One coherent icon family (`references/craft-rulings.md` § 1). | Requested, or emoji is the content itself. |
65
- | Placeholder illustration: blob people, abstract 3D shapes, generic stock, unrelated generated hero art | Real product imagery, photography, data, or no image. | Requested and appropriate to the subject. |
66
- | Subtitle under every heading restating it | `references/craft-rulings.md` § Copy must earn its space. | It adds information needed here. |
67
- | Em dashes in UI copy | Full stop, comma, colon, parentheses, or two sentences. | Requested, or exact supplied/quoted/legal copy. |
68
- | Apologetic or vague errors ("Oops! Something went wrong") | Say what happened and how to fix it; no apology. | Never. |
69
-
70
- ## 5. Motion and interaction tells
71
-
72
- | Tell | Replacement move | Keep when |
73
- | --- | --- | --- |
74
- | Fade-and-slide-up on every section as it scrolls in | At most one orchestrated moment; content readable with motion off. | A single deliberate narrative beat. |
75
- | Hover lift, bob, or scale on every card/button | Colour, border, underline, icon-fill, opacity, or restrained shadow; stable geometry. | Movement communicates real drag, depth, or direct manipulation. |
76
- | Ambient perpetual motion: particles, gradient drift, marquees, auto-rotating cards | Still resting screen; animate state change only. Pause control if > 5 s. | Motion is the content (audio, time, live activity) and works paused. |
77
- | `transition: all` | Name properties; shared duration/easing tokens. | Never. |
78
- | Abrupt state swaps; layout shift on load | Short transitions on interpolable properties; skeletons matching final geometry; focus visible immediately. | Reduced motion or urgent feedback needs an instant change. |
79
- | Whole card clickable with nested buttons | One link target per card, or explicit buttons; never nested interactive elements. | Never. |
80
-
81
- ## 6. Craft regressions
82
-
83
- Treat each as a tell when found in a render; fixes live in `references/craft-rulings.md`:
84
-
85
- - accidental misalignment and drifting content rails;
86
- - a local button, modal, card, status colour, or focus ring duplicating an existing primitive with slightly different values;
87
- - mixed icon families (package icons, hand-drawn SVG, text glyphs together);
88
- - sticky pointer focus, stacked focus rings, edge-hugging dropdown chevrons.
89
-
90
- ## 7. Calibration: the default clusters
91
-
92
- Generated UI clusters into a few looks that appear whatever the subject (SNAPSHOT/DEDUCED; sources in `references/provenance.md` § Slop-tell sources). Recognise them in your own plan:
93
-
94
- 1. Purple-to-blue SaaS: centered hero, glow, Inter, three feature cards, logo wall, three-tier pricing.
95
- 2. shadcn default: zinc greys, `rounded-lg` cards, outline buttons, four KPI cards over a line chart.
96
- 3. Dark "premium": near-black, one neon accent, glass cards, grid-line background, mono labels.
97
- 4. Warm editorial: cream, serif display, terracotta accent, hairline rules.
98
- 5. Template chrome: ALL-CAPS eyebrows, middle-dot meta, `→` on links, emoji section markers.
99
-
100
- Ask: "Would I produce this same plan for a neighbouring product?" If yes, change the most transferable axis (usually colour, type, or hero composition) and state what changed and why.
101
-
102
- ## 8. Final slop review
103
-
104
- On the rendered desktop and mobile screenshots:
105
-
106
- 1. Cover the logo and accent colour. Can you still name the product and task?
107
- 2. Does any tell from §§ 2–5 remain without a "This belongs because…" sentence?
108
- 3. Is every number, quote, and logo traceable to real content or labelled as a fixture?
109
- 4. Is there exactly one memorable device, with everything around it quiet, and does it survive mobile without clutter?
110
- 5. Remove one decorative element. If the screen did not get worse, leave it removed.
@@ -1,97 +0,0 @@
1
- # Archetype Guidance
2
-
3
- ## How to choose
4
-
5
- Choose the archetype by the screen’s job, not the company category. A developer company’s billing console is application UI; its API reference is documentation; its launch page is marketing/brand. Hybrid screens may borrow one secondary archetype, but one must lead.
6
-
7
- All coverage and counts come from extraction version 1 of [`VoltAgent/awesome-design-md`](https://github.com/VoltAgent/awesome-design-md) at commit `664b3e78fd1a298ba11973822da988483256d4b4`. Each section names two aligned references and one contrast by upstream slug: the source is `https://github.com/VoltAgent/awesome-design-md/blob/664b3e78fd1a298ba11973822da988483256d4b4/design-md/<slug>/DESIGN.md`. References are observational analyses, not templates to copy.
8
-
9
- Every archetype also follows `craft-rulings.md`: no emoji UI, one coherent icon family, uniform key lines, reuse of local primitives, purposeful non-abrupt feedback without generic hover lift, intentional typography, measured contrast, consistent flow, and no generated em dashes in UI copy. Every implemented surface must also pass the applicable `production-contract.md` checks; archetype evidence never overrides semantics, accessibility, resilience, performance, platform, or trust requirements.
10
-
11
- ## Marketing and brand
12
-
13
- **Coverage:** **29/74 documents**. Dark **17/29**, mixed **7/29**, light **5/29**; motion mentioned in **19/29**. This is the largest and most technology-heavy group, so avoid exporting its conventions to product screens.
14
-
15
- **Design read:** Establish one claim, one audience, and one conversion. Let content cadence determine whether the composition is cinematic, editorial, demonstrative, or direct.
16
-
17
- **Direction:** Use a strong typographic or media hierarchy, variable section rhythm, and one subject-specific signature. Motion may stage narrative transitions, but it must not delay comprehension or interaction. Keep conversion hierarchy unmistakable.
18
-
19
- **Aligned evidence:** `apple`, `sanity`. **Useful contrast:** `figma`.
20
-
21
- **Reject:** A centered gradient headline, generic dashboard mockup, three equal feature cards, and floating glass shapes that could advertise any SaaS.
22
-
23
- ## Application UI
24
-
25
- **Coverage:** **7/74 documents**. Focus mentioned in **7/7**, disabled state in **6/7**, motion in **5/7**, keyboard language in only **1/7**. The sample is small and still based on public-site analyses.
26
-
27
- **Design read:** Name the repeated task, frequency, consequence of error, user expertise, and information that must remain visible while acting.
28
-
29
- **Direction:** Optimize stable navigation, predictable control placement, concise hierarchy, and fast state recognition. Use density appropriate to task frequency. Keep decorative layers behind the work surface. Add keyboard and loading/empty behavior even though the corpus documents it poorly.
30
-
31
- **Aligned evidence:** `linear.app`, `superhuman`. **Useful contrast:** `intercom`.
32
-
33
- **Reject:** Marketing-scale headings, scroll-led reveals, and oversized cards that turn repeated work into a tour.
34
-
35
- ## Dashboards and data-dense tools
36
-
37
- **Coverage:** **5/74 documents**. Dense language in **4/5**, focus in **5/5**, keyboard in **3/5**, error in **5/5**. Theme is dark **3/5**, light **1/5**, mixed **1/5**; the denominator is too small to prescribe a theme.
38
-
39
- **Design read:** Identify the decision the dashboard supports, update frequency, comparison axis, alert severity, and the smallest unit users scan repeatedly.
40
-
41
- **Direction:** Build a scan path before styling cards. Prefer alignment, separators, restrained surface steps, and semantic status encoding. Preserve row/column context, expose units, support keyboard navigation, and make filters visibly affect results. Charts should answer named questions rather than fill grid slots.
42
-
43
- **Aligned evidence:** `airtable`, `sentry`. **Useful contrast:** `miro`.
44
-
45
- **Reject:** Random metric tiles, equal visual weight for all data, unlabeled sparklines, and decorative gradients that compete with status colors.
46
-
47
- ## Commerce and marketplaces
48
-
49
- **Coverage:** **12/74 documents**. Theme is light **5/12**, dark **4/12**, mixed **3/12**; subtle-shadow policy appears in **8/12**; loading in **3/12** and empty state in **1/12**. Coverage spans retail, fintech, travel, and payments, so transaction risk varies widely.
50
-
51
- **Design read:** Resolve discovery versus purchase, inventory variability, trust burden, comparison behavior, and the role of imagery.
52
-
53
- **Direction:** Make product evidence, price, availability, trust, and primary transaction action legible in that order. Let imagery dictate card geometry when imagery is decision-critical. Use material softness only when it supports tactility or approachability. Design unavailable, loading, saved, and failure states explicitly.
54
-
55
- **Aligned evidence:** `airbnb`, `nike`. **Useful contrast:** `binance`.
56
-
57
- **Reject:** Generic product cards with fake ratings, identical crops, hidden fees, or a brand accent applied equally to navigation, price, badges, and purchase action.
58
-
59
- ## Editorial and content
60
-
61
- **Coverage:** **5/74 documents**. Asymmetry appears in **3/5**, full-bleed composition in **4/5**, motion in **1/5**, sharp-corner language in **3/5**. This is a small sample dominated by technology and media.
62
-
63
- **Design read:** Name the reading mode, expected session length, content hierarchy, recirculation goal, and whether imagery or text carries authority.
64
-
65
- **Direction:** Design reading rhythm through measure, leading, headline contrast, captions, metadata, and deliberate interruption. Use asymmetry when it clarifies editorial priority. Keep controls quiet and persistent enough to support progress, saving, or navigation.
66
-
67
- **Aligned evidence:** `wired`, `theverge`. **Useful contrast:** `spotify`.
68
-
69
- **Reject:** SaaS feature cards, pill labels on every taxonomy term, animated ornaments beside long-form copy, and uniform modules that erase editorial priority.
70
-
71
- ## Documentation and developer tools
72
-
73
- **Coverage:** **16/74 documents**. Dark **11/16**, mixed **4/16**, light **1/16**; sidebar language **8/16**; focus **13/16**; keyboard language **0/16**. The category is well represented but heavily biased toward developer marketing surfaces.
74
-
75
- **Design read:** Determine whether the user is learning, looking up, debugging, or copying; identify versioning, code-language, and navigation depth.
76
-
77
- **Direction:** Prioritize information scent, stable navigation, readable prose measure, copyable code, visible current context, and search. A technical accent or monospace register can support meaning, but code should not become decoration. Add keyboard access and command discoverability despite the corpus gap.
78
-
79
- **Aligned evidence:** `mintlify`, `vercel`. **Useful contrast:** `hashicorp`.
80
-
81
- **Reject:** Terminal theater, fake logs, neon syntax everywhere, hidden navigation, and dark mode chosen solely to look “developer.”
82
-
83
- ## Mobile and native surfaces
84
-
85
- **Coverage:** **0/74 documents**. The corpus cannot support a quantitative mobile/native house style.
86
-
87
- **Design read:** Resolve platform, input mode, reach zones, navigation convention, offline behavior, permissions, interruption, and whether the surface is phone, tablet, watch, or desktop native.
88
-
89
- **Direction:** Preserve the project’s platform conventions and native controls. Use official platform guidance and rendered/device testing as primary evidence. Borrow only content hierarchy and brand semantics from the closest corpus archetype. Plan touch, keyboard, pointer, dynamic type, safe areas, orientation, and reduced motion as applicable.
90
-
91
- **Aligned evidence:** none in this corpus. **Closest structural references:** `airbnb`, `superhuman`. **Useful contrast:** `apple` marketing analysis, which must not be mistaken for native UI guidance.
92
-
93
- **Reject:** Shrinking a desktop web composition into a phone viewport or inventing gestures without discoverable alternatives.
94
-
95
- ## Cross-archetype rule
96
-
97
- Select **two aligned references and one contrast**, then write why each is relevant to this exact screen. If the same palette, radius, font stack, composition, or motion policy survives unchanged across unrelated briefs, the thesis is under-specified.