@aiwg/flue 2026.11.10 → 2026.11.11
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/package.json +77 -5
- package/skills/aiwg-language-map/SKILL.md +1 -1
- package/skills/aiwg-pr/SKILL.md +6 -0
- package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md +6 -2
- package/skills/aiwg-steward-routing-reference/SKILL.md +2 -2
- package/skills/aiwg-utils-quickref/SKILL.md +2 -1
- package/skills/ci-assess/SKILL.md +30 -0
- package/skills/ci-pipeline-audit/SKILL.md +53 -0
- package/skills/ci-pipeline-design/SKILL.md +2 -0
- package/skills/ci-render/SKILL.md +33 -0
- package/skills/effect-ledger/SKILL.md +17 -0
- package/skills/flow-guided-implementation/SKILL.md +4 -0
- package/skills/flow-iteration-dual-track/SKILL.md +5 -0
- package/skills/flow-test-strategy-execution/SKILL.md +2 -0
- package/skills/flow-ux-studio/SKILL.md +206 -0
- package/skills/flow-ux-studio/SKILL.md.d.ts +3 -0
- package/skills/flow-ux-studio/references/provider-resolution.md +106 -0
- package/skills/flow-ux-studio/references/stage-templates.md +27 -0
- package/skills/flow-ux-studio/references/tool-map.md +67 -0
- package/skills/intake-start/SKILL.md +1 -0
- package/skills/intake-wizard/SKILL.md +2 -0
- package/skills/new-bundle/SKILL.md +1 -1
- package/skills/promote/SKILL.md +1 -1
- package/skills/steward/SKILL.md +2 -2
- package/skills/ux-a11y-design/SKILL.md +64 -0
- package/skills/ux-a11y-design/SKILL.md.d.ts +3 -0
- package/skills/ux-build/SKILL.md +67 -0
- package/skills/ux-build/SKILL.md.d.ts +3 -0
- package/skills/ux-copy/SKILL.md +65 -0
- package/skills/ux-copy/SKILL.md.d.ts +3 -0
- package/skills/ux-critique/SKILL.md +70 -0
- package/skills/ux-critique/SKILL.md.d.ts +3 -0
- package/skills/ux-design-system/SKILL.md +65 -0
- package/skills/ux-design-system/SKILL.md.d.ts +3 -0
- package/skills/ux-edge-states/SKILL.md +68 -0
- package/skills/ux-edge-states/SKILL.md.d.ts +3 -0
- package/skills/ux-ethics/SKILL.md +65 -0
- package/skills/ux-ethics/SKILL.md.d.ts +3 -0
- package/skills/ux-flows-ia/SKILL.md +70 -0
- package/skills/ux-flows-ia/SKILL.md.d.ts +3 -0
- package/skills/ux-handoff/SKILL.md +71 -0
- package/skills/ux-handoff/SKILL.md.d.ts +3 -0
- package/skills/ux-handoff-index/SKILL.md +72 -0
- package/skills/ux-handoff-index/SKILL.md.d.ts +3 -0
- package/skills/ux-live-verify/SKILL.md +110 -0
- package/skills/ux-live-verify/SKILL.md.d.ts +3 -0
- package/skills/ux-live-verify/references/axe-strategy.md +23 -0
- package/skills/ux-metrics/SKILL.md +63 -0
- package/skills/ux-metrics/SKILL.md.d.ts +3 -0
- package/skills/ux-problem-framing/SKILL.md +63 -0
- package/skills/ux-problem-framing/SKILL.md.d.ts +3 -0
- package/skills/ux-quickref/SKILL.md +69 -0
- package/skills/ux-quickref/SKILL.md.d.ts +3 -0
- package/skills/ux-research/SKILL.md +75 -0
- package/skills/ux-research/SKILL.md.d.ts +3 -0
- package/skills/ux-visual-direction/SKILL.md +63 -0
- package/skills/ux-visual-direction/SKILL.md.d.ts +3 -0
- package/skills/ux-wireframes/SKILL.md +63 -0
- package/skills/ux-wireframes/SKILL.md.d.ts +3 -0
- package/specialists.d.ts +1 -0
- package/specialists.js +1 -0
- /package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md.d.ts +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# UX provider resolution
|
|
2
|
+
|
|
3
|
+
The framework manifest's `configuration.providerImplementations` points to
|
|
4
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/provider-implementations.json`.
|
|
5
|
+
Like LaunchDarkly's CI/CD seam, this is an agent-interpreted mapping with an
|
|
6
|
+
optional offline host-hook runner, not a global CLI executor or a new config root.
|
|
7
|
+
Contracts reuse `OpsCapability` from ops-complete, as cicd-complete does.
|
|
8
|
+
Read a concern contract at `capabilities/<id>.yaml` under this framework root.
|
|
9
|
+
Discover its default using the exact ID as a trigger, then load with
|
|
10
|
+
`aiwg show skill ux-copy --body` (substitute the mapped default skill).
|
|
11
|
+
|
|
12
|
+
## Selection and execution
|
|
13
|
+
|
|
14
|
+
1. Read the current host's exact **callable skill inventory**. Installation or
|
|
15
|
+
enablement alone does not establish callability. An empty/unknown inventory
|
|
16
|
+
means no optional providers. Do not inspect installation caches.
|
|
17
|
+
2. For the concern and tier, select the first callable provider entry in the
|
|
18
|
+
mapping's ordered `providers` list whose `tiers` includes the tier.
|
|
19
|
+
Select exactly one skill. Otherwise use the entry's bundled AIWG `skill`.
|
|
20
|
+
Load the AIWG body via show or its canonical framework path and follow it
|
|
21
|
+
in the current session if the host has no skill invocation tool.
|
|
22
|
+
3. Pass `brief`, `tier`, `context` (supplied source references, screen IDs,
|
|
23
|
+
approved decisions and owning repository when building) and `artifact_path`.
|
|
24
|
+
Resolve the artifact root first. Each contract defines its concern output
|
|
25
|
+
in `spec.description`; the selected skill must deliver that concern even
|
|
26
|
+
if it normally covers several concerns. No whole-flow second owner is added.
|
|
27
|
+
4. Invoke through the provider's own supported skill surface, or follow the
|
|
28
|
+
bundled AIWG skill. Adapt its output to `summary`, `artifact_path`,
|
|
29
|
+
`evidence` (reference strings) and `gaps` (unresolved strings). Preserve
|
|
30
|
+
other concerns when writing a shared stage record.
|
|
31
|
+
5. Record requested ID, tier, selected provider/skill, availability reason,
|
|
32
|
+
attempts, **actual executed** provider/skill, output references and gaps.
|
|
33
|
+
Resolution alone is a plan. `executed` means the invocation returned a
|
|
34
|
+
contract-shaped result, never that verification, gates or handoff passed.
|
|
35
|
+
|
|
36
|
+
An invocation surface may reject a skill before execution, for example after
|
|
37
|
+
an inventory becomes stale. Mark that attempt unavailable, exclude it and try
|
|
38
|
+
the next candidate, ending with AIWG. Never silently replay partial work or
|
|
39
|
+
fallback after an execution error, invalid result or failed check.
|
|
40
|
+
If the default cannot be loaded, stop that concern and return a pending plan.
|
|
41
|
+
|
|
42
|
+
## Optional host-hook runner
|
|
43
|
+
|
|
44
|
+
Load `scripts/capabilities.mjs` from the framework root. It exports:
|
|
45
|
+
|
|
46
|
+
- `resolveImplementation(id, { tier, callableSkills })`: selection only,
|
|
47
|
+
returning capability, tier, provider, skill and reason, or null for unknown IDs.
|
|
48
|
+
- `runCapability(id, input, host)`: validates input/output, awaits
|
|
49
|
+
`host.invokeSkill(skill, input, implementation)` and returns implementation,
|
|
50
|
+
attempts and result. The host provides `callableSkills` as exact names.
|
|
51
|
+
- `ImplementationUnavailableError`: the hook may throw this **only before a
|
|
52
|
+
skill starts**. Other errors propagate; invalid outputs do not trigger replay.
|
|
53
|
+
|
|
54
|
+
The runner reads only its adjacent mapping. It has no network, cache discovery,
|
|
55
|
+
artifact persistence or model execution. Host adapters own loading, invocation,
|
|
56
|
+
artifact-root enforcement and gate interaction. Invoke each selected skill once
|
|
57
|
+
per concern/screen scope. Preserve runner attempts in the stage routing record.
|
|
58
|
+
|
|
59
|
+
## Defaults and provider order
|
|
60
|
+
|
|
61
|
+
Optional provider skills stay call-only. Adapted methods live in the bundled
|
|
62
|
+
defaults; upstream skill files are not shipped. See `NOTICE` in this framework.
|
|
63
|
+
For copy, critique and handoff: quick prefers Design, then Intent; standard/full
|
|
64
|
+
prefer Intent, then Design. Other rows use the listed order at every tier.
|
|
65
|
+
No exact callable match means AIWG, including for non-Claude hosts.
|
|
66
|
+
|
|
67
|
+
| Capability | Bundled default | Optional skills in base order |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| `ux.problem-framing` | `ux-problem-framing` | `intent:strategize` |
|
|
70
|
+
| `ux.research` | `ux-research` | `design:research-synthesis`, `intent:investigate`, `design:user-research` |
|
|
71
|
+
| `ux.flows-ia` | `ux-flows-ia` | `intent:journey`, `intent:organize` |
|
|
72
|
+
| `ux.edge-states` | `ux-edge-states` | `intent:fortify`, `design:design-handoff` |
|
|
73
|
+
| `ux.visual-direction` | `ux-visual-direction` | `frontend-design:frontend-design` |
|
|
74
|
+
| `ux.design-system` | `ux-design-system` | `design:design-system` |
|
|
75
|
+
| `ux.copy` | `ux-copy` | `design:ux-copy`, `intent:articulate` |
|
|
76
|
+
| `ux.wireframes` | `ux-wireframes` | `intent:wireframe` |
|
|
77
|
+
| `ux.build` | `ux-build` | `frontend-design:frontend-design` |
|
|
78
|
+
| `ux.a11y-design` | `ux-a11y-design` | `intent:include`, `design:accessibility-review` |
|
|
79
|
+
| `ux.critique` | `ux-critique` | `design:design-critique`, `intent:evaluate` |
|
|
80
|
+
| `ux.metrics` | `ux-metrics` | `intent:measure` |
|
|
81
|
+
| `ux.handoff` | `ux-handoff` | `design:design-handoff`, `intent:specify` |
|
|
82
|
+
| `ux.ethics` | `ux-ethics` | `intent:specify`, `intent:evaluate` |
|
|
83
|
+
|
|
84
|
+
`ux.a11y-live` is reserved for `ux-live-verify` on browser-control (#4534).
|
|
85
|
+
It has no design-checklist fallback. The resolver returns null until that slice
|
|
86
|
+
supplies its own implementation; do not call this runner for live verification.
|
|
87
|
+
Quick needs only the concerns used by the flow; skipped stages stay not required.
|
|
88
|
+
A plugin-free run can execute every design/build concern using bundled defaults.
|
|
89
|
+
A complete run still requires human gates, live evidence and the handoff index
|
|
90
|
+
(#4533); a synthetic host-hook test proves dispatch, not an executed UX design.
|
|
91
|
+
|
|
92
|
+
## Overlap and licensing
|
|
93
|
+
|
|
94
|
+
Each contract carries an `overlap-rule` annotation. Copy runs once per screen;
|
|
95
|
+
visual direction creates proposed tokens after design-system audit; build owns
|
|
96
|
+
component/performance review. Design accessibility and runtime accessibility
|
|
97
|
+
remain distinct. Handoff packages records and links ethics findings without
|
|
98
|
+
re-running that review; the index owns completeness.
|
|
99
|
+
Existing SDLC specialists stay in sdlc-complete (#4535 integration).
|
|
100
|
+
|
|
101
|
+
Intent and Design remain optional callable providers. #4536 adapted their
|
|
102
|
+
methods into the bundled defaults where those defaults were thin, with
|
|
103
|
+
attribution in `NOTICE`. frontend-design is integration-only: call its
|
|
104
|
+
installed skill for a constrained visual plan or approved build, never copy
|
|
105
|
+
its content. The bundled visual-direction and build skills are original
|
|
106
|
+
AIWG guidance.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# UX stage template map
|
|
2
|
+
|
|
3
|
+
Discover with `aiwg discover "UX studio stage" --type template`; inspect with
|
|
4
|
+
`aiwg show template <id> --body`. Resolve `aiwg artifacts path --json --check-write`
|
|
5
|
+
before writing. Every filename is relative to `<artifact_root>/ux/<slug>/`.
|
|
6
|
+
|
|
7
|
+
| Stage | Template ID | Output |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| 0 | ux-00-brief-template | 00-brief.md |
|
|
10
|
+
| 1 | ux-01-research-template | 01-research.md |
|
|
11
|
+
| 2 | ux-02-structure-template | 02-structure.md |
|
|
12
|
+
| 3 | ux-03-direction-template | 03-direction.md |
|
|
13
|
+
| 4 | ux-04-screens-template | 04-screens.md |
|
|
14
|
+
| 5 | ux-05-build-template | 05-build.md |
|
|
15
|
+
| 6 | ux-06-verify-template | 06-verify.md |
|
|
16
|
+
| 7 | ux-07-handoff-template | 07-handoff.md |
|
|
17
|
+
| Index | ux-index-template | index.md |
|
|
18
|
+
|
|
19
|
+
Quick omits 1/2; review-only omits 5. Preserve required sections, record tier/mode
|
|
20
|
+
omissions with reasons, and replace pending content with actual outcomes. Common
|
|
21
|
+
sections cover Inputs, Capability owners, Result, Evidence and Open gaps.
|
|
22
|
+
Status and Gaps are explicit fields consumed by `ux-handoff-index`; do not mark
|
|
23
|
+
them complete/none until evidence is reviewed. Gate sections preserve the human
|
|
24
|
+
answer, name and date. Verification preserves Blocking and Evidence gaps lines.
|
|
25
|
+
|
|
26
|
+
Use `ux-handoff-index` after Gate C to regenerate the index. It reports missing
|
|
27
|
+
records and invalid metadata as incomplete, even when an earlier index passed.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# UX capability map
|
|
2
|
+
|
|
3
|
+
Stable concern IDs for routing. Contracts in `capabilities/` and defaults named
|
|
4
|
+
`ux-<concern>` ship with #4532; `ux.a11y-live` is owned by #4534. Use
|
|
5
|
+
[provider resolution](provider-resolution.md) and `provider-implementations.json`
|
|
6
|
+
for callable provider preference, tier order and actual invocation reporting.
|
|
7
|
+
If unresolved, record unavailable and return a pending plan.
|
|
8
|
+
|
|
9
|
+
| Source concern | Capability ID | Quick | Standard/full |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| Problem framing | `ux.problem-framing` | Bounded brief | Strategy and framing |
|
|
12
|
+
| Research | `ux.research` | Not required | Synthesis/research plan |
|
|
13
|
+
| Flows and IA | `ux.flows-ia` | Not required | Journeys and navigation |
|
|
14
|
+
| Edge states | `ux.edge-states` | Screen checklist | Full: state inventory |
|
|
15
|
+
| Visual direction | `ux.visual-direction` | Token/layout plan | Token/layout plan |
|
|
16
|
+
| Design-system fit | `ux.design-system` | Audit existing tokens | Audit existing tokens |
|
|
17
|
+
| Copy | `ux.copy` | Per-screen copy | Flow-wide voice and variants |
|
|
18
|
+
| Wireframes | `ux.wireframes` | Not required | Screen structure |
|
|
19
|
+
| Build | `ux.build` | Implement/review | Implement/review |
|
|
20
|
+
| Accessibility (design) | `ux.a11y-design` | Proportionate checklist | Design-time review |
|
|
21
|
+
| Accessibility (live) | `ux.a11y-live` | Live evidence | Live evidence |
|
|
22
|
+
| Critique | `ux.critique` | Focused review | Heuristics and flow review |
|
|
23
|
+
| Metrics | `ux.metrics` | Brief success measure | Full: success metrics |
|
|
24
|
+
| Handoff | `ux.handoff` | Screen specification | Whole-flow package |
|
|
25
|
+
| Ethics / dark patterns | `ux.ethics` | Record concerns | Explicit pre-handoff review |
|
|
26
|
+
|
|
27
|
+
## One owner per concern
|
|
28
|
+
|
|
29
|
+
- Choose one callable implementation per ID and record the choice. Optional
|
|
30
|
+
provider absence falls back to a discovered AIWG default, when available;
|
|
31
|
+
if no implementation exists, return the gap. Never read caches.
|
|
32
|
+
- Copy has one owner per screen; do not run two providers over the same copy.
|
|
33
|
+
- Visual direction creates tokens; design-system review audits/constrains them.
|
|
34
|
+
- Accessibility design and live verification are distinct moments. An extra
|
|
35
|
+
checklist is a fallback for a missing design review, never a live-test pass.
|
|
36
|
+
- Handoff packages the whole run and may attach per-screen specifications.
|
|
37
|
+
Completeness/index uses `ux-handoff-index`; stage templates are listed in
|
|
38
|
+
[the template map](stage-templates.md). Live evidence via browser-control is #4534.
|
|
39
|
+
- SDLC UX agents stay in sdlc-complete. When the install registry lists `sdlc`
|
|
40
|
+
or `sdlc-complete`, use `ux-lead`, `product-designer`, `accessibility-specialist`,
|
|
41
|
+
`frontend-specialist` and `react-expert` as reviewers and fallbacks
|
|
42
|
+
(`aiwg show agent`). When those keys are absent, do not load their files.
|
|
43
|
+
This package does not duplicate them or claim they are installed.
|
|
44
|
+
- Adapted Intent and Design methods ship in the default skills (#4536).
|
|
45
|
+
Read `NOTICE` for credit, the Apache-2.0 text, and the change note.
|
|
46
|
+
frontend-design content is call-only through a registered provider and is
|
|
47
|
+
never copied. No provider-specific tool names are needed to run this flow.
|
|
48
|
+
|
|
49
|
+
## Builders and unavailable delegation
|
|
50
|
+
|
|
51
|
+
All builders receive the same written direction/spec and pass/fail checks.
|
|
52
|
+
Resolve workers through `aiwg models resolve`; use the rendered command or MCP
|
|
53
|
+
descriptor exactly. Do not construct vendor CLI flags from memory. Check resolved
|
|
54
|
+
capacity and independently rerun worker checks. If the current host cannot spawn,
|
|
55
|
+
return a plan with stage, ID, implementation/availability, inputs, expected
|
|
56
|
+
artifact, checks and gate for the parent to dispatch; do not invent execution.
|
|
57
|
+
|
|
58
|
+
## Live verification implementation (#4534)
|
|
59
|
+
|
|
60
|
+
`ux-live-verify` implements `ux.a11y-live` through the existing browser-control
|
|
61
|
+
`browser-driver` and its safety rule. Inspect every screenshot at 375/768/1280;
|
|
62
|
+
collect keyboard, axe WCAG 2.2 AA, console and reduced-motion evidence. Missing
|
|
63
|
+
driver/inspection/scan evidence stays incomplete. The stage 6 `Blocking:` line
|
|
64
|
+
aggregates critical/serious axe findings, traps, unreachable controls, layout
|
|
65
|
+
breaks and required evidence gaps for `ux-handoff-index`. See
|
|
66
|
+
`$AIWG_ROOT/docs/frameworks/ux-complete/live-verification.md` for the project axe,
|
|
67
|
+
optional pinned CDN and CSP accessibility-tree strategy.
|
|
@@ -50,6 +50,7 @@ Given existing, manually-created Project Intake documents:
|
|
|
50
50
|
3. **Generate** or update phase-plan-inception.md and risk-list.md
|
|
51
51
|
4. **Recommend** initial ADRs and agent assignments
|
|
52
52
|
5. **Hand off** to Executive Orchestrator to start Concept → Inception flow
|
|
53
|
+
6. **UI work** — when the install registry lists `ux` or `ux-complete`, offer `flow-ux-studio` (`aiwg show skill flow-ux-studio --body`) for interface scope. When those keys are absent, assign UX Lead and Product Designer only and do not load UX studio skills.
|
|
53
54
|
|
|
54
55
|
## Parameters
|
|
55
56
|
|
|
@@ -62,6 +62,8 @@ Appropriate triggers:
|
|
|
62
62
|
|
|
63
63
|
If the work doesn't warrant intake, return to the caller and surface the lighter path: an issue, an ADR if a real design decision is being made, direct implementation. Do not produce intake artifacts for small/medium changes.
|
|
64
64
|
|
|
65
|
+
When the install registry lists `ux` or `ux-complete` and the work includes UI, offer `flow-ux-studio` (`aiwg show skill flow-ux-studio --body`) alongside this intake. When those keys are absent, keep this SDLC intake path and do not load UX studio skills.
|
|
66
|
+
|
|
65
67
|
## Your Task
|
|
66
68
|
|
|
67
69
|
### Mode 1: Generate New Intake (Default)
|
|
@@ -77,4 +77,4 @@ for a complete manifest fragment and FlowCapability example.
|
|
|
77
77
|
## References
|
|
78
78
|
|
|
79
79
|
- @$AIWG_ROOT/src/cli/handlers/subcommands.ts — `new-bundle` command handler
|
|
80
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/steward-quickref/SKILL.md
|
|
80
|
+
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/aiwg-steward-quickref/SKILL.md
|
package/skills/promote/SKILL.md
CHANGED
|
@@ -45,4 +45,4 @@ Graduate a proven project-local bundle without losing its source provenance.
|
|
|
45
45
|
|
|
46
46
|
- @$AIWG_ROOT/src/cli/handlers/subcommands.ts — `promote` command handler
|
|
47
47
|
- @$AIWG_ROOT/src/extensions/project-local-promote.ts — promotion implementation
|
|
48
|
-
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/steward-quickref/SKILL.md
|
|
48
|
+
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/aiwg-steward-quickref/SKILL.md
|
package/skills/steward/SKILL.md
CHANGED
|
@@ -383,7 +383,7 @@ local corpus content.
|
|
|
383
383
|
|
|
384
384
|
## Feature-Domain Routing (proactive)
|
|
385
385
|
|
|
386
|
-
Three cross-cutting feature domains fall outside the framework quickrefs and were historically undiscoverable (#1623). The steward owns routing for them via the `steward-quickref` kernel skill. Be **proactive** — these are easy to miss:
|
|
386
|
+
Three cross-cutting feature domains fall outside the framework quickrefs and were historically undiscoverable (#1623). The steward owns routing for them via the `aiwg-steward-quickref` kernel skill. Be **proactive** — these are easy to miss:
|
|
387
387
|
|
|
388
388
|
| Domain | Canonical discover phrase | Owning capability |
|
|
389
389
|
|---|---|---|
|
|
@@ -398,7 +398,7 @@ Routing protocol:
|
|
|
398
398
|
3. **Re-query on low confidence.** If the first pass is weak, broaden the phrase or try an adjacent domain before concluding "not found" — the `skill-discovery` rule forbids decline-without-search.
|
|
399
399
|
4. **Show the selection.** `aiwg show <type> <name> --body` for the chosen capability.
|
|
400
400
|
|
|
401
|
-
See `steward-quickref` for the full anchor tables.
|
|
401
|
+
See `aiwg-steward-quickref` for the full anchor tables.
|
|
402
402
|
|
|
403
403
|
|
|
404
404
|
## Capability Matrix Source
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-a11y-design
|
|
3
|
+
namespace: aiwg
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Design decisions and gaps for semantics, contrast, labels, keyboard order, errors, motion and alternatives.
|
|
6
|
+
triggers:
|
|
7
|
+
- ux.a11y-design
|
|
8
|
+
- ux a11y design
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Accessibility design
|
|
12
|
+
|
|
13
|
+
AIWG default for `ux.a11y-design`. Load the contract from
|
|
14
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.a11y-design.yaml`.
|
|
15
|
+
|
|
16
|
+
Source: Intent `include` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran)
|
|
17
|
+
and Design `accessibility-review` 1.2.0 (Apache-2.0; Copyright Anthropic).
|
|
18
|
+
See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
|
|
19
|
+
Changed: criteria rewritten as design decisions; connector output tables removed.
|
|
20
|
+
Design source used WCAG 2.1 AA; this skill also applies the WCAG 2.2 target-size
|
|
21
|
+
and focus guidance from Intent. Legal compliance is a human determination.
|
|
22
|
+
|
|
23
|
+
## Inputs and ownership
|
|
24
|
+
|
|
25
|
+
Require `brief`, `tier` (quick, standard or full), supplied `context` and
|
|
26
|
+
`artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
|
|
27
|
+
never permission to invent research, execution or human approval.
|
|
28
|
+
|
|
29
|
+
Own design-time review only; ux.a11y-live owns runtime evidence and cannot be replaced by this checklist.
|
|
30
|
+
|
|
31
|
+
## Depth
|
|
32
|
+
|
|
33
|
+
- **quick**: one screen. Names, keyboard reach, contrast pairs if values exist, target size, and labels.
|
|
34
|
+
- **standard**: the flow. Add reading order, landmarks, focus moves for dialogs, and error identification.
|
|
35
|
+
- **full**: add cognitive load, motion, and a remediation order. Still no live pass.
|
|
36
|
+
|
|
37
|
+
## Method
|
|
38
|
+
|
|
39
|
+
Review the design, not a claimed audit score. For each issue record the
|
|
40
|
+
criterion, who is blocked, and the design change.
|
|
41
|
+
|
|
42
|
+
- Perceivable: meaningful images have a text alternative; structure is in headings and labels, not only in placement; text contrast is at least 4.5:1 (3:1 for large text) and interface graphics at least 3:1 when values are supplied. Missing values are gaps, not passes.
|
|
43
|
+
- Operable: every action works by keyboard in an order that matches the visual order; focus is visible; dialogs trap focus and restore it on close; targets are at least 24 by 24 CSS pixels, 44 by 44 for primary touch actions, with space between them. A gesture has a single-pointer alternative.
|
|
44
|
+
- Understandable: focus does not change context by itself; errors name the field and the correction; labels are visible, not placeholder-only.
|
|
45
|
+
- Robust: each control has an accessible name, role, and value. Specify them for the builder; do not claim the code already exposes them.
|
|
46
|
+
|
|
47
|
+
Note plain language, consistent interaction, and visible progress on
|
|
48
|
+
multi-step flows. Specify reduced motion when the direction includes
|
|
49
|
+
animation. An automated scan, if one was supplied, is evidence of what it
|
|
50
|
+
caught. It is not a live pass and it does not retire this review.
|
|
51
|
+
|
|
52
|
+
Order fixes by who is blocked from the primary task. Record the runtime
|
|
53
|
+
checks `ux.a11y-live` still has to run.
|
|
54
|
+
|
|
55
|
+
## Result
|
|
56
|
+
|
|
57
|
+
Before writing, run `aiwg artifacts path --json --check-write` and require
|
|
58
|
+
`artifact_path` beneath its `artifact_root`. Product code belongs in the
|
|
59
|
+
owning repository; stage records belong in `ux/<slug>/` beneath that root.
|
|
60
|
+
Write the concern result, source references, decisions and open gaps into
|
|
61
|
+
the requested record, preserving other concerns if a stage record is shared.
|
|
62
|
+
Return `summary`, `artifact_path`, `evidence` (source/check references) and
|
|
63
|
+
`gaps` (unresolved questions or missing checks). Do not claim a gate passed,
|
|
64
|
+
a worker ran or a live check succeeded without the corresponding evidence.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-build
|
|
3
|
+
namespace: aiwg
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Implementation in the owning repository, changed-file list, component/performance review and actual check results.
|
|
6
|
+
triggers:
|
|
7
|
+
- ux.build
|
|
8
|
+
- ux build
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# UI build and review
|
|
12
|
+
|
|
13
|
+
AIWG default for `ux.build`. Load the contract from
|
|
14
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.build.yaml`.
|
|
15
|
+
|
|
16
|
+
Source: original AIWG guidance. frontend-design is call-only when a registered
|
|
17
|
+
provider exposes `frontend-design:frontend-design`. This skill does not copy
|
|
18
|
+
or adapt that content. See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
|
|
19
|
+
|
|
20
|
+
## Inputs and ownership
|
|
21
|
+
|
|
22
|
+
Require `brief`, `tier` (quick, standard or full), supplied `context` and
|
|
23
|
+
`artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
|
|
24
|
+
never permission to invent research, execution or human approval.
|
|
25
|
+
|
|
26
|
+
Own implementation plus component/performance review; no token redesign or live-accessibility pass is implied.
|
|
27
|
+
|
|
28
|
+
## Depth
|
|
29
|
+
|
|
30
|
+
- **quick**: implement or review one screen from the approved spec. Review-only never edits the product.
|
|
31
|
+
- **standard**: the flow's specified components and states, then the review below.
|
|
32
|
+
- **full**: the same build plus a written note of reuse, responsive behavior, and the checks actually run. Explore prototypes use fixture data in the run directory, not production data.
|
|
33
|
+
|
|
34
|
+
## Method
|
|
35
|
+
|
|
36
|
+
Require the owning repository and an approved direction or screen spec.
|
|
37
|
+
If the run is review-only, do not change product code; review the existing
|
|
38
|
+
implementation against the spec and record gaps.
|
|
39
|
+
|
|
40
|
+
Implement the specified components and states. Match approved tokens and
|
|
41
|
+
copy. Do not redesign tokens, layout intent, or information architecture
|
|
42
|
+
while building. When something in the spec cannot be implemented, record a
|
|
43
|
+
gap and the closest faithful behavior. Explore prototypes stay in the run
|
|
44
|
+
directory and use fixtures.
|
|
45
|
+
|
|
46
|
+
Review before claiming the build:
|
|
47
|
+
|
|
48
|
+
1. Components reuse the system primitives the audit required.
|
|
49
|
+
2. Each specified state exists, including empty, loading, and error when the inventory includes them.
|
|
50
|
+
3. Semantics match the control (a button is a button; a heading level matches the outline).
|
|
51
|
+
4. Narrow and wide layouts follow the wireframe's region order.
|
|
52
|
+
5. Assets and requests are those the screen needs; name any extra fetch or render you could not justify.
|
|
53
|
+
|
|
54
|
+
Run the project's existing checks. Report the command and the result you
|
|
55
|
+
observed. Record changed files. Route live inspection to `ux.a11y-live`.
|
|
56
|
+
Never claim a screenshot, a check, or a performance number that was not run.
|
|
57
|
+
|
|
58
|
+
## Result
|
|
59
|
+
|
|
60
|
+
Before writing, run `aiwg artifacts path --json --check-write` and require
|
|
61
|
+
`artifact_path` beneath its `artifact_root`. Product code belongs in the
|
|
62
|
+
owning repository; stage records belong in `ux/<slug>/` beneath that root.
|
|
63
|
+
Write the concern result, source references, decisions and open gaps into
|
|
64
|
+
the requested record, preserving other concerns if a stage record is shared.
|
|
65
|
+
Return `summary`, `artifact_path`, `evidence` (source/check references) and
|
|
66
|
+
`gaps` (unresolved questions or missing checks). Do not claim a gate passed,
|
|
67
|
+
a worker ran or a live check succeeded without the corresponding evidence.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-copy
|
|
3
|
+
namespace: aiwg
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Screen-keyed labels, instructions, validation, errors, empty states and voice/locale notes.
|
|
6
|
+
triggers:
|
|
7
|
+
- ux.copy
|
|
8
|
+
- ux copy
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Interface copy
|
|
12
|
+
|
|
13
|
+
AIWG default for `ux.copy`. Load the contract from
|
|
14
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.copy.yaml`.
|
|
15
|
+
|
|
16
|
+
Source: Intent `articulate` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran)
|
|
17
|
+
and Design `ux-copy` 1.2.0 (Apache-2.0; Copyright Anthropic). See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
|
|
18
|
+
Changed: pattern list condensed; voice method kept; connector instructions removed.
|
|
19
|
+
|
|
20
|
+
## Inputs and ownership
|
|
21
|
+
|
|
22
|
+
Require `brief`, `tier` (quick, standard or full), supplied `context` and
|
|
23
|
+
`artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
|
|
24
|
+
never permission to invent research, execution or human approval.
|
|
25
|
+
|
|
26
|
+
One copy owner per screen; no second provider rewrites the same scope in this invocation. Flows own sequence, and information architecture owns navigation structure.
|
|
27
|
+
|
|
28
|
+
## Depth
|
|
29
|
+
|
|
30
|
+
- **quick**: exact strings for one screen: actions, errors, empty, and confirmation. Note the voice constraint you were given.
|
|
31
|
+
- **standard**: the flow's voice principles, tone by situation, and the strings for each step.
|
|
32
|
+
- **full**: add a small content model (limits, truncation, reuse across surfaces) and locale notes. Do not invent translations.
|
|
33
|
+
|
|
34
|
+
## Method
|
|
35
|
+
|
|
36
|
+
Write the user's action, not the system's. "Save changes" rather than
|
|
37
|
+
"Submit". A destructive action names the object and the consequence.
|
|
38
|
+
|
|
39
|
+
An error says what happened, why it matters when the stakes are not obvious,
|
|
40
|
+
and what to do. If the person cannot fix it, say so. An empty state says
|
|
41
|
+
what this place is, why it is empty, and the first action. Distinguish first
|
|
42
|
+
use, no results, cleared work, and a failed load.
|
|
43
|
+
|
|
44
|
+
Confirmation titles name the action. Buttons name the choice, not "OK".
|
|
45
|
+
Placeholders show a format example; the label carries the field name.
|
|
46
|
+
Tooltips add help; they do not hide required instructions. Success names
|
|
47
|
+
what changed. Loading names the work in progress when the wait is noticeable.
|
|
48
|
+
|
|
49
|
+
For standard and full, state voice as a few principles with a boundary
|
|
50
|
+
("direct, including when declining, not casual"). Tone may shift for success,
|
|
51
|
+
error, warning, and instruction; voice does not. Use the same term for the
|
|
52
|
+
same object. Prefer plain sentences. Record character limits and what truncates.
|
|
53
|
+
For locales in scope, note idioms to avoid and where text will grow. Mark
|
|
54
|
+
explore copy as provisional until the direction is approved.
|
|
55
|
+
|
|
56
|
+
## Result
|
|
57
|
+
|
|
58
|
+
Before writing, run `aiwg artifacts path --json --check-write` and require
|
|
59
|
+
`artifact_path` beneath its `artifact_root`. Product code belongs in the
|
|
60
|
+
owning repository; stage records belong in `ux/<slug>/` beneath that root.
|
|
61
|
+
Write the concern result, source references, decisions and open gaps into
|
|
62
|
+
the requested record, preserving other concerns if a stage record is shared.
|
|
63
|
+
Return `summary`, `artifact_path`, `evidence` (source/check references) and
|
|
64
|
+
`gaps` (unresolved questions or missing checks). Do not claim a gate passed,
|
|
65
|
+
a worker ran or a live check succeeded without the corresponding evidence.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-critique
|
|
3
|
+
namespace: aiwg
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Evidence-linked findings by severity, rationale, repair proposals and remaining uncertainty.
|
|
6
|
+
triggers:
|
|
7
|
+
- ux.critique
|
|
8
|
+
- ux critique
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Design critique
|
|
12
|
+
|
|
13
|
+
AIWG default for `ux.critique`. Load the contract from
|
|
14
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.critique.yaml`.
|
|
15
|
+
|
|
16
|
+
Source: Intent `evaluate` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran)
|
|
17
|
+
and Design `design-critique` 1.2.0 (Apache-2.0; Copyright Anthropic).
|
|
18
|
+
See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
|
|
19
|
+
Changed: critique dimensions and heuristic method condensed; connector steps removed.
|
|
20
|
+
|
|
21
|
+
## Inputs and ownership
|
|
22
|
+
|
|
23
|
+
Require `brief`, `tier` (quick, standard or full), supplied `context` and
|
|
24
|
+
`artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
|
|
25
|
+
never permission to invent research, execution or human approval.
|
|
26
|
+
|
|
27
|
+
Own design evaluation; copy owns edits and accessibility owners supply their distinct evidence.
|
|
28
|
+
|
|
29
|
+
## Depth
|
|
30
|
+
|
|
31
|
+
- **quick**: first impression, whether the primary task is possible, hierarchy, consistency with the system, and one accessibility glance. Match the stage: early work gets direction, late work gets defects.
|
|
32
|
+
- **standard**: the quick pass plus heuristic verdicts for the flow.
|
|
33
|
+
- **full**: add a cognitive walkthrough of the primary task and an explicit list of what was not reviewed.
|
|
34
|
+
|
|
35
|
+
## Method
|
|
36
|
+
|
|
37
|
+
Name what was reviewed, who it is for, and the stage. Be specific: the
|
|
38
|
+
element, the task, the effect. Say what works as well as what fails. Suggest
|
|
39
|
+
a repair. Do not grade a missing spec as if you had seen it.
|
|
40
|
+
|
|
41
|
+
On every tier, answer: what draws the eye first, and is that the task; can
|
|
42
|
+
the person finish; are actions recognizable; is the reading order clear; do
|
|
43
|
+
spacing, type, and components follow the system.
|
|
44
|
+
|
|
45
|
+
For standard and full, judge Nielsen's ten heuristics as holds, strained, or
|
|
46
|
+
broken. Broken means the person is blocked or misled. Strained means they
|
|
47
|
+
can recover. Holds means no finding beyond polish. Cover status, language,
|
|
48
|
+
exits, consistency, error prevention, recognition, shortcuts, focus, error
|
|
49
|
+
recovery, and help.
|
|
50
|
+
|
|
51
|
+
For a full walkthrough, take the primary task one step at a time: will they
|
|
52
|
+
form the right goal, see the action, connect it with the result, and notice
|
|
53
|
+
progress afterward. A failed step names the screen.
|
|
54
|
+
|
|
55
|
+
Severity is critical (task blocked or harm), major (significant friction),
|
|
56
|
+
minor (recoverable), or cosmetic. Suspected deceptive patterns route to
|
|
57
|
+
`ux.ethics`; this skill does not clear them. Static observations are not
|
|
58
|
+
live evidence. Copy edits go to `ux.copy`. Implementation defects found in
|
|
59
|
+
a built UI still need the check that observed them.
|
|
60
|
+
|
|
61
|
+
## Result
|
|
62
|
+
|
|
63
|
+
Before writing, run `aiwg artifacts path --json --check-write` and require
|
|
64
|
+
`artifact_path` beneath its `artifact_root`. Product code belongs in the
|
|
65
|
+
owning repository; stage records belong in `ux/<slug>/` beneath that root.
|
|
66
|
+
Write the concern result, source references, decisions and open gaps into
|
|
67
|
+
the requested record, preserving other concerns if a stage record is shared.
|
|
68
|
+
Return `summary`, `artifact_path`, `evidence` (source/check references) and
|
|
69
|
+
`gaps` (unresolved questions or missing checks). Do not claim a gate passed,
|
|
70
|
+
a worker ran or a live check succeeded without the corresponding evidence.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ux-design-system
|
|
3
|
+
namespace: aiwg
|
|
4
|
+
platforms: [flue]
|
|
5
|
+
description: Inventory of supplied tokens/components, reuse decisions, inconsistencies and constraints for the visual plan.
|
|
6
|
+
triggers:
|
|
7
|
+
- ux.design-system
|
|
8
|
+
- ux design system
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Design-system fit
|
|
12
|
+
|
|
13
|
+
AIWG default for `ux.design-system`. Load the contract from
|
|
14
|
+
`$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.design-system.yaml`.
|
|
15
|
+
|
|
16
|
+
Source: Design `design-system` 1.2.0 (Apache-2.0; Copyright Anthropic).
|
|
17
|
+
See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
|
|
18
|
+
Changed: audit, document, and extend modes rewritten for this contract;
|
|
19
|
+
connector and code-sample templates removed.
|
|
20
|
+
|
|
21
|
+
## Inputs and ownership
|
|
22
|
+
|
|
23
|
+
Require `brief`, `tier` (quick, standard or full), supplied `context` and
|
|
24
|
+
`artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
|
|
25
|
+
never permission to invent research, execution or human approval.
|
|
26
|
+
|
|
27
|
+
Audit and constrain existing tokens; visual-direction proposes additions and build implements them.
|
|
28
|
+
|
|
29
|
+
## Depth
|
|
30
|
+
|
|
31
|
+
- **quick**: compare the requested screen with supplied primitives. List reuse, gaps, and inconsistencies. Do not design a new component.
|
|
32
|
+
- **standard**: the audit plus documentation of any component the flow must use and that lacks a usage note.
|
|
33
|
+
- **full**: add an extension proposal only when no existing primitive can carry the job, with the reason each neighbor fails.
|
|
34
|
+
|
|
35
|
+
## Method
|
|
36
|
+
|
|
37
|
+
Inventory the supplied tokens and components. Tokens include color roles,
|
|
38
|
+
type, spacing, radius, elevation, and motion. Components include variants,
|
|
39
|
+
sizes, and states (default, hover, active, disabled, loading, error). An
|
|
40
|
+
absent inventory is a gap; do not invent a system.
|
|
41
|
+
|
|
42
|
+
Audit for names that mean the same thing, hardcoded values where a token
|
|
43
|
+
exists, and components missing a state the flow needs. Prefer consistency
|
|
44
|
+
with the system over a local improvement. Note flexibility the composition
|
|
45
|
+
needs, and the migration cost of any break.
|
|
46
|
+
|
|
47
|
+
Document a component as: when to use it, variants, the behavior of each
|
|
48
|
+
state, keyboard and name, and one misuse to avoid. Extend only after showing
|
|
49
|
+
the closest existing component and why it cannot carry the case. The
|
|
50
|
+
proposal names props, variants, states, and the tokens it must use. Open
|
|
51
|
+
questions stay in `gaps`.
|
|
52
|
+
|
|
53
|
+
Return constraints and exceptions for review before `ux.visual-direction`.
|
|
54
|
+
Do not silently replace the system.
|
|
55
|
+
|
|
56
|
+
## Result
|
|
57
|
+
|
|
58
|
+
Before writing, run `aiwg artifacts path --json --check-write` and require
|
|
59
|
+
`artifact_path` beneath its `artifact_root`. Product code belongs in the
|
|
60
|
+
owning repository; stage records belong in `ux/<slug>/` beneath that root.
|
|
61
|
+
Write the concern result, source references, decisions and open gaps into
|
|
62
|
+
the requested record, preserving other concerns if a stage record is shared.
|
|
63
|
+
Return `summary`, `artifact_path`, `evidence` (source/check references) and
|
|
64
|
+
`gaps` (unresolved questions or missing checks). Do not claim a gate passed,
|
|
65
|
+
a worker ran or a live check succeeded without the corresponding evidence.
|