@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.
Files changed (62) hide show
  1. package/package.json +77 -5
  2. package/skills/aiwg-language-map/SKILL.md +1 -1
  3. package/skills/aiwg-pr/SKILL.md +6 -0
  4. package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md +6 -2
  5. package/skills/aiwg-steward-routing-reference/SKILL.md +2 -2
  6. package/skills/aiwg-utils-quickref/SKILL.md +2 -1
  7. package/skills/ci-assess/SKILL.md +30 -0
  8. package/skills/ci-pipeline-audit/SKILL.md +53 -0
  9. package/skills/ci-pipeline-design/SKILL.md +2 -0
  10. package/skills/ci-render/SKILL.md +33 -0
  11. package/skills/effect-ledger/SKILL.md +17 -0
  12. package/skills/flow-guided-implementation/SKILL.md +4 -0
  13. package/skills/flow-iteration-dual-track/SKILL.md +5 -0
  14. package/skills/flow-test-strategy-execution/SKILL.md +2 -0
  15. package/skills/flow-ux-studio/SKILL.md +206 -0
  16. package/skills/flow-ux-studio/SKILL.md.d.ts +3 -0
  17. package/skills/flow-ux-studio/references/provider-resolution.md +106 -0
  18. package/skills/flow-ux-studio/references/stage-templates.md +27 -0
  19. package/skills/flow-ux-studio/references/tool-map.md +67 -0
  20. package/skills/intake-start/SKILL.md +1 -0
  21. package/skills/intake-wizard/SKILL.md +2 -0
  22. package/skills/new-bundle/SKILL.md +1 -1
  23. package/skills/promote/SKILL.md +1 -1
  24. package/skills/steward/SKILL.md +2 -2
  25. package/skills/ux-a11y-design/SKILL.md +64 -0
  26. package/skills/ux-a11y-design/SKILL.md.d.ts +3 -0
  27. package/skills/ux-build/SKILL.md +67 -0
  28. package/skills/ux-build/SKILL.md.d.ts +3 -0
  29. package/skills/ux-copy/SKILL.md +65 -0
  30. package/skills/ux-copy/SKILL.md.d.ts +3 -0
  31. package/skills/ux-critique/SKILL.md +70 -0
  32. package/skills/ux-critique/SKILL.md.d.ts +3 -0
  33. package/skills/ux-design-system/SKILL.md +65 -0
  34. package/skills/ux-design-system/SKILL.md.d.ts +3 -0
  35. package/skills/ux-edge-states/SKILL.md +68 -0
  36. package/skills/ux-edge-states/SKILL.md.d.ts +3 -0
  37. package/skills/ux-ethics/SKILL.md +65 -0
  38. package/skills/ux-ethics/SKILL.md.d.ts +3 -0
  39. package/skills/ux-flows-ia/SKILL.md +70 -0
  40. package/skills/ux-flows-ia/SKILL.md.d.ts +3 -0
  41. package/skills/ux-handoff/SKILL.md +71 -0
  42. package/skills/ux-handoff/SKILL.md.d.ts +3 -0
  43. package/skills/ux-handoff-index/SKILL.md +72 -0
  44. package/skills/ux-handoff-index/SKILL.md.d.ts +3 -0
  45. package/skills/ux-live-verify/SKILL.md +110 -0
  46. package/skills/ux-live-verify/SKILL.md.d.ts +3 -0
  47. package/skills/ux-live-verify/references/axe-strategy.md +23 -0
  48. package/skills/ux-metrics/SKILL.md +63 -0
  49. package/skills/ux-metrics/SKILL.md.d.ts +3 -0
  50. package/skills/ux-problem-framing/SKILL.md +63 -0
  51. package/skills/ux-problem-framing/SKILL.md.d.ts +3 -0
  52. package/skills/ux-quickref/SKILL.md +69 -0
  53. package/skills/ux-quickref/SKILL.md.d.ts +3 -0
  54. package/skills/ux-research/SKILL.md +75 -0
  55. package/skills/ux-research/SKILL.md.d.ts +3 -0
  56. package/skills/ux-visual-direction/SKILL.md +63 -0
  57. package/skills/ux-visual-direction/SKILL.md.d.ts +3 -0
  58. package/skills/ux-wireframes/SKILL.md +63 -0
  59. package/skills/ux-wireframes/SKILL.md.d.ts +3 -0
  60. package/specialists.d.ts +1 -0
  61. package/specialists.js +1 -0
  62. /package/skills/{steward-quickref → aiwg-steward-quickref}/SKILL.md.d.ts +0 -0
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: ux-edge-states
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Per-screen loading, empty, error, offline, permission, partial-success and recovery state inventory.
6
+ triggers:
7
+ - ux.edge-states
8
+ - ux edge states
9
+ ---
10
+
11
+ # Edge states
12
+
13
+ AIWG default for `ux.edge-states`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.edge-states.yaml`.
15
+
16
+ Source: Intent `fortify` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran)
17
+ and Design `design-handoff` content states 1.2.0 (Apache-2.0; Copyright Anthropic).
18
+ See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
19
+ Changed: content-state checklist condensed into this inventory; measurements,
20
+ tokens, and motion specs stay with handoff.
21
+
22
+ ## Inputs and ownership
23
+
24
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
25
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
26
+ never permission to invent research, execution or human approval.
27
+
28
+ Own exceptional behavior; copy owns wording and build implements approved states.
29
+
30
+ ## Depth
31
+
32
+ - **quick**: the states a single screen can actually reach. Mark the others not applicable with a reason.
33
+ - **standard**: the screen inventory plus recovery, preserved data, and first-use versus returning.
34
+ - **full**: stress the content, volume, time, connectivity, and input method. Record internationalization expansion only when locales are in scope.
35
+
36
+ ## Method
37
+
38
+ For each applicable state answer three questions: what the person sees, what
39
+ they can do, and how they recover or continue. Cover default, empty, loading,
40
+ partial, error, success, offline, disabled, and overflow. Empty splits into
41
+ first use, no results, cleared, and failed load when those differ.
42
+
43
+ Specify the trigger, the visible response, the actions still available, and
44
+ the data that must survive. Recovery is local when the person can fix input,
45
+ a retry when the failure may be transient, and a degraded result when part of
46
+ the page can still be used. Destructive or long actions need undo or an
47
+ explicit confirm, named here and worded by `ux.copy`. Do not discard in-progress
48
+ work on a failed submit.
49
+
50
+ First use teaches by the first successful task. A tour that explains every
51
+ control is a non-goal unless the brief requires it. Loading that may exceed
52
+ a few seconds needs a specific status, not a silent spinner. Overflow states
53
+ name truncation, wrapping, and the path to the rest of the content.
54
+
55
+ Disabled controls say why they are unavailable. Offline says what still works.
56
+ Partial failure says which regions failed and which did not. Wording, exact
57
+ tokens, and implementation stay with copy, visual direction, and build.
58
+
59
+ ## Result
60
+
61
+ Before writing, run `aiwg artifacts path --json --check-write` and require
62
+ `artifact_path` beneath its `artifact_root`. Product code belongs in the
63
+ owning repository; stage records belong in `ux/<slug>/` beneath that root.
64
+ Write the concern result, source references, decisions and open gaps into
65
+ the requested record, preserving other concerns if a stage record is shared.
66
+ Return `summary`, `artifact_path`, `evidence` (source/check references) and
67
+ `gaps` (unresolved questions or missing checks). Do not claim a gate passed,
68
+ a worker ran or a live check succeeded without the corresponding evidence.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: ux-ethics
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Consent, reversibility, privacy, exclusion and coercion findings with mitigations, owners and residual risks.
6
+ triggers:
7
+ - ux.ethics
8
+ - ux ethics
9
+ ---
10
+
11
+ # Ethics and dark-pattern review
12
+
13
+ AIWG default for `ux.ethics`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.ethics.yaml`.
15
+
16
+ Source: Intent `evaluate` and `specify` 1.7.4 (CC0 1.0; courtesy credit
17
+ Ghaida Zahran). See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
18
+
19
+ ## Inputs and ownership
20
+
21
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
22
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
23
+ never permission to invent research, execution or human approval.
24
+
25
+ Own ethics review independently of packaging; handoff links findings without running a duplicate specification.
26
+
27
+ ## Depth
28
+
29
+ - **quick**: inspect the screen's defaults, consent, exit, and any pressure in the copy or layout.
30
+ - **standard**: the flow, including cancellation, price disclosure, and reversibility.
31
+ - **full**: the standard review plus exclusion and vulnerable-person impact. A pattern the design cannot justify from the person's side blocks handoff until a human decides.
32
+
33
+ ## Method
34
+
35
+ Inspect what the interface does if the person accepts every default. Record
36
+ consent as opt-in or opt-out, whether decline is as easy as accept, and
37
+ whether the decline path uses shame or a trick question. Check cancellation,
38
+ the price or commitment before the commit, and whether an action can be undone.
39
+
40
+ Look for these patterns and describe the concrete element, not a slogan:
41
+ fabricated urgency or scarcity; asymmetric effort; prechecked consent;
42
+ obstructed exits; attention capture that hides a cost; low contrast or
43
+ tiny type on unfavorable terms; mechanics that punish absence; exclusion
44
+ by language, locale, connectivity, or ability. If the audience may include
45
+ children or people under financial pressure, say how the pattern lands on
46
+ them and leave heightened-risk research as a gap.
47
+
48
+ For each finding record the harm, the severity (critical, high, or residual),
49
+ a mitigation the owning skill can make, the owner (`ux.copy`, `ux.flows-ia`,
50
+ `ux.visual-direction`, or the human), and the risk that remains if the
51
+ mitigation ships. A pattern with no user-side justification is critical and
52
+ blocks packaging until the human accepts the residual risk in writing.
53
+ This review is not human acceptance, and it does not clear the design.
54
+ Critique may notice a symptom; it does not replace this record.
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,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: ux-flows-ia
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Entry and exit points, journeys, navigation hierarchy, screen inventory and alternate paths.
6
+ triggers:
7
+ - ux.flows-ia
8
+ - ux flows ia
9
+ ---
10
+
11
+ # Flows and information architecture
12
+
13
+ AIWG default for `ux.flows-ia`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.flows-ia.yaml`.
15
+
16
+ Source: Intent `journey` and `organize` 1.7.4 (CC0 1.0; courtesy credit
17
+ Ghaida Zahran). See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
18
+
19
+ ## Inputs and ownership
20
+
21
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
22
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
23
+ never permission to invent research, execution or human approval.
24
+
25
+ Own navigation and journeys; edge-states owns detailed exceptional states.
26
+
27
+ ## Depth
28
+
29
+ - **quick**: one path from entry to the requested outcome, with back and cancel. Skip a new taxonomy.
30
+ - **standard**: the primary journey plus the navigation that makes the start findable, with labels and one recovery path.
31
+ - **full**: context and device variants, save/resume, channel handoffs, taxonomy notes, and an IA test plan. Do not invent test results.
32
+
33
+ ## Method
34
+
35
+ Map the journey from the person's goal, not from the screen list. For each
36
+ step record entry, the decision, the action, the feedback, and where they
37
+ can abandon or go back. Prefer fewer branches. Prevent errors before
38
+ designing recovery, and point exceptional states at `ux.edge-states` instead
39
+ of specifying them here.
40
+
41
+ Note variants only when behavior changes: narrow versus wide layout, a
42
+ returning person versus a first visit, and a channel change (for example
43
+ mail into the product). For save/resume, say what persists, what expires,
44
+ and what the returning person sees. If research showed distinct goals that
45
+ do not converge, keep separate journeys. Do not smooth them into one arc.
46
+
47
+ Choose a navigation pattern that matches the content, and say why the others
48
+ were set aside: hierarchy, hub, flat set, facets, dashboard, or a sequence.
49
+ Labels name the destination in the audience's words. A label that only names
50
+ a category ("Resources") is a gap until it says what is inside.
51
+
52
+ Check wayfinding on the primary path: where am I, where can I go, am I
53
+ still on the path, and does the arrival match the label? Search serves
54
+ known-item seeking; browse serves exploration. A zero-results moment needs
55
+ a recovery route, specified later by edge-states and copy.
56
+
57
+ Where labels are untested, add a card-sort or tree-test plan as a gap with
58
+ the decisions it would settle. Screen structure belongs to `ux.wireframes`.
59
+ Copy wording belongs to `ux.copy`.
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,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: ux-handoff
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Screen or flow specifications linking approved decisions, states, copy, implementation, checks, owners and open risks.
6
+ triggers:
7
+ - ux.handoff
8
+ - ux handoff
9
+ ---
10
+
11
+ # Design handoff
12
+
13
+ AIWG default for `ux.handoff`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.handoff.yaml`.
15
+
16
+ Source: Intent `specify` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran)
17
+ and Design `design-handoff` 1.2.0 (Apache-2.0; Copyright Anthropic).
18
+ See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
19
+ Changed: spec sections condensed; readiness and the entry record kept;
20
+ design-tool export and tracker steps removed.
21
+
22
+ ## Inputs and ownership
23
+
24
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
25
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
26
+ never permission to invent research, execution or human approval.
27
+
28
+ Package approved work; ethics owns its review, index/completeness belongs to ux-handoff-index (#4533).
29
+
30
+ ## Depth
31
+
32
+ - **quick**: one screen specification from the records that exist.
33
+ - **standard**: a flow package and an entry record that says how the pieces fit.
34
+ - **full**: the standard package plus a readiness check. Missing readiness items are gaps, not silent omissions.
35
+
36
+ ## Method
37
+
38
+ Do not invent a measurement, a token, or a behavior that no earlier record
39
+ states. An unspecified value is a gap.
40
+
41
+ A screen spec includes: what the screen is for; layout regions and how they
42
+ change by width; token names used (values only when the direction recorded
43
+ them); components and variants; interaction states; content limits and
44
+ truncation; empty, loading, and error references; and accessibility notes
45
+ already decided (focus order, names, keyboard). Motion is included only when
46
+ a record specified duration and easing.
47
+
48
+ For standard and full, write one entry record:
49
+
50
+ - What it is: the product, the change, and who it is for, from the brief.
51
+ - Contents: each source record path and one line on what it holds.
52
+ - How the pieces fit: one row per screen linking journey step, structure, states, and copy.
53
+ - Left to the builder: technology and anything the design deliberately left open.
54
+ - Open questions: plain questions that affect the build, each pointing at a record.
55
+
56
+ Readiness for a full package requires an approved brief, screens for the
57
+ journey, no open critical critique, and a linked ethics review. If one is
58
+ missing, name it and the skill that should settle it. Do not claim the
59
+ package is ready. Leave Gate C to the human. Do not claim the completeness
60
+ index passed.
61
+
62
+ ## Result
63
+
64
+ Before writing, run `aiwg artifacts path --json --check-write` and require
65
+ `artifact_path` beneath its `artifact_root`. Product code belongs in the
66
+ owning repository; stage records belong in `ux/<slug>/` beneath that root.
67
+ Write the concern result, source references, decisions and open gaps into
68
+ the requested record, preserving other concerns if a stage record is shared.
69
+ Return `summary`, `artifact_path`, `evidence` (source/check references) and
70
+ `gaps` (unresolved questions or missing checks). Do not claim a gate passed,
71
+ a worker ran or a live check succeeded without the corresponding evidence.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: ux-handoff-index
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Check UX stage records, human gates and verification blockers deterministically and write a handoff completeness index beneath the configured artifact root.
6
+ triggers:
7
+ - close the ux run
8
+ - build the ux handoff index
9
+ - is the ux handoff complete
10
+ ---
11
+
12
+ # UX Handoff Index
13
+
14
+ Final step of `flow-ux-studio` stage 7. This checks recorded evidence; it does
15
+ not perform live verification or establish that human attestations are true.
16
+
17
+ ## Inputs and routing
18
+
19
+ Take the run's kebab-case slug and owning project directory. Before any write,
20
+ run `aiwg artifacts path --json --check-write` in that project. Use
21
+ `<artifact_root>/ux/<slug>/`; stop if the configured root is unavailable.
22
+ The runner uses the same resolver, including external roots and environment
23
+ overrides. It never substitutes a local payload root for an unavailable one.
24
+
25
+ Discover the stage templates with `aiwg discover "UX studio stage" --type template`.
26
+ IDs are `ux-00-brief-template`, `ux-01-research-template`,
27
+ `ux-02-structure-template`, `ux-03-direction-template`, `ux-04-screens-template`,
28
+ `ux-05-build-template`, `ux-06-verify-template`, `ux-07-handoff-template` and
29
+ `ux-index-template`. Retain their exact field names when filling records.
30
+
31
+ ## Deterministic check
32
+
33
+ ```bash
34
+ node "$AIWG_ROOT/tools/ux/handoff-index.mjs" <slug> <project-dir>
35
+ ```
36
+
37
+ Exit 0 means complete, 1 means incomplete (with index and gaps), 2 means an
38
+ execution/routing error. Read the JSON result and inspect the written index.
39
+ Do not infer a pass from a failed invocation or a previous index.
40
+
41
+ - Read Tier (`quick`, `standard`, `full`) and Review-only (`true` or `false`)
42
+ from `00-brief.md`. Missing, duplicate or unknown metadata is a gap.
43
+ - Quick requires 00,03,04,05,06,07; standard/full requires 00–07.
44
+ Review-only drops 05 at every tier. Optional stages are marked not required.
45
+ - Every required file must be a nonempty regular file, with Status: Complete
46
+ and Gaps: none. Templates start pending, so copying them cannot pass.
47
+ - Gate A in 00, Gate B in 03 and Gate C in 07 each use an exact `## Gate A`
48
+ (or B/C) section, Decision: approved, a non-placeholder human Answer,
49
+ By (human name) and Date (valid YYYY-MM-DD). Rejections, pending answers,
50
+ cancellation and undated decisions cannot pass. A direction selection is
51
+ recorded verbatim in Answer; approval is separately recorded in Decision.
52
+ - `06-verify.md` must contain exactly one Blocking: none and one
53
+ Evidence gaps: none. Missing, ambiguous or populated lines block completion.
54
+ Keep a nonempty `## Verification results` section with the inspected results.
55
+ Comments and fenced examples cannot supply completion fields.
56
+ - The index links every stage, copies decisions and verification, lists gaps
57
+ and points back to stages for repairs. Gates alone cannot close a run.
58
+ Missing live evidence remains a gap even in review-only mode.
59
+ - Only a complete result appends a UTC completion entry to `activity.log`
60
+ beneath the resolved artifact root. Repeat checks do not duplicate that
61
+ run's completion entry. The index is recomputed on every invocation.
62
+
63
+ In explore mode ensure every direction's evidence is recorded before Gate B;
64
+ the checker cannot judge evidence quality or determine whether a screenshot
65
+ was actually inspected. Independently review evidence before clearing gaps.
66
+
67
+ ## Bound rule
68
+
69
+ Load `aiwg show rule artifact-output-policy --body` before writing; canonical
70
+ fallback: `$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/artifact-output-policy.md`.
71
+ Stop if the rule cannot be loaded. Documentation:
72
+ `$AIWG_ROOT/docs/frameworks/ux-complete/handoff-index.md`.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: ux-live-verify
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Verify a running UX page through browser-control with inspected breakpoint screenshots, keyboard paths, WCAG 2.2 AA axe scans, console errors and reduced motion. Publish stage 6 evidence and handoff blockers.
6
+ triggers:
7
+ - verify this page live
8
+ - live ux check
9
+ - run the accessibility scan on
10
+ - screenshot this page at breakpoints
11
+ ---
12
+
13
+ # UX Live Verify
14
+
15
+ Stage 6 of `flow-ux-studio`, implementing `ux.a11y-live`. Design-time
16
+ `ux.a11y-design` remains a separate concern. Inputs: target URL, owning project,
17
+ run slug and optional named keyboard flows. Test every explore direction.
18
+
19
+ ## Bound rules and preflight
20
+
21
+ Load `browser-control-safety`, `artifact-output-policy` and `native-ux-tools`
22
+ with `aiwg show rule <name> --body`. Stop if required rules cannot load.
23
+ The browser rule's canonical source is
24
+ `$AIWG_ROOT/agentic/code/addons/browser-control/rules/browser-control-safety.md`.
25
+ Resolve `aiwg artifacts path --json --check-write`; evidence belongs under
26
+ `<artifact_root>/ux/<slug>/`, product changes in the owning repository.
27
+
28
+ Discover `browser-driver` from the existing `browser-control` addon. Inspect
29
+ the actual callable tools; addon installation alone does not establish a driver.
30
+ Route **all** URLs, including local previews, through its authorization and
31
+ audit boundaries. Honor origin allow-lists, sensitive-action gates, sanitized
32
+ activity logging and cleanup; do not read tokens or authenticated storage.
33
+ Use origin-only URLs in reports and logs. Authorize redirects and any new
34
+ origins before navigation; stop on an unapproved redirect. Do not use denied
35
+ browser tools or enable unrestricted file access to bypass this boundary.
36
+
37
+ When the configured MCP browser is unavailable or an extension has no connected
38
+ tab, use an already project-installed Playwright library and browser in an
39
+ isolated **headless** session through browser-control. Do not install packages
40
+ or download a browser implicitly. Document the driver and mode actually used.
41
+ If neither driver works, write an **incomplete** result with `Blocking: browser
42
+ driver unavailable`, give `browser-setup` / `browser-doctor` remediation and stop.
43
+ Never infer a pass from static HTML, screenshots supplied by a builder, a
44
+ missing extension tab, or a driver timeout.
45
+
46
+ ## Live checks
47
+
48
+ 1. Start console-error and uncaught-error capture before navigation; collect
49
+ again after all interactions. Preserve sanitized details in the evidence.
50
+ 2. At widths **375, 768 and 1280**, height 900, save full-page screenshots to
51
+ `shots/<width>.png`. **Open and look at every screenshot**, using the host's
52
+ image viewer. Record a visual observation for each: overflow, overlap,
53
+ clipping, misplaced mobile/desktop controls and target sizing. A screenshot
54
+ path alone does not establish inspection. A layout break blocks handoff.
55
+ 3. At 1280, Tab and Shift+Tab through all controls; compare reached controls
56
+ with the rendered control inventory. Check visible focus, reading order,
57
+ traps, Escape/dialog dismissal and every requested keyboard flow, including
58
+ arrow navigation for composite widgets. Record focus trace and observations.
59
+ A bounded walk that runs out of steps is incomplete. Traps and unreachable
60
+ controls block handoff. A reviewer must check visual focus, not merely the
61
+ existence of `:focus-visible` in the DOM.
62
+ 4. Run axe-core using [the loading strategy](references/axe-strategy.md).
63
+ Include WCAG 2 A/AA, 2.1 A/AA and 2.2 AA tags. Record version/source, rule,
64
+ severity, affected targets and counts; unresolved axe `incomplete` checks
65
+ require review and leave verification incomplete. Critical/serious findings
66
+ block handoff. Moderate/minor findings stay in the report with repair owners.
67
+ 5. Emulate `prefers-reduced-motion: reduce`, verify the media query applied,
68
+ and visually inspect remaining animations/interactions. Record ignored
69
+ reduced-motion preferences as failures; no motion is a reviewed pass with
70
+ that observation. If emulation or review is unavailable, mark incomplete.
71
+ 6. Close the session created for verification on success **and** failure;
72
+ do not close unrelated operator tabs. Capture cleanup failures as gaps.
73
+
74
+ ## Executable support and result contract
75
+
76
+ Browser-control owns reusable runner and Playwright adapter modules at
77
+ `$AIWG_ROOT/agentic/code/addons/browser-control/scripts/ux-live-verify.mjs` and
78
+ `ux-playwright-driver.mjs`. See
79
+ `$AIWG_ROOT/docs/frameworks/ux-complete/live-verification.md` for their calling
80
+ contract. MCP hosts perform the same checks through `browser-driver` with its
81
+ discovered tools; UX instructions do not depend on host tool prefixes.
82
+
83
+ Write the result table to `06-verify.md`. The helper writes `live-verify.md`
84
+ and `live-verify.json`; merge its section into the stage record, preserving
85
+ critique/design review and replacing earlier live results. Keep exactly **one
86
+ aggregate `Blocking:` line** in stage 6. Preserve blockers from other reviews;
87
+ use `none` only when every required review and live check passed. The
88
+ `ux-handoff-index` consumes that line; missing evidence is also a blocker.
89
+
90
+ ```markdown
91
+ ## Live verification: <origin> (<date>)
92
+ Driver: <actual driver / MCP or headless>
93
+ Status: passed | failed | incomplete
94
+
95
+ | Check | Result | Details |
96
+ |---|---|---|
97
+ | Console errors | pass/fail/incomplete | count and sanitized evidence |
98
+ | 375 layout | pass/fail/incomplete | shots/375.png and visual observation |
99
+ | 768 layout | pass/fail/incomplete | shots/768.png and visual observation |
100
+ | 1280 layout | pass/fail/incomplete | shots/1280.png and visual observation |
101
+ | Keyboard | pass/fail/incomplete | trace, focus/order, traps, reachability, Escape |
102
+ | axe-core WCAG 2.2 AA | pass/fail/incomplete | source, counts, rules and targets |
103
+ | Reduced motion | pass/fail/incomplete | emulation and visual observation |
104
+
105
+ Blocking: <all blockers and evidence gaps, or none>
106
+ ```
107
+
108
+ Return failures to stage 5; after two failed repair rounds stop with evidence.
109
+ Review-only reports findings without editing product code. Axe covers automated
110
+ checks, not full WCAG conformance or a manual screen-reader review.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,23 @@
1
+ # axe-core loading strategy
2
+
3
+ 1. Resolve `axe-core/axe.min.js` and its version from the **owning project's**
4
+ dependencies. Inject those bytes into the authorized page. Do not use an
5
+ unrelated global installation or execute a package install.
6
+ 2. If unavailable or blocked, optionally load the pinned copy at
7
+ `https://cdnjs.cloudflare.com/ajax/libs/axe-core/4.10.2/axe.min.js`.
8
+ This requires network access from the browser to **cdnjs.cloudflare.com**
9
+ and permission under the workspace's network/browser policy. Document the
10
+ network need and selected source. The helper defaults `allowNetworkAxe` to
11
+ **false**; offline tests never enable this path. Never use a floating version.
12
+ 3. If CSP blocks injection, or neither source can load, capture the rendered
13
+ accessibility tree through the browser-control driver. Review names, roles,
14
+ labels, state and hierarchy; attach findings and a remediation owner.
15
+ Mark the axe result **incomplete**, even if the tree review finds no issues.
16
+ Do not disable CSP or turn off browser safety to obtain a scan.
17
+
18
+ Run `axe.run(document, {runOnly: {type: 'tag', values:
19
+ ['wcag2a','wcag2aa','wcag21a','wcag21aa','wcag22aa']}})`.
20
+ Capture `violations` and `incomplete`; retain rule id, impact, help, node count
21
+ and targets. Critical or serious violations enter stage 6's `Blocking:` line.
22
+ Unresolved manual checks and unavailable scans also leave handoff incomplete.
23
+ Record remaining findings even when they do not trigger the severity threshold.
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: ux-metrics
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Outcome metrics with definitions, baseline availability, target, measurement method, owner and guardrails.
6
+ triggers:
7
+ - ux.metrics
8
+ - ux metrics
9
+ ---
10
+
11
+ # Success metrics
12
+
13
+ AIWG default for `ux.metrics`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.metrics.yaml`.
15
+
16
+ Source: Intent `measure` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran).
17
+ See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
18
+
19
+ ## Inputs and ownership
20
+
21
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
22
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
23
+ never permission to invent research, execution or human approval.
24
+
25
+ Own measurement design; framing states the goal and research owns observed findings.
26
+
27
+ ## Depth
28
+
29
+ - **quick**: one success measure tied to the brief's outcome, plus one counter-metric.
30
+ - **standard**: a goal, signal, and metric chain for the primary task, with definition, baseline status, target, and owner.
31
+ - **full**: add the funnel steps, a guardrail, and how qualitative evidence would confirm or challenge the number. An experiment plan names the hypothesis and what is still unknown. Do not compute a sample size you did not calculate from supplied inputs.
32
+
33
+ ## Method
34
+
35
+ Pick two or three HEART dimensions that match the intent. Task success and
36
+ satisfaction matter for a completion flow; adoption and retention matter when
37
+ the brief is about coming back. Engagement is not a substitute for value.
38
+ For every optimized metric, name a counter-metric that would show harm.
39
+
40
+ Write a chain: the goal in the person's outcome, the observable signal, and
41
+ the metric as a numerator, a denominator, a segment, a source, a frequency,
42
+ and a threshold. "Improve the experience" is not a goal. If the baseline is
43
+ unknown, say so. If no collection method exists, propose a plan and put the
44
+ missing instrument in `gaps`. Never fabricate a rate, a count, or a test result.
45
+
46
+ On a full pass, list funnel steps as observable events and the drop you would
47
+ investigate first. Guardrails include privacy (what is not collected, and
48
+ retention) and a regression the change must not worsen. When a metric
49
+ contradicts a framing assumption, name the assumption and the evidence, and
50
+ return the decision to the human. Measurement does not reopen the brief by
51
+ itself. A single metric moving the desired way is not proof the person is
52
+ better off.
53
+
54
+ ## Result
55
+
56
+ Before writing, run `aiwg artifacts path --json --check-write` and require
57
+ `artifact_path` beneath its `artifact_root`. Product code belongs in the
58
+ owning repository; stage records belong in `ux/<slug>/` beneath that root.
59
+ Write the concern result, source references, decisions and open gaps into
60
+ the requested record, preserving other concerns if a stage record is shared.
61
+ Return `summary`, `artifact_path`, `evidence` (source/check references) and
62
+ `gaps` (unresolved questions or missing checks). Do not claim a gate passed,
63
+ a worker ran or a live check succeeded without the corresponding evidence.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: ux-problem-framing
3
+ namespace: aiwg
4
+ platforms: [flue]
5
+ description: Goal, audience, user problem, constraints, non-goals and measurable success; separate assumptions from evidence.
6
+ triggers:
7
+ - ux.problem-framing
8
+ - ux problem framing
9
+ ---
10
+
11
+ # Problem framing
12
+
13
+ AIWG default for `ux.problem-framing`. Load the contract from
14
+ `$AIWG_ROOT/agentic/code/frameworks/ux-complete/capabilities/ux.problem-framing.yaml`.
15
+
16
+ Source: Intent `strategize` 1.7.4 (CC0 1.0; courtesy credit Ghaida Zahran,
17
+ https://github.com/ghaida/intent). See `$AIWG_ROOT/agentic/code/frameworks/ux-complete/NOTICE`.
18
+
19
+ ## Inputs and ownership
20
+
21
+ Require `brief`, `tier` (quick, standard or full), supplied `context` and
22
+ `artifact_path`. Use the smallest adequate depth. Missing evidence is a gap,
23
+ never permission to invent research, execution or human approval.
24
+
25
+ Own the problem statement; research owns evidence synthesis and metrics owns measurement design.
26
+
27
+ ## Depth
28
+
29
+ - **quick**: one screen or a copy change. Answer who, what failed, the constraint that binds, and the smallest change. One success signal for metrics to formalize.
30
+ - **standard**: a multi-screen flow. Situation, complication, and proposed resolution, plus the five questions below with an explicit gap where evidence is missing.
31
+ - **full**: a product area or IA change. Add non-goals, competing alternatives already in market or in the product, and the assumption that would reopen the brief.
32
+
33
+ ## Method
34
+
35
+ State the brief as situation, complication, resolution. The situation is the
36
+ specific present state, not a category label. The complication is the tension
37
+ the supplied evidence supports. Refuse a complication written to fit a
38
+ prechosen solution. The resolution is the smallest change that addresses that
39
+ tension, and why this is the moment.
40
+
41
+ Answer these questions. Each unanswered question is a gap, not a guess:
42
+
43
+ 1. Problem: who is blocked, and what do they do today instead?
44
+ 2. Audience: which people are in scope, and which are explicitly out?
45
+ 3. Solution fit: why this change, rather than a policy, content, or support change?
46
+ 4. Feature fit: what is in the first slice, and what is a non-goal?
47
+ 5. Landscape: what already exists in the product or in supplied comparisons?
48
+
49
+ Separate evidence links from assumptions. An assumption names the question
50
+ that would retire it and who can answer. Hand measurement design to
51
+ `ux.metrics` and evidence synthesis to `ux.research`. Return Gate A to the
52
+ human. Do not mark the gate passed.
53
+
54
+ ## Result
55
+
56
+ Before writing, run `aiwg artifacts path --json --check-write` and require
57
+ `artifact_path` beneath its `artifact_root`. Product code belongs in the
58
+ owning repository; stage records belong in `ux/<slug>/` beneath that root.
59
+ Write the concern result, source references, decisions and open gaps into
60
+ the requested record, preserving other concerns if a stage record is shared.
61
+ Return `summary`, `artifact_path`, `evidence` (source/check references) and
62
+ `gaps` (unresolved questions or missing checks). Do not claim a gate passed,
63
+ a worker ran or a live check succeeded without the corresponding evidence.
@@ -0,0 +1,3 @@
1
+ import type { SkillReference } from '@flue/runtime';
2
+ declare const skill: SkillReference;
3
+ export default skill;