@osovv/vv-opencode 2.7.0 → 2.8.0

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 (39) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +6 -3
  3. package/dist/lib/managed-skills.d.ts +1 -1
  4. package/dist/lib/managed-skills.js +5 -2
  5. package/dist/lib/managed-skills.js.map +1 -1
  6. package/package.json +1 -1
  7. package/schemas/vvoc/v3.json +1 -1
  8. package/templates/skills/vv-execute/SKILL.md +183 -291
  9. package/templates/skills/vv-execute/references/tool-contracts.md +1 -1
  10. package/templates/skills/vv-handoff/SKILL.md +39 -50
  11. package/templates/skills/vv-plan/SKILL.md +97 -153
  12. package/templates/skills/vv-plan/references/plan-template.xml +5 -0
  13. package/templates/skills/vv-reflect/SKILL.md +91 -111
  14. package/templates/skills/vv-review/SKILL.md +33 -26
  15. package/templates/skills/vv-spec/SKILL.md +51 -90
  16. package/templates/skills/vv-spec/references/spec-template.xml +6 -0
  17. package/templates/skills/vv-ui-design-principles/SKILL.md +46 -0
  18. package/templates/skills/{vv-design-principles → vv-ui-design-principles}/references/slop-tells.md +9 -0
  19. package/templates/skills/vv-verification/SKILL.md +67 -0
  20. package/templates/skills/vv-verification/references/create-your-verification-stack.md +201 -0
  21. package/templates/skills/vv-verification/references/evidence.md +110 -0
  22. package/templates/skills/vv-verification/references/formal.md +86 -0
  23. package/templates/skills/vv-verification/references/maintenance.md +88 -0
  24. package/templates/skills/vv-verification/references/oracles.md +110 -0
  25. package/templates/skills/vv-verification/references/strategy.md +126 -0
  26. package/templates/skills/vv-write-for-agents/SKILL.md +45 -0
  27. package/templates/skills/vv-write-for-agents/references/compilation.md +66 -0
  28. package/templates/skills/vv-write-for-agents/references/session.md +44 -0
  29. package/templates/skills/vv-write-for-agents/references/structure.md +35 -0
  30. package/templates/skills/vv-write-for-agents/references/validation.md +42 -0
  31. package/templates/skills/vv-write-for-humans/SKILL.md +56 -0
  32. package/templates/skills/vv-write-for-humans/references/fidelity.md +41 -0
  33. package/templates/skills/vv-write-for-humans/references/genres.md +38 -0
  34. package/templates/skills/vv-write-for-humans/references/patterns.md +39 -0
  35. package/templates/skills/vvoc-usage-analytics/SKILL.md +45 -43
  36. package/templates/skills/vvoc-usage-analytics/references/opencode-db-queries.md +12 -3
  37. package/templates/skills/vv-design-principles/SKILL.md +0 -51
  38. /package/templates/skills/{vv-design-principles → vv-ui-design-principles}/references/design-md.md +0 -0
  39. /package/templates/skills/{vv-design-principles → vv-ui-design-principles}/references/quality-floor.md +0 -0
@@ -0,0 +1,39 @@
1
+ # Patterns: defects above and at the word level
2
+
3
+ A pattern is a candidate, not a verdict: apply the pass condition, check the exception, then edit within the mode's permissions. Humans under deadline and non-native writers produce the same shapes, so this catalog is not evidence of authorship and must never be reported as one. Each entry lists pass condition → fix → exception.
4
+
5
+ ## Structure and argument (both languages)
6
+
7
+ 1. **Late thesis.** Pass: the change, decision, or finding appears after background the reader does not need first. Fix: move it up (restructure mode; in copyedit, flag). Exception: tutorial order that teaches before concluding.
8
+ 2. **Heading echo.** Pass: the first paragraph restates the heading with no new information. Fix: delete it, or replace it with the actual content. Exception: a lead-in that adds scope or audience.
9
+ 3. **Strawman objection.** Pass: the text refutes a position nobody stated ("some might say X is overkill, but…"). Fix: delete, or state the real tradeoff from the source. Exception: a documented objection that was actually raised — cite it.
10
+ 4. **Empty significance closer.** Pass: sections end with the same "why this matters" wrapper adding no fact. Fix: delete; if the significance is real, state the consequence once, where it belongs. Exception: a genuine consequence statement with content.
11
+ 5. **Inflated authority.** Pass: "experts believe", "it is widely known" with no source; a routine change described as pivotal. Fix: state the actual effect, or cite; otherwise drop the claim. Exception: an attributed quotation (protected).
12
+ 6. **Template formatting.** Pass: bold on every other phrase, forced triads, identical scaffolding regardless of content. Fix: emphasis only where the reader must not miss something; structure follows content. Exception: a project template that is the house style (level C).
13
+ 7. **Chat leftovers.** Pass: "Great question", "I hope this helps", "As of my last update" inside an artifact. Fix: delete. Exception: none in artifacts; in dialogue, proportionality governs, not this catalog.
14
+ 8. **Synonym cycling.** Pass: one concept renamed across sentences (client/service/component) without distinction. Fix: one term per concept. Exception: genuinely different referents, or an alias defined once.
15
+
16
+ ## English word-level
17
+
18
+ Patterns here include nominalization chains, filler openers, hedge stacks, and inflated verbs.
19
+
20
+ 9. **Nominalization chains.** Pass: "perform validation of", "make a decision". Fix: "validate", "decide". Exception: the noun is the term ("the validation" as a named stage).
21
+ 10. **Filler openers.** Pass: "It is important to note that", "It should be mentioned that". Fix: delete the opener. Exception: none — but the clause after it must survive intact, hedges included.
22
+ 11. **Hedge stacks.** Pass: "could potentially possibly". Fix: one honest hedge. Exception: a single meaningful hedge stays (see references/fidelity.md); legal and normative formulas stay.
23
+ 12. **Inflated verbs.** Pass: "serves as", "boasts", "features" where "is" or "has" loses nothing. Fix: use the plain verb. Exception: derive the verb from the mechanism — "is used" does not replace "wins" when the sentence is about precedence.
24
+
25
+ ## Русский язык (применять к русской прозе)
26
+
27
+ Основные семейства — канцелярит, отглагольные цепочки, канцелярские связки и дублированные оговорки.
28
+
29
+ 13. **Канцелярит.** Условие: «осуществляет проверку», «производит запись», «в целях улучшения». Исправление: «проверяет», «записывает», «чтобы улучшить». Исключение: юридические и нормативные формулы, где оборот — термин.
30
+ 14. **Отглагольные цепочки.** Условие: «для обеспечения возможности выполнения выгрузки». Исправление: «чтобы можно было выгрузить» (точнее — по источнику). Исключение: имя процесса-термина («выгрузка» как название операции).
31
+ 15. **«Является», «данный», «имеет место».** Условие: «X является причиной Y», «данный файл», «имеет место потеря данных». Исправление: «X — причина Y» (причинность должна быть в источнике), «этот файл» или просто «файл», «данные теряются». Исключение: «является» в определении термина может остаться.
32
+ 16. **Пассив без деятеля, когда деятель известен.** Условие: «было принято решение». Исправление: «команда решила» — только если деятель назван в источнике. Исключение: деятель неизвестен — не выдумывать.
33
+ 17. **Дублированные оговорки.** Условие: «в некоторых случаях может наблюдаться потеря данных». Исправление: «иногда теряются данные» — оговорка сохранена, дублирование снято; условия неизвестны — пометить, не додумывать. Исключение: нормативная двойная оговорка как термин.
34
+
35
+ ## Using this catalog
36
+
37
+ - Audit mode: report findings with pass-condition evidence and a minimal fix, marked by level (A meaning, B clarity, C project style).
38
+ - Draft self-check: run entries 1–8 once before delivery.
39
+ - Do not open this file end-to-end for a two-line copyedit; go to the specific entry you suspect.
@@ -3,56 +3,58 @@ name: vvoc-usage-analytics
3
3
  description: Use when the user asks about token usage, cache hit rate, cache efficiency, model or provider consumption, session costs, or whether a vvoc release or OpenCode upgrade changed caching behavior. Runs read-only analysis over vvoc analytics (CLI and JSONL) and historical opencode.db data, then reports findings without modifying anything.
4
4
  ---
5
5
 
6
- <skill>
7
- <identity>
8
- You are the vvoc-usage-analytics skill. You turn usage questions into evidence-based answers. You know the three data sources, their coverage boundaries, and the exact metric definitions, and you never guess a number you did not read from a source. You are an analyst, not a fixer: you report findings and leave changes to the user.
9
- </identity>
10
-
11
6
  <scope>
12
- <rule>OpenCode's database is strictly read-only: always connect with a `?mode=ro` URI (see references/opencode-db-queries.md). Never run UPDATE/INSERT/DELETE/DDL against it, even diagnostically.</rule>
13
- <rule>Never modify, delete, truncate, or "repair" analytics JSONL files, and never suggest doing so as a fix.</rule>
14
- <rule>Read-only also means no config changes: do not toggle plugins, rewrite vvoc.json, or restart anything unless the user explicitly asks for that as a separate task.</rule>
15
- <rule>Report findings only. Recommendations are fine; silent "fixes" to telemetry or config are out of scope.</rule>
16
- <rule>If a source is unavailable (no db file, empty JSONL, sqlite3 missing), say so explicitly and continue with the sources that exist instead of implying there was no usage.</rule>
7
+ Turn usage questions into evidence-based answers. Know the three data sources, their coverage boundaries, and the exact metric definitions, and never guess a number you did not read from a source. You are an analyst, not a fixer: report findings and leave changes to the user.
8
+
9
+ OpenCode's database is strictly read-only: always connect with a `?mode=ro` URI (see references/opencode-db-queries.md). Never run UPDATE/INSERT/DELETE/DDL against it, even diagnostically. Never modify, delete, truncate, or "repair" analytics JSONL files, and never suggest doing so as a fix. Read-only also means no config changes: do not toggle plugins, rewrite vvoc.json, or restart anything unless the user explicitly asks for that as a separate task. Report findings only; recommendations are fine, silent "fixes" to telemetry or config are out of scope. If a source is unavailable (no db file, empty JSONL, sqlite3 missing), say so explicitly and continue with the sources that exist instead of implying there was no usage.
17
10
  </scope>
18
11
 
19
- <data_sources>
20
- <source name="vvoc CLI" precedence="1">
21
- Prefer `vvoc analytics cache-hit-rate` for anything it can answer. It already dedupes, filters, groups, and formats:
12
+ <workflow>
13
+ 1. Clarify the question into metric(s), grouping, and time range. If the user's ask is vague ("is my cache ok?"), default to hit rate grouped by day for the last 14 days plus coverage, then offer deeper cuts.
14
+ 2. Pick the narrowest source that can answer it: CLI first; JSONL only for cuts the CLI lacks; opencode.db only for pre-plugin history or cost-per-session questions. State which source you are using and why.
15
+ 3. Run the query read-only. For db queries, use the reference snippets; adapt only filters (WHERE/LIMIT), not the hit-rate formula.
16
+ 4. Sanity-check coverage before answering: how many steps does the range contain, what share is cache-eligible (coverage), and where does each source's data begin. A hit rate over 12 steps means more than one over 12,000.
17
+ 5. Present findings as a compact table plus 2-4 sentences of interpretation. Every answer names its data source and time range. When mixing sources, state the JSONL start boundary explicitly so the user knows which numbers come from where.
18
+ 6. Offer the natural follow-up cut (by model, by session, before/after a date) instead of running all of them unasked.
19
+ </workflow>
20
+
21
+ <rules>
22
+ - Prefer the vvoc CLI for anything it can answer. It already dedupes, filters, groups, and formats.
23
+ - CLI coverage starts when the analytics plugin first ran (JSONL start date), and only steps after an OpenCode restart are recorded.
24
+ - Use raw monthly JSONL files only when the question needs something the CLI does not compute (unusual groupings, per-agent or per-message drill-downs, exact record inspection). Lines are JSON objects: `kind` is `usage` (one per step-finish part, dedupe by `partID` keeping the last) or `session` (dedupe by `sessionID`). jq, python, or bun one-liners are all fine — reading only.
25
+ - Use OpenCode's own SQLite database for history that predates the plugin and for per-session cost aggregates. It holds months of step-finish parts with tokens, session cost and token totals, and `session.version` — the OpenCode version. Always read it with the validated snippets in references/opencode-db-queries.md (`?mode=ro` URI). This is the only source that can answer "how did caching look before vvoc analytics existed" and "what did sessions cost".
26
+ - Tables over prose for any comparison; columns in the CLI's spirit (GROUP, STEPS, COVERAGE, HIT-RATE, CACHE-READ, CACHE-WRITE, FRESH-IN or their subset).
27
+ - Every number carries its source (CLI / JSONL / opencode.db) and time range.
28
+ - State validation context for db queries: the snippets were validated against OpenCode 1.18.x, and the supported host window is 2.0.18 and newer, below 3.0.0. If columns error out, report the schema mismatch instead of improvising SQL guesses.
29
+ - Interpretation stays factual: rising/falling hit rate, coverage share, outliers. Avoid unfounded causal claims; a vvoc version bump and a project switch can co-occur.
30
+ </rules>
31
+
32
+ <artifact>
33
+ Data sources, in precedence order:
34
+
35
+ | Precedence | Source | Use when | Coverage |
36
+ |---|---|---|---|
37
+ | 1 | vvoc CLI | anything it can answer: trend, release/version comparison, per session/model/provider/project grouping | starts when the analytics plugin first ran; only steps after an OpenCode restart |
38
+ | 2 | analytics JSONL (`$XDG_DATA_HOME/vvoc/analytics/usage-YYYY-MM.jsonl`) | cuts the CLI does not compute: unusual groupings, per-agent or per-message drill-downs, exact record inspection | monthly files from the plugin start date |
39
+ | 3 | opencode.db (`~/.local/share/opencode/opencode.db`, override via `$OPENCODE_DATA_HOME`) | pre-plugin history and per-session cost aggregates | months of step-finish parts; `session.version` carries the OpenCode version |
40
+
41
+ CLI examples:
22
42
  - Trend: `vvoc analytics cache-hit-rate --group-by day|week|month --since 30d`
23
43
  - Compare vvoc releases: `--group-by vvoc --since 30d`
24
44
  - Compare OpenCode versions: `--group-by opencode --since 30d`
25
45
  - Per session / model / provider / project: `--group-by session|model|provider|project`
26
46
  - Filters and output: `--since`/`--until` accept `Nd`/`Nw`/`Nm` or `YYYY-MM-DD`; `--project` is a case-insensitive substring; `--order steps|hit-rate|date`; `--limit N`; `--json` for machine-readable rows.
27
- Note: CLI coverage starts when the analytics plugin first ran (JSONL start date), and only steps after an OpenCode restart are recorded.
28
- </source>
29
- <source name="analytics JSONL" precedence="2">
30
- Use the raw monthly files `$XDG_DATA_HOME/vvoc/analytics/usage-YYYY-MM.jsonl` when the question needs something the CLI does not compute (unusual groupings, per-agent or per-message drill-downs, exact record inspection). Lines are JSON objects: `kind` is `usage` (one per step-finish part, dedupe by `partID` keeping the last) or `session` (dedupe by `sessionID`). jq, python, or bun one-liners are all fine — reading only.
31
- </source>
32
- <source name="opencode.db history" precedence="3">
33
- Use OpenCode's own SQLite database for history that predates the plugin and for per-session cost aggregates: `~/.local/share/opencode/opencode.db` (override via $OPENCODE_DATA_HOME when the user has one). It holds months of step-finish parts with tokens, session cost/token totals, and `session.version` = the OpenCode version. Always read it with the validated snippets in references/opencode-db-queries.md (`?mode=ro` URI). This is the only source that can answer "how did caching look before vvoc analytics existed" and "what did sessions cost".
34
- </source>
35
- </data_sources>
36
47
 
37
- <workflow>
38
- <step>Clarify the question into: metric(s), grouping, and time range. If the user's ask is vague ("is my cache ok?"), default to hit rate grouped by day for the last 14 days plus coverage, then offer deeper cuts.</step>
39
- <step>Pick the narrowest source that can answer it: CLI first; JSONL only for cuts the CLI lacks; opencode.db only for pre-plugin history or cost-per-session questions. State which source you are using and why.</step>
40
- <step>Run the query read-only. For db queries, use the reference snippets; adapt only filters (WHERE/LIMIT), not the hit-rate formula.</step>
41
- <step>Sanity-check coverage before answering: how many steps does the range contain, what share is cache-eligible (coverage), and where does each source's data begin. A hit rate over 12 steps means more than one over 12,000.</step>
42
- <step>Present findings as a compact table plus 2-4 sentences of interpretation. Every answer names its data source and time range. When mixing sources, state the JSONL start boundary explicitly so the user knows which numbers come from where.</step>
43
- <step>Offer the natural follow-up cut (by model, by session, before/after a date) instead of running all of them unasked.</step>
44
- </workflow>
48
+ Metric definitions:
49
+ - cache hit rate — token-weighted: `cacheRead / (cacheRead + cacheWrite + input)` summed over cache-eligible steps. A step is cache-eligible when `cacheRead + cacheWrite > 0`. Identical to the CLI and the SQL reference — do not invent per-step averaging.
50
+ - coverage — `eligibleSteps / steps`. Low coverage means the provider rarely reports cache tokens; say that, do not hide it behind a hit rate.
51
+ - n/a — groups with zero eligible steps have no hit rate. Report `n/a` — never `0%` — and show coverage so "provider does not report cache" stays distinguishable from "cache misses".
52
+ </artifact>
53
+
54
+ <refs>
55
+ - `references/opencode-db-queries.md` — validated read-only opencode.db snippets; load before any database query and adapt only WHERE/LIMIT filters.
56
+ </refs>
45
57
 
46
- <metric_definitions>
47
- <metric name="cache hit rate">Token-weighted: `cacheRead / (cacheRead + cacheWrite + input)` summed over cache-eligible steps. A step is cache-eligible when `cacheRead + cacheWrite > 0`. Identical to the CLI and the SQL reference — do not invent per-step averaging.</metric>
48
- <metric name="coverage">`eligibleSteps / steps`. Low coverage means the provider rarely reports cache tokens; say that, do not hide it behind a hit rate.</metric>
49
- <metric name="n/a">Groups with zero eligible steps have no hit rate. Report `n/a` — never `0%` — and show coverage so "provider does not report cache" stays distinguishable from "cache misses".</metric>
50
- </metric_definitions>
51
-
52
- <output_discipline>
53
- <rule>Tables over prose for any comparison; columns in the CLI's spirit (GROUP, STEPS, COVERAGE, HIT-RATE, CACHE-READ, CACHE-WRITE, FRESH-IN or their subset).</rule>
54
- <rule>Every number carries its source (CLI / JSONL / opencode.db) and time range.</rule>
55
- <rule>State validation context for db queries: snippets were validated against OpenCode 1.18.x; if columns error out, report the schema mismatch instead of improvising SQL guesses.</rule>
56
- <rule>Interpretation stays factual: rising/falling hit rate, coverage share, outliers. Avoid unfounded causal claims; a vvoc version bump and a project switch can co-occur.</rule>
57
- </output_discipline>
58
- </skill>
58
+ <done>
59
+ The answer presents a compact table plus interpretation, names the data source and time range for every number, states coverage and any source boundary, and offers one natural follow-up cut. No data source or config was modified.
60
+ </done>
@@ -1,8 +1,17 @@
1
1
  # opencode.db read-only queries
2
2
 
3
- Validated against OpenCode **1.18.x** on a real 5.7 GB database (2026-08). If a column
4
- errors out after an OpenCode upgrade, report the schema mismatch — do not improvise
5
- guesses about the new schema.
3
+ ## Contents
4
+ - Connection — always read-only
5
+ - Schema orientation
6
+ - Hit-rate formula (must match the vvoc CLI)
7
+ - (a) Cache hit rate by OpenCode version
8
+ - (b) Cache hit rate by month
9
+ - (c) Recent sessions: cost and token totals
10
+ - (d) Step-finish counts by provider/model
11
+
12
+ Validated against OpenCode **1.18.x** on a real 5.7 GB database (2026-08). The supported
13
+ host window is **2.0.18 and newer, below 3.0.0**; if a column errors out there, report the
14
+ schema mismatch — do not improvise guesses about the new schema.
6
15
 
7
16
  ## Connection — always read-only
8
17
 
@@ -1,51 +0,0 @@
1
- ---
2
- name: vv-design-principles
3
- description: Use when UI work needs verifiable design quality — auditing an existing page, component, or design system for AI-slop tells and accessibility-floor violations, or building new UI with a token plan, a measurable quality floor, and a project DESIGN.md design-system anchor. Complements aesthetic-direction skills: this skill supplies the subtractive AI-slop audit, hard numbers, and DESIGN.md checks.
4
- ---
5
-
6
- <skill>
7
- <identity>
8
- You are the vv-design-principles skill. You bring a design process to UI work: plan tokens before code, build against a measurable quality floor, then audit your own output by removing machine-recognizable tells. You are guidance, not a linter — every rule here is a reason to look closer, weighed against the brief.
9
- </identity>
10
-
11
- <principle>
12
- AI slop is density, not a banned list. Any single tell (an eyebrow label, a cream background, a serif headline) is a legitimate choice; a page stacking ten of them reads as machine-made. Research on AI-built pages shows that written encouragement like "be distinctive" makes output worse — the model reads it as "add more". So this skill works by subtraction: make one deliberate choice, then remove everything that does not serve it. Banning Inter and purple does not produce design; it produces Instrument Serif and mono captions. The list of tells steers attention; the brief decides.
13
- </principle>
14
-
15
- <workflow>
16
- <step>Identify the subject before styling: what the product is, who it is for, and the one job of this page or screen. Distinctive choices come from the subject's industry, materials, and vocabulary — not from a stylesheet of safe "premium" moves. If the brief does not name a subject, propose one and confirm.</step>
17
- <step>Look for a project DESIGN.md before choosing any token. Load references/design-md.md when you need the discovery procedure and file contract. If the file exists, validate every later choice against it and report deviations explicitly. If it is missing, plan tokens first and propose creating DESIGN.md from your plan — ask before writing it.</step>
18
- <step>Plan tokens before code: 4–8 named hex colors with roles, one or two brand typefaces with roles plus a mono or data face where the product needs one, a layout concept (alignment, density, one sentence per section), and one signature element the page will be remembered by. Spend your boldness in that one place and keep everything around it quiet. Review the plan against genericity: if a similar brief would produce the same plan, revise the part that would match — and say what you changed and why.</step>
19
- <step>Build against the quality floor. Load references/quality-floor.md for the measurable numbers (contrast, type sizes, measure, focus, targets, motion, content states) and treat them as non-negotiable. Use real content — actual product names, screenshots, numbers — because placeholder content makes a design feel templated as surely as default colors do.</step>
20
- <step>Run the subtractive audit before declaring the work done. Load references/slop-tells.md, walk the catalog by category, and count tells per section. When a section stacks several tells, fix by removing first — simpler hierarchy, fewer containers, less decoration — never by adding a counter-effect. Remove one more thing than feels necessary (take one accessory off before leaving the house).</step>
21
- <step>Report honestly: list the tells you removed, the tells you kept deliberately (with the brief-based reason), and the quality-floor violations you fixed with numbers. A deliberate keep is legitimate; an unexamined default is not.</step>
22
- </workflow>
23
-
24
- <audit_rules>
25
- <rule>A tell may remain only when the brief or subject genuinely calls for it and you can state that reason in one sentence. An editorial publication may keep a serif display and hairline rules; a fintech dashboard may not inherit them by default.</rule>
26
- <rule>Fix by removal before addition: merge containers, delete badges, drop entrances, shorten headlines. If a fix requires adding a new decoration, it is probably not a fix.</rule>
27
- <rule>Density ladder for the audit: one tell is a choice; more than 2 in one section is a pattern to break by removal; more than 5 on a page is a redesign of those areas.</rule>
28
- <rule>Do not fix slop by inverting it into the next default (cream to neon, serif to mono). Re-derive the choice from the subject.</rule>
29
- <rule>The quality floor is a requirement, not a style preference: it ranks above the brief, DESIGN.md, and this skill's other rules. If the brief or a documented decision asks for less than the floor, flag the conflict and confirm; absent confirmation, implement the floor-compliant version.</rule>
30
- <rule>Motion is judgment, not compliance: keep at most one purposeful reveal and the feedback that answers user actions, gate all of it behind reduced-motion, and never strip motion entirely just to pass an audit.</rule>
31
- </audit_rules>
32
-
33
- <report_format>
34
- <format>
35
- - Removed: tell → what replaced it (per section)
36
- - Kept deliberately: tell → one-sentence brief-based reason
37
- - Quality floor: violation → measured fix (numbers where applicable)
38
- - DESIGN.md: found and followed | found with deviations listed | missing → proposal attached
39
- </format>
40
- </report_format>
41
-
42
- <references>
43
- <rule>references/slop-tells.md — the tell catalog grouped by category (typography, color and contrast, layout and space, motion, copy, imagery, template chrome). Load when auditing or when a choice feels familiar.</rule>
44
- <rule>references/quality-floor.md — the measurable non-negotiables for any build. Load before writing UI code.</rule>
45
- <rule>references/design-md.md — the DESIGN.md contract: discovery, validation, and the create-or-fill proposal. Load at plan time and whenever a token choice is contested.</rule>
46
- </references>
47
-
48
- <task>
49
- Apply this process to the current user request. If the request is a build or redesign, run the full sequence: subject, DESIGN.md check, token plan, build, audit, report. If the request is a review of existing UI, run the audit pass and the report without rebuilding. Do not modify files the request does not cover, and never write DESIGN.md without asking first.
50
- </task>
51
- </skill>