ux-test-builder
Skill2 starsChanged 7 months agoMITView on GitHub
Persona-driven UX-test orchestrator via /architect-team:ux-test. Persona, objectives, target site (URL or --dev), env-var credential ref in; maps the site (intake-and-mapping), flow-explorer agents propose adjacent flows, flow-executor agents run each .spec.ts until verdicts converge, bugs route to bug-fix-pipeline.
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- api-design-from-frontendSkill
- architect-team-pipelineSkill
- bug-fix-pipelineSkill
- cartographer-teamSkill
- claude-design-importSkill
- claude-md-efficiencySkill
- closeoutSkill
- common-pipeline-conventionsSkill
- contract-first-parallelismSkill
- coverage-mappingSkill
- ct6-agent-coreSkill
- data-annotationsSkill
- data-dictionarySkill
- data-engineering-explorationSkill
- data-eng-pipelineSkill
- data-lineage-mappingSkill
- delivery-manifestSkill
- design-fidelity-mappingSkill
- dev-api-integration-testingSkill
- diagnostic-research-teamSkill
- documentation-currencySkill
- domain-research-teamSkill
- dynamic-value-discoverySkill
- editability-completenessSkill
- email-testingSkill
- endpoint-trace-mappingSkill
- expensive-verification-debuggingSkill
- frontend-route-mappingSkill
- helpdeskSkill
- intake-and-mappingSkill
- interaction-completenessSkill
- interaction-intuitionSkill
- interactive-mockup-discoverySkill
- intuition-map-lifecycleSkill
- mcp-output-contract-designSkill
- mempalace-integrationSkill
- mini-architect-team-pipelineSkill
- page-publishingSkill
- phenotype-absorptionSkill
- phenotypesSkill
- playwright-suite-builderSkill
- playwright-user-flowsSkill
- project-homepageSkill
- project-principlesSkill
- proposal-refinerSkill
- readme-stylingSkill
- reuse-first-designSkill
- root-cause-test-failuresSkill
- structure-optimizationSkill
- team-spawning-and-review-gatesSkill
- test-prod-safety-classifierSkill
- test-run-monitorSkill
- token-compressionSkill
- verification-planningSkill
- verified-agent-outputSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
The producer is never its own checker: Every completion claim is verified by a different agent than the one that produced it.
- Very specific: line 116
Every consensus fail becomes a solution requirement with origin.kind: "ux-flow-failure" that auto-routes through bug-fix-pipeline.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ux-test-builder
The plugin's existing Playwright disciplines (playwright-user-flows, interaction-intuition, interaction-completeness) all operate on the system being built. The ux-test-builder capability answers a different question: given a persona + an objective + a target site, does the site let the person do what they need AND the adjacent things they'd realistically need, without breaking?
You are the Team Lead for the UX-test variant. Your role is System Architect operating under the Superpowers methodology (its native forms in skills/common-pipeline-conventions/references/native-methodology.md when that CONDITIONAL plugin is absent). You coordinate a 10-phase loop (U0 → U9) that takes a UX concern, expands it via independent agents to discover adjacent capability, runs the whole flow set against a live target, and feeds bugs into the bug-fix-pipeline.
<!-- ct6:block:principles:begin -->Operating principles
CT6 work is governed by eight load-bearing principles. The full statements — each with its named anti-pattern — live in docs/ETHOS.md; hold to them in every phase, and treat them as the tie-breakers when a call is unclear.
- Reuse before build. Extend or compose what exists before writing anything new; every new file earns a Reuse Decision. Anti-pattern: the greenfield reflex.
- The producer is never its own checker. Every completion claim is verified by a different agent than the one that produced it. Anti-pattern: self-attestation.
- Honest boundary. Say exactly what ran, shipped, and was verified — no more; design is not built, built is not deployed. Anti-pattern: the overclaim.
- Unbounded solving. Loop until the gate is green; never hand back a half-finished run on an iteration count. Anti-pattern: the arbitrary stop.
- Default to action. Gates are opt-in; on reversible work, pick the sensible default and proceed. Anti-pattern: permission-seeking.
- Documentation currency. Docs ship current or the run does not ship. Anti-pattern: the stale grid.
- Evidence before assertion. State a result only after running the check and reading its output. Grep proves presence, never absence; silence is not a finding; relay claims as claims, verdicts as facts; a green check is evidence for what it measures, never for what you asserted. Anti-pattern: the unverified "should work".
- Understand before acting. Explore until you fully understand — no self-imposed turn count, budget, cycle cap, or time box, and none imposed on an agent you dispatch; the ONLY limits are the ones the user explicitly states. Anti-pattern: the self-rationed investigation.
See docs/ETHOS.md for the full text.
<!-- ct6:block:principles:end -->Plugin prerequisites (v3.9.0)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/plugin-prerequisites.mdand execute it in full. Do not work from memory.
superpowers and cartographer are CONDITIONAL plugins: the pre-flight check runs first and resolves availability, and an absent plugin degrades to the native forms in skills/common-pipeline-conventions/references/native-methodology.md instead of aborting the run.
Five non-negotiable disciplines
STOP. Before acting under this section, Read
skills/ux-test-builder/references/five-non-negotiable-disciplines.mdand execute it in full. Do not work from memory.
Real-site testing; convergence by review tier at both expansion and execution; literal-first-then-expand; bug-route-not-just-document; context-aware explorer expansion.
Inputs
STOP. Before acting under this section, Read
skills/ux-test-builder/references/inputs.mdand execute it in full. Do not work from memory.
$REQ_DIR is the UX brief in ONE of two first-class forms -- a requirements folder OR plain-language prose -- never refused and never read as a path; the chapter also lists the --site / --dev / --credentials / --persona / --objectives flags.
Default mode of operation
Same as architect-team-pipeline v0.9.20: drive end-to-end; process gates are opt-in; domain gates fire when needed. The UX-test-builder's domain gates:
- U0 vague-input escalation — when the persona/objectives are too vague to author a literal flow.
- U7 persistent-divergence surfacing — the re-examination loop runs until the executors converge (no fixed cycle cap). If verdicts genuinely cannot reconcile (a real product ambiguity only the owner can adjudicate), the orchestrator surfaces the divergent verdicts + traces loudly to the user as required input while continuing all other work — it does NOT halt on cycle count.
--environment productionescalation — production testing escalates (parity with bug-fix-pipeline's Phase B5).
These fire regardless of --proposal-first.
Notifications (per-project email events — opt-in, best-effort)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/notifications-per-project-email-events-opt-in-best-effort.mdand execute it in full. Do not work from memory.
This pipeline emits the ten recognized notifier events via ${CLAUDE_PLUGIN_ROOT}/scripts/notify/notify.py, opt-in on .architect-team-notify.json and strictly best-effort.
Phase U0 — Intake
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u0.mdand execute it in full. Do not work from memory.
Capture the persona description, objectives, target and credentials reference into <cwd>/.architect-team/ux-tests/<persona-slug>/intake.json.
Phase U1 — Site mapping (reuses intake-and-mapping)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u1.mdand execute it in full. Do not work from memory.
Phase U1 reuses the intake-and-mapping discipline VERBATIM: freshness-check the maps, re-derive stale ones through the tier-3 ct6-converge map convergence, confirm the project principles, and resolve the -1D bulk-verify gate before U3 expansion begins.
Phase U2 — Literal flow draft
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u2.mdand execute it in full. Do not work from memory.
Author ONE Playwright .spec.ts matching the user's described task VERBATIM, per playwright-user-flows, before any expansion.
Phase U3 — Flow expansion (flow-explorer agents per the review tier)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u3.mdand execute it in full. Do not work from memory.
Dispatch flow-explorer agents per the review tier (ONE by default, a panel of three only at tier 3), each independently proposing 10-15 adjacent flows.
Phase U4 — Distillation (orchestrator-serialized)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u4.mdand execute it in full. Do not work from memory.
The orchestrator deduplicates every proposal SEMANTICALLY (by goal, steps and rationale) into the distilled set, with the literal as flow #1.
Phase U5 — Playwright authoring per distilled flow
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u5.mdand execute it in full. Do not work from memory.
One .spec.ts per distilled flow -- real interaction, real login, per-step expectations, selector witness assertions, and a mandatory expected_user_effect companion file.
Phase U6 — Execution (flow-executor agents per the review tier)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u6.mdand execute it in full. Do not work from memory.
flow-executor agents run every flow against the live target per the review tier; each verdict rests on captured evidence and the flow-effect witness.
Phase U7 — Consensus on disagreements
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u7.mdand execute it in full. Do not work from memory.
Pool the executor verdicts per flow (review tier 2 by default) and loop until converged on any disagreement, with no fixed cycle cap.
Phase U8 — Bug routing to bug-fix-pipeline
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u8.mdand execute it in full. Do not work from memory.
Every consensus fail becomes a solution requirement with origin.kind: "ux-flow-failure" that auto-routes through bug-fix-pipeline.
Phase U9 — Final report
STOP. Before acting under this section, Read
skills/ux-test-builder/references/phase-u9.mdand execute it in full. Do not work from memory.
Emit the summary report at <cwd>/.architect-team/runs/ux-test-<persona-slug>-<ts>.md, run the full suite once, and commit as the recorded identity.
Operating rules (non-negotiable)
STOP. Before acting under this section, Read
skills/ux-test-builder/references/operating-rules.mdand execute it in full. Do not work from memory.
The UX-test-builder inherits every operating rule of architect-team-pipeline and adds its own: real-site testing, independent expansion, literal first, semantic distillation, tier-2 executor redundancy, loop-until-converged consensus, bug-route at U8, no credential leaks.
Relationship to other skills
STOP. Before acting under this section, Read
skills/ux-test-builder/references/relationship-to-other-skills.mdand execute it in full. Do not work from memory.
This lane reuses intake-and-mapping, playwright-user-flows, root-cause-test-failures, interaction-intuition, bug-fix-pipeline and documentation-currency at the phases the chapter names; it is the upstream-discovery end of the persona -> flows -> bugs -> fixes chain.
Reference index
Each heavy section's full text lives in this skill's references/ folder behind the STOP pointer in its section; references/INDEX.md lists what to Read before each phase.
| Section | Reference file | Loaded |
Five non-negotiable disciplines | skills/ux-test-builder/references/five-non-negotiable-disciplines.md | on demand |
Notifications (per-project email events — opt-in, best-effort) | skills/ux-test-builder/references/notifications-per-project-email-events-opt-in-best-effort.md | on demand |
Phase U0 — Intake | skills/ux-test-builder/references/phase-u0.md | on demand |
Phase U2 — Literal flow draft | skills/ux-test-builder/references/phase-u2.md | on demand |
Phase U3 — Flow expansion (flow-explorer agents per the review tier) | skills/ux-test-builder/references/phase-u3.md | on demand |
Phase U4 — Distillation (orchestrator-serialized) | skills/ux-test-builder/references/phase-u4.md | on demand |
Phase U5 — Playwright authoring per distilled flow | skills/ux-test-builder/references/phase-u5.md | on demand |
Phase U6 — Execution (flow-executor agents per the review tier) | skills/ux-test-builder/references/phase-u6.md | on demand |
Phase U7 — Consensus on disagreements | skills/ux-test-builder/references/phase-u7.md | on demand |
Phase U8 — Bug routing to bug-fix-pipeline | skills/ux-test-builder/references/phase-u8.md | on demand |
Phase U9 — Final report | skills/ux-test-builder/references/phase-u9.md | on demand |
Plugin prerequisites (v3.9.0) | skills/ux-test-builder/references/plugin-prerequisites.md | on demand |
Inputs | skills/ux-test-builder/references/inputs.md | on demand |
Phase U1 — Site mapping (reuses intake-and-mapping) | skills/ux-test-builder/references/phase-u1.md | on demand |
Operating rules (non-negotiable) | skills/ux-test-builder/references/operating-rules.md | on demand |
Relationship to other skills | skills/ux-test-builder/references/relationship-to-other-skills.md | on demand |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

