@adia-ai/adia-ui-factory 0.2.3 → 0.2.4
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/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +1 -1
- package/CHANGELOG.md +5 -1
- package/package.json +2 -2
- package/skills/adia-ui-kit/assets/figma-make/guidelines/components.md +2 -2
- package/skills/adia-ui-kit/assets/team-scaffold/archive-README.md +2 -2
- package/skills/adia-ui-kit/assets/team-scaffold/drafts-README.md +1 -1
- package/skills/adia-ui-kit/assets/team-scaffold/inbox-README.md +3 -3
- package/skills/adia-ui-kit/assets/team-scaffold/outbox-README.md +2 -2
- package/skills/adia-ui-kit/assets/team-scaffold/team-root.README.md +2 -2
- package/skills/adia-ui-kit/assets/team-scaffold/tickets-README.md +5 -5
- package/skills/adia-ui-kit/assets/team-scaffold/tickets-REGISTRY.md +6 -6
- package/skills/adia-ui-kit/assets/templates/AGENTS.template.md +2 -2
- package/skills/adia-ui-kit/assets/templates/FEEDBACK.template.md +1 -1
- package/skills/adia-ui-kit/assets/templates/figma-make-guidelines.md +1 -1
- package/skills/adia-ui-kit/evals/adversarial-content-trust.json +1 -1
- package/skills/adia-ui-kit/evals/teach-routing-cases.json +1 -1
- package/skills/adia-ui-kit/references/capabilities.md +4 -4
- package/skills/adia-ui-kit/references/catalog-lookup.md +2 -2
- package/skills/adia-ui-kit/references/changelog-archive/CHANGELOG-v2.md +41 -41
- package/skills/adia-ui-kit/references/changelog-archive/CHANGELOG-v3.md +77 -77
- package/skills/adia-ui-kit/references/common-gotchas-consumer.md +3 -3
- package/skills/adia-ui-kit/references/css-policy.md +1 -1
- package/skills/adia-ui-kit/references/decision-model.md +3 -3
- package/skills/adia-ui-kit/references/docs-catalog.md +19 -19
- package/skills/adia-ui-kit/references/feedback-authoring.md +2 -2
- package/skills/adia-ui-kit/references/figma-make.md +4 -4
- package/skills/adia-ui-kit/references/flows-content.md +1 -1
- package/skills/adia-ui-kit/references/flows-interaction.md +2 -2
- package/skills/adia-ui-kit/references/flows-shells.md +1 -1
- package/skills/adia-ui-kit/references/loading-protocol.md +25 -25
- package/skills/adia-ui-kit/references/migration.md +3 -3
- package/skills/adia-ui-kit/references/mission.md +2 -2
- package/skills/adia-ui-kit/references/mode-routing.md +4 -4
- package/skills/adia-ui-kit/references/patterns-data.md +1 -2
- package/skills/adia-ui-kit/references/patterns-layout.md +5 -5
- package/skills/adia-ui-kit/references/patterns-recipes.md +3 -3
- package/skills/adia-ui-kit/references/recon.md +9 -9
- package/skills/adia-ui-kit/references/response-authoring.md +2 -2
- package/skills/adia-ui-kit/references/session-log-schema.md +1 -1
- package/skills/adia-ui-kit/references/setup.md +1 -1
- package/skills/adia-ui-kit/references/spec-to-ui-reasoning.md +22 -22
- package/skills/adia-ui-kit/references/teach-protocol.md +11 -11
- package/skills/adia-ui-kit/scripts/audit-kit-roster.mjs +1 -1
- package/skills/adia-ui-migration/CHANGELOG.md +1 -1
- package/skills/adia-ui-migration/SKILL.md +4 -4
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
- "absorb this lesson into adia-ui-kit"
|
|
15
15
|
- "teach the skill about [the new component / pattern / discipline]"
|
|
16
16
|
|
|
17
|
-
**Companion:** `
|
|
17
|
+
**Companion:** `feedback-authoring.md` (when the new knowledge originated from a FEEDBACK ticket loop) and the §SkillHygiene section of `SKILL.md` (run hygiene audit after any §Teach landing).
|
|
18
18
|
|
|
19
|
-
**Anti-companion:**
|
|
19
|
+
**Anti-companion:** `.claude/docs/journal/YYYY/MM/<date>.md` (arc-specific stories belong in the journal, not the skill — see decision tree below).
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -71,7 +71,7 @@ echo "add a recipe for composing an editor-shell inside an admin-page-body" \
|
|
|
71
71
|
# → branch: B (recipe)
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
If the script's confidence is **low**, re-read the prose tree below and classify by hand — the keyword vocabulary missed the payload's shape and you should consider adding the payload to
|
|
74
|
+
If the script's confidence is **low**, re-read the prose tree below and classify by hand — the keyword vocabulary missed the payload's shape and you should consider adding the payload to `../evals/teach-routing-cases.json` so future runs catch it. If the script's confidence is **high** or **medium**, trust the landing.
|
|
75
75
|
|
|
76
76
|
Behavioral eval suite: `node scripts/teach-route.mjs --eval=evals/teach-routing-cases.json` runs all canonical cases and reports pass/fail. v3.1.0 baseline: 9/9 (100%).
|
|
77
77
|
|
|
@@ -141,7 +141,7 @@ Is it a FEEDBACK RESOLUTION (upstream ticket landed, skill should reflect)?
|
|
|
141
141
|
|
|
142
142
|
Is it a one-off ARC STORY, LESSON LEARNED, OR HISTORICAL CONTEXT?
|
|
143
143
|
→ NO landing in the skill (branch G — the NEGATIVE case).
|
|
144
|
-
It belongs in
|
|
144
|
+
It belongs in `.claude/docs/journal/YYYY/MM/<date>.md` where future
|
|
145
145
|
archeology will find it (per AGENTS.md's journal discipline).
|
|
146
146
|
Skipping the skill here is a feature, not a gap.
|
|
147
147
|
(See Worked Example G — the negative case.)
|
|
@@ -258,10 +258,10 @@ npm run check:corpus-rules-format # no malformed bullets
|
|
|
258
258
|
|
|
259
259
|
**Request:** "train adia-ui-kit on the editor inspector pane pattern — a right-pane inside `<editor-shell>` that hosts `<tabs-ui>` + `<inspector-ui>` for live A2UI doc state inspection."
|
|
260
260
|
|
|
261
|
-
**Decision tree:** Recipe — cross-component composition pattern. → **`
|
|
261
|
+
**Decision tree:** Recipe — cross-component composition pattern. → **`patterns-recipes.md`** (or `patterns-shells.md` if editor-cluster-specific).
|
|
262
262
|
|
|
263
263
|
**Action:**
|
|
264
|
-
1. Open `
|
|
264
|
+
1. Open `patterns-recipes.md`.
|
|
265
265
|
2. Add a new H2 section "## Editor inspector pane" with: triggers, when to use, composition (HTML + A2UI JSON), token contract, anti-patterns.
|
|
266
266
|
3. Cross-link from SKILL.md §Patterns table (one row: pattern name, file, when-to-load).
|
|
267
267
|
4. Bump version PATCH (vN.M.x+1) since reference-file augment, not new section.
|
|
@@ -272,7 +272,7 @@ npm run check:corpus-rules-format # no malformed bullets
|
|
|
272
272
|
|
|
273
273
|
**Request:** "teach the skill about the new agent onboarding wizard flow — 3 pages (welcome → persona pick → tool consent) using `<simple-shell>` + `<stepper-ui>`."
|
|
274
274
|
|
|
275
|
-
**Decision tree:** Flow — multi-page user journey. → **`
|
|
275
|
+
**Decision tree:** Flow — multi-page user journey. → **`flows-auth.md`** or new `flows-onboarding.md`.
|
|
276
276
|
|
|
277
277
|
**Action:**
|
|
278
278
|
1. Decide: does this fit existing `flows-auth.md` (which covers registration wizards)? If yes, augment. If the onboarding wizard has distinct lifecycle hooks (telemetry, persona persistence) that don't fit auth, create `flows-onboarding.md`.
|
|
@@ -329,10 +329,10 @@ npm run check:corpus-rules-format # no malformed bullets
|
|
|
329
329
|
|
|
330
330
|
**Request:** "the skill should remember how we shipped Arc D today — the catalog-renderer bug, the dict-stringification, the 12-day silence."
|
|
331
331
|
|
|
332
|
-
**Decision tree:** One-off arc story / historical context. →
|
|
332
|
+
**Decision tree:** One-off arc story / historical context. → **`.claude/docs/journal/YYYY/MM/<date>.md`, NOT the skill.**
|
|
333
333
|
|
|
334
334
|
**Action:**
|
|
335
|
-
1. The journal entry already exists (§408 in
|
|
335
|
+
1. The journal entry already exists (§408 in `.claude/docs/journal/2026/05/2026-05-22.md`).
|
|
336
336
|
2. **Do nothing in the skill.** The skill is procedural ("what to do"), not historical ("what happened"). Future archeology grep'ing for "catalog-renderer" or "[object Object]" finds the journal entry; that's where it belongs.
|
|
337
337
|
3. The structural lesson (axis 1 of the audit-corpus-rules-format gate) is already captured procedurally by Example E above.
|
|
338
338
|
|
|
@@ -393,7 +393,7 @@ Receiving a §Teach request and landing the content without asking "should this
|
|
|
393
393
|
- **§Mission** (SKILL.md) — defines the three postures (Author / Consultant / Correction). §Teach is a fourth posture, narrower than Author (which is forward-generation from scratch).
|
|
394
394
|
- **§SkillHygiene** (SKILL.md) — the audit gate that catches §Teach landing regressions. Always run after.
|
|
395
395
|
- **§LoadingProtocol** (SKILL.md) — defines the reference-file extraction discipline. §Teach respects it by routing content > ~50 LOC to `references/`.
|
|
396
|
-
- **`
|
|
396
|
+
- **`feedback-authoring.md`** — companion when §Teach is triggered by a FEEDBACK resolution (Example F).
|
|
397
397
|
- **AGENTS.md** (repo root) — defines the journal discipline that §Teach defers to for arc stories (Example G).
|
|
398
398
|
- **`scripts/skills/audit-skill-hygiene.mjs`** — the eight-axis audit; run after any §Teach landing.
|
|
399
399
|
- **`scripts/audit/audit-yaml-rules-coverage.mjs`** + siblings (§409) — the regression gates that catch yaml-SoT drift when §Teach lands in yaml instead of the skill (Example A).
|
|
@@ -413,7 +413,7 @@ When in doubt, the table below routes by request shape.
|
|
|
413
413
|
| "new methodology / posture" | inline in SKILL.md (near §Mission / §ReasoningMethodologies) | MINOR | `audit:skill-hygiene` |
|
|
414
414
|
| "new audit / verification script" | cross-link from SKILL.md harness manifest | PATCH | `audit:skill-hygiene` |
|
|
415
415
|
| "FEEDBACK-NN resolved + skill reflected" | patch the misdiagnosed section + bug-shape taxonomy entry | PATCH | manual review |
|
|
416
|
-
| "arc story / lesson learned" |
|
|
416
|
+
| "arc story / lesson learned" | `.claude/docs/journal/YYYY/MM/<date>.md` (NOT skill) | n/a | journal-date sanity hook |
|
|
417
417
|
| "absorb sibling-skill knowledge" | route to peer skill OR defend inclusion in CHANGELOG | varies | `audit:skill-hygiene` + peer review |
|
|
418
418
|
|
|
419
419
|
---
|
|
@@ -47,7 +47,7 @@ USAGE
|
|
|
47
47
|
node scripts/audit-kit-roster.mjs [--json] [--strict] [--dir <skill-root>]
|
|
48
48
|
|
|
49
49
|
AXES (1-8 universal, inlined; 9 kit-specific)
|
|
50
|
-
1 Manifest enforcement — skill.json files[] matches disk (docs/ excluded)
|
|
50
|
+
1 Manifest enforcement — skill.json files[] matches disk (.claude/docs/ excluded)
|
|
51
51
|
2 Reference graph — every markdown link in SKILL.md resolves
|
|
52
52
|
3 Capability-menu drift — §ColdStartTriage entry refs exist (skipped if absent)
|
|
53
53
|
4 Version-literal parity — SKILL.md frontmatter version == skill.json
|
|
@@ -11,7 +11,7 @@ audit/sweep incantations inline + §"What's covered, by version" table + §Forwa
|
|
|
11
11
|
looking surfaces + §Anti-patterns + §Worked example. The inversion to
|
|
12
12
|
`references/migrations/v0.0.X.md` per-version recipes and bundling of
|
|
13
13
|
`scripts/migrate.mjs` are Round 2+/Round 3+ work per the per-skill
|
|
14
|
-
REFACTOR-SPEC at
|
|
14
|
+
REFACTOR-SPEC at `.claude/docs/REFACTOR-SPEC.md`.
|
|
15
15
|
|
|
16
16
|
Cleans up dangling cross-reference to `bespoke-shell-children` (the skill
|
|
17
17
|
was absorbed into `adia-ui-authoring/references/shell-patterns.md` v1.1.1
|
|
@@ -7,7 +7,7 @@ description: Migrate consumer code between AdiaUI versions — sweep deprecated
|
|
|
7
7
|
|
|
8
8
|
Bring consumer code current with a newer release of `@adia-ai/web-components`. Sweeps the repo for deprecated attributes, renamed events, removed tokens, and tag-name changes; applies mechanical search-and-replace; verifies the build still passes.
|
|
9
9
|
|
|
10
|
-
The canonical source of truth for what each version's BREAKING surface looks like is
|
|
10
|
+
The canonical source of truth for what each version's BREAKING surface looks like is the AdiaUI monorepo's `.claude/docs/MIGRATION GUIDE.md` (in the monorepo's `.claude/docs/` directory, outside this plugin). This skill consumes that guide — read the relevant version section before sweeping.
|
|
11
11
|
|
|
12
12
|
## When to use
|
|
13
13
|
|
|
@@ -37,7 +37,7 @@ The canonical source of truth for what each version's BREAKING surface looks lik
|
|
|
37
37
|
|
|
38
38
|
Always start here. The guide lists each version's BREAKING items with code-diff examples and search-and-replace incantations. Read the section for the target version (or the merged span if the consumer is jumping multiple versions).
|
|
39
39
|
|
|
40
|
-
The guide is at
|
|
40
|
+
The guide is at `.claude/docs/MIGRATION GUIDE.md` in the AdiaUI monorepo (the space in the filename is intentional).
|
|
41
41
|
|
|
42
42
|
If the target version's section doesn't exist yet, the migration is undocumented and the skill should pause, ask the user to clarify the breaking surface, and offer to draft a guide section first.
|
|
43
43
|
|
|
@@ -237,7 +237,7 @@ done
|
|
|
237
237
|
**Category D — Inventory tables in cross-cutting docs** (README, AGENTS.md, ROADMAP) often pre-date the change and don't follow obvious path patterns.
|
|
238
238
|
|
|
239
239
|
```bash
|
|
240
|
-
grep -ln 'old-name' README.md AGENTS.md docs/ROADMAP.md docs/specs/INDEX.md
|
|
240
|
+
grep -ln 'old-name' README.md AGENTS.md .claude/docs/ROADMAP.md .claude/docs/specs/INDEX.md
|
|
241
241
|
```
|
|
242
242
|
|
|
243
243
|
**Pre-rename snapshot pattern** for diffable verification:
|
|
@@ -298,7 +298,7 @@ GUIDE author:
|
|
|
298
298
|
- chat: `<section data-chat-messages>` → `<chat-thread>`; `<chat-input-ui data-chat-input>` → `<chat-composer><chat-input-ui>`; `[data-chat-empty]` → `<chat-empty>`
|
|
299
299
|
- editor: `<header>` → `<editor-toolbar>`; `<div data-canvas>` → `<editor-canvas>`; `<pane-ui data-left>` → `<editor-sidebar slot="leading"><pane-ui resizable>`; `<footer>` → `<editor-statusbar>`
|
|
300
300
|
|
|
301
|
-
Documented in
|
|
301
|
+
Documented in the monorepo's `MIGRATION GUIDE.md` (its `§ v0.4.0` section, outside this plugin) + the `adia-ui-authoring` skill's Mode 3 `shell-patterns` reference (which absorbed the bespoke-shell-children content) + v0.3.4/v0.3.5/v0.3.6 release notes.
|
|
302
302
|
|
|
303
303
|
Trigger attributes that **still work** in v0.4.0+: `[data-sidebar-toggle="<name>"]`, `[data-command-trigger]`, `[data-toolbar-action="<name>"]` — these wire through to the bespoke children's public APIs (`.toggle()`, `.show()`, `toolbar-action` event). Emitted events that are part of the consumer contract: `sidebar-toggle`, `sidebar-resize`, `composer-submit`, `toolbar-action`, `command-select`, `editor-mode-change`. Renames = sweeps.
|
|
304
304
|
|