@srobroek/pi-design 0.11.0 → 0.12.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## design [0.12.0](https://github.com/srobroek/harness-plugins/compare/design--v0.11.1...design--v0.12.0) (2026-11-29)
2
+
3
+ ### Features
4
+
5
+ * **beads:** beads-feature formula and epic-feature-task hierarchy ([d88484a](https://github.com/srobroek/harness-plugins/commit/d88484a3f9296b7faaa7cdb63e725a5c70ad1bf8)), closes [GH#852](https://github.com/srobroek/GH/issues/852) [gastownhall/beads#5754](https://github.com/gastownhall/beads/issues/5754)
6
+
7
+ ## design [0.11.1](https://github.com/srobroek/harness-plugins/compare/design--v0.11.0...design--v0.11.1) (2026-11-27)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **design:** product and docs-page copy describes the product from its docs ([2f2d724](https://github.com/srobroek/harness-plugins/commit/2f2d72403fac9e06846439423ec5a6a83bc7cb49))
12
+
1
13
  ## design [0.11.0](https://github.com/srobroek/harness-plugins/compare/design--v0.10.4...design--v0.11.0) (2026-11-25)
2
14
 
3
15
  ### Features
package/README.md CHANGED
@@ -209,7 +209,7 @@ as a Linux ARM server, it drives Playwright's Chromium. Install that Chromium on
209
209
  pinned Playwright:
210
210
 
211
211
  ```sh
212
- npx -y playwright-core@1.66.0-alpha-2026-11-18 install chromium chromium-headless-shell
212
+ npx -y playwright-core@1.66.0-alpha-2026-11-26 install chromium chromium-headless-shell
213
213
  ```
214
214
 
215
215
  ### Scan tool
@@ -5,7 +5,7 @@ acceptanceRole: read-only
5
5
  tools: read, grep, find, ls, design_impeccable_scan, web_search, fetch_content, get_search_content, source_check, mcp:playwright
6
6
  subagentOnlyExtensions: ../extensions/design.js, npm:pi-web-access
7
7
  async: true
8
- skills: ui-review, design-no-slop, design-component-truth, design-evidence
8
+ skills: ui-review, design-no-slop, design-component-truth, design-evidence, ui-microcopy
9
9
  inheritProjectContext: true
10
10
  inheritSkills: true
11
11
  ---
@@ -23,7 +23,9 @@ attempted mutation as out of scope.
23
23
  2. Open the surface and follow the `ui-review` skill for evidence collection and citations.
24
24
  3. Judge every heuristic, in order: visual hierarchy; spacing rhythm; type scale; color
25
25
  role discipline; state completeness and feedback; affordance clarity; empty and error
26
- state usefulness; content redundancy.
26
+ state usefulness; content redundancy; copy that matches the product, per the
27
+ `ui-microcopy` skill (a planned feature shown as working, dated status words such as
28
+ "today" or "currently", or repository history in user-facing prose is a finding).
27
29
  4. Check the `design-no-slop` skill's list. Each hit is a finding unless approved tokens,
28
30
  DESIGN.md or the brief sanction it.
29
31
  5. Exercise each state the brief names (default, hover, focus-visible, active, disabled,
@@ -7,7 +7,7 @@ subagentOnlyExtensions: ../extensions/design.js, npm:pi-web-access
7
7
  allowedAgents: design-critic, a11y-auditor, scout, worker
8
8
  allowNestedSubagents: true
9
9
  async: true
10
- skills: design-system-audit, ui-review, design-prototype, design-upstream-preflight, design-token-discipline, design-component-truth, design-no-slop, design-evidence, design-md
10
+ skills: design-system-audit, ui-review, design-prototype, design-upstream-preflight, design-token-discipline, design-component-truth, design-no-slop, design-evidence, design-md, ui-microcopy
11
11
  inheritProjectContext: true
12
12
  inheritSkills: true
13
13
  ---
@@ -26,7 +26,9 @@ and apply the `design-upstream-preflight` skill for the routes this task enables
26
26
  for read-only recon when locations are unknown. Detect the stack from `package.json`
27
27
  dependencies, `pubspec.yaml`, `*.xcodeproj` or `Package.swift`, `composer.json`, or
28
28
  `app.json` plus a `react-native` dependency. Keep the token file paths; every child you
29
- brief needs them.
29
+ brief needs them. When the work includes any page prose, also read the product's own
30
+ docs (README, design plan, architecture overview, and the ADRs or specs the pages
31
+ summarise) so the copy describes the product, not the last change.
30
32
  2. GATE INTENT. Ask only what the request, the brief, and GROUND leave open: a value the
31
33
  request already specifies is recorded as given and never asked again. With every item
32
34
  answered that way, record them and continue. Otherwise send the open questions to your
@@ -48,7 +50,9 @@ and apply the `design-upstream-preflight` skill for the routes this task enables
48
50
  applicable state. Record each N/A state with a component-specific reason. Then compose
49
51
  components, assemble pages with mock data for hard-to-reach states, and integrate real
50
52
  data. Never start from a page. A CONTROLLED component's story needs a state holder: args
51
- alone reject every keystroke.
53
+ alone reject every keystroke. Write every string and page of prose with the
54
+ `ui-microcopy` skill: lasting product copy, with no dated status words and no
55
+ repository history.
52
56
  5. VERIFY. Follow the `ui-review` skill for the rendered-surface evidence contract.
53
57
  6. CRITIQUE. Run `design_impeccable_scan` on the target yourself first, once, so both
54
58
  children get the same JSON. With impeccable installed it runs without a prompt; without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srobroek/pi-design",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "UI and UX design skills: design-system audit, DESIGN.md, rendered-surface review, accessibility audit, motion, microcopy, prototypes, and wireframes.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ui-microcopy
3
- description: Writes and reviews UX copy (errors, empty states, CTAs, confirmations, onboarding); triggers on write copy, fix wording.
3
+ description: Writes and reviews UX copy (errors, empty states, CTAs, onboarding) and landing or docs-page prose; triggers on write copy, fix wording.
4
4
  metadata:
5
5
  opencode/autoinvoke: false
6
6
  ---
@@ -17,12 +17,13 @@ Write or review interface copy with the same discipline as the pixels.
17
17
  TRIGGER
18
18
  + "write the copy for", "fix this error message", "what should this say", or "what should this button say"
19
19
  + an empty state, error, confirmation, CTA, tooltip, loading state, or onboarding step needs wording
20
+ + a landing page, hero, feature card, docs index or section intro needs prose
20
21
  - judging a rendered surface or copy already shipped -> `ui-review`
21
22
  - naming a token or component -> `design-system-audit`
22
23
 
23
24
  ## Workflow
24
25
 
25
- 1. Take the surface's real constraints from code and the running surface: character budget, states, existing terminology, and user context.
26
+ 1. Take the surface's real constraints from code and the running surface: character budget, states, existing terminology, and user context. For product or docs-page prose, first read the project's own docs (README, design plan, architecture overview, and the ADRs or specs the page summarises), and describe the product from them.
26
27
  2. Load `references/copy-guidance.md` for the copy checklist, patterns, voice guidance, and output template.
27
28
  3. Write the recommended string per location and alternatives only where a choice is open.
28
29
  4. Verify the copy in place with the `ui-review` skill, at the narrowest supported width -> no truncation, broken wrapping, or accessible-name mismatch.
@@ -33,6 +34,9 @@ MUST Name the field and the problem in an error. An error shown by colour alone
33
34
  MUST Give every field a persistent label, never a placeholder standing in for one.
34
35
  MUST Say what to do next in an empty state.
35
36
  MUST Reuse the product's existing term for a concept.
37
+ MUST Write product and docs-page prose for the product: what it is, who it serves, what it does for them, and how its parts fit. Take every claim from the project's docs, and label a planned capability as planned. Never present one as working.
38
+ NOT Write dated or status prose in hand-written copy: "today", "currently", "as of", "so far", "for now", or release-progress narration. Status that a generator emits from data may appear.
39
+ NOT Narrate repository history in user-facing copy: commits, branches, lanes, rebases, "previously", "replaced", or "this page was added".
36
40
  DEFAULT Lead with the outcome, not the mechanism.
37
41
  NOT Apologise in an error the user caused, or blame the user for one the product caused.
38
42
  NOT Route to `impeccable clarify`: it lacks this skill's onboarding surface, structured tone-tagged alternatives, and tone map.
@@ -39,6 +39,16 @@ Structure: What this is + Why it's empty + How to start
39
39
  ### Onboarding
40
40
  - Progressive disclosure, one concept at a time
41
41
 
42
+ ### Landing and Docs Pages
43
+ Structure: What it is + Who it serves + What it does for them + Where to go next
44
+ - Read the project's README, design plan, architecture overview and the ADRs or specs a page summarises before you write it. Describe the product from them, not from the last change.
45
+ - Write lasting documentation. A reader next year should find every sentence still true.
46
+ - Mark planned capability as planned, in a short label or aside, never as working and never as a progress diary.
47
+ - Leave out dates and status words ("today", "currently", "as of", "so far", "for now") from hand-written prose. Phase or release status belongs in generated data.
48
+ - Leave out repository history: commits, branches, rebases, "previously", "replaced", "was added". Changelogs and release notes carry that.
49
+ - Hero: one line that names the product and its outcome. Calls to action name the destination ("Read the plan", "Contracts").
50
+ - Feature card: the concept's name, then one sentence on what it gives the user.
51
+
42
52
  ## Voice and Tone
43
53
 
44
54
  Adapt tone to context: