Pack Availability Guard
Before telling the user to run a skill from another project-local pack, check .agents/project.json.enabled_packs. If the target pack is not enabled, recommend $pack install <pack> instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
UAT
Invoke as $uat.
Create a user acceptance testing plan from the perspective of a potential or target user. This skill reads the product surface, specs, journeys, stories, roadmap, and relevant research, then produces realistic end-to-end user journeys that validate whether the product satisfies user goals.
UAT is not dogfooding. Dogfood asks how the app owner can adopt the product into their own workflow to understand and evaluate it. UAT asks whether a target user can complete meaningful real-world journeys and would accept the product as fit for use.
This is a human-run acceptance plan, not automated testing. Do not start servers, drive browsers, call APIs, create accounts, or perform the scenarios yourself.
When invoked with --variant-evaluation (or when the user asks to test/review UI variants), create a hands-on evaluation plan for built UX/UI variants before $consolidate-variations. This mode helps the user try each variant in a comparable way and capture enough evidence to form a defensible consolidation opinion.
Workflow
Resolve project context
- Read
.agents/project.json if it exists.
- Use
project_type and enabled_packs when present.
- If project metadata is missing, infer the project type from repo signals:
- business-app: SaaS, marketplace, productivity, workflow, enterprise, or user-facing app
- devtool: SDK, CLI, API, library, infrastructure, docs, examples, or package-first developer workflow
- game: game engine files, playable prototypes, store assets, or game-specific README/spec language
- generic: no strong domain signal
- Read
README.md, AGENTS.md, CLAUDE.md, relevant docs/, specs/, spec.md, and tasks/ files when present.
Load user evidence
- Business app: read
research/icp.md, research/journey-map.md, research/customer-feedback.md, research/metrics.md, and research/mvp-gap.md when present.
- Devtool: read
research/devtool-user-map.md, research/devtool-dx-journey.md, research/devtool-integration-map.md, docs, examples, and package manifests when present.
- Game: read
research/game-audience.md, research/game-fantasy.md, research/game-core-loop.md, research/game-prototype-test.md, and research/game-playtest-metrics.md when present.
- Generic: use specs, README, routes, tests, examples, issue descriptions, and task acceptance criteria.
- In monorepos with
research/{app}/ or specs/{app}/, produce app-scoped UAT journeys for the requested app. If no app is specified and multiple apps are plausible, ask the user to choose.
2b. Variant evaluation mode
- Trigger this branch when invoked with
--variant-evaluation, when specs/ui-layout-variations-*.md exists for the requested topic, or when the user asks how to test/review built variants.
- Read
specs/ui-layout-variations-[topic].md, specs/ux-variations-[topic].md, specs/ui-requirements-[topic].md, built variant routes/components, and any existing research/uat-variant-evaluation-[topic].md.
- Identify each variant, its intended thesis, implementation location, and the target user task it should support.
- Create comparable journeys that make the user perform the same core task in every variant, then capture variant-specific strengths, friction, confidence, and rejection signals.
- Include a side-by-side comparison matrix and a "Ready for
$consolidate-variations?" checklist.
- Human execution still belongs in
tasks/manual-todo.md; this skill writes the plan and manual tasks, but does not run the variants.
- After writing files, recommend
$consolidate-variations only as the next step after the manual evaluation tasks are completed or when the user explicitly says they have already evaluated the variants.
- Stop after this branch. Do not generate generic target-user acceptance journeys unless the user also requested them.
Define acceptance perspective
- Identify 1-3 target user personas or roles from the evidence.
- For each selected persona, define the job-to-be-done, context, goal, constraints, and acceptance threshold.
- Prefer external target users, buyers, evaluators, administrators, developers, or players over the product owner unless the owner is also the target user.
- If the target user is unclear, stop and recommend
$spec-interview, $journey-map, or the relevant pack research skill. For $journey-map and other pack-based skills, apply the Pack Availability Guard — if the target skill's pack is not in .agents/project.json enabled_packs, recommend $pack install <pack> before the skill.
Create UAT journeys
- Generate 3-7 journeys unless the user requested a narrower focus.
- Cover at least one critical happy path, one realistic obstacle or recovery path, and one return-use or handoff path when supported by the product evidence.
- Each journey must include:
- target user
- user goal
- real-world trigger
- setup and preconditions
- end-to-end task sequence
- expected user-visible success state
- acceptance criteria
- non-acceptance signals
- evidence to capture
- tester notes prompt
- follow-up routing
- Use concrete product language from specs and journeys. Avoid vague instructions such as "verify the feature works."
Classify follow-up work
- Human-run UAT journeys go in
tasks/manual-todo.md under ## UAT Journeys.
- Use
_(after: research/uat-plan.md)_ unless the journey blocks or follows a known roadmap step. If tied to a known step, use _(blocks: Step N.X)_ or _(after: Step N.X)_.
- Do not put human-run UAT journeys in
tasks/todo.md.
- Implementation or documentation fixes discovered after a completed UAT run belong in
tasks/todo.md, but do not invent fixes before the user journey has been attempted.
- One-time evidence collection belongs in
tasks/record-todo.md.
- Recurring release acceptance checks belong in
tasks/recurring-todo.md only when there is a clear release cadence.
- If a journey needs click-by-click help for a human-only external blocker, recommend
$guide.
Present findings before writing when risk is high
- If source material is thin, contradictory, or missing target-user evidence, summarize the gap and ask whether to proceed with assumptions.
- If source material is sufficient, write the plan and task sections directly.
Deliverables
research/uat-plan.md - persona assumptions, journey matrix, source evidence, acceptance checklist, result log template, and follow-up guidance.
- In variant evaluation mode:
research/uat-variant-evaluation-[topic].md - variant inventory, task script, comparison matrix, result logs, and consolidation readiness checklist.
tasks/manual-todo.md - append or replace only the ## UAT Journeys section.
tasks/recurring-todo.md - optional, only when recurring UAT is useful and not already tracked.
If tasks/manual-todo.md does not exist, create it with a # Manual Tasks - [Project Name] title, a short note that these items require human-only action, and the UAT section. Preserve all non-UAT sections when updating an existing file.
Use this journey format in research/uat-plan.md:
### Journey N: [Name]
- Target user: [persona or role]
- User goal: [what the user is trying to accomplish]
- Trigger: [real-world reason the user starts]
- Setup: [accounts, data, environment, permissions, or sample state needed]
- Task sequence:
- [step the human tester performs as the target user]
- Expected success state: [observable user-visible result]
- Acceptance criteria:
- [ ] [specific criterion]
- Non-acceptance signals: [confusion, delay, missing affordance, incorrect result, trust issue, or blocker]
- Evidence to capture: [screenshots, recordings, notes, timestamps, records, command output, or artifacts]
- Tester notes prompt: [question that captures whether the target user would accept this]
- Follow-up routing: [manual note, $spec-interview, $journey-map, $guide, or task promotion guidance]
#### UAT result log
- Status: Not run | Pass | Fail | Blocked
- Evidence captured:
- Tester notes:
- Follow-up tasks promoted:
Use this variant evaluation format in research/uat-variant-evaluation-[topic].md:
## Variant Evaluation Plan
### Variant Inventory
| Variant | Implementation location | Thesis | Primary task |
|---|---|---|---|
### Shared Evaluation Script
- Target user:
- Scenario:
- Setup:
- Core task sequence:
- Success criteria:
- Non-acceptance signals:
- Evidence to capture:
### Per-Variant Result Log
#### [Variant name]
- Status: Not run | Pass | Fail | Blocked
- Evidence captured:
- What worked:
- What felt wrong:
- Time/friction notes:
- Keep for consolidation:
- Reject for consolidation:
- Confidence: Low | Medium | High
### Side-by-Side Comparison Matrix
| Dimension | Variant A | Variant B | Variant C | Current preference | Evidence |
|---|---|---|---|---|---|
### Ready for `$consolidate-variations`?
- [ ] Every built variant has been tried or explicitly skipped.
- [ ] Evidence exists for each kept/rejected design element.
- [ ] Open blockers are documented.
- [ ] The user has enough confidence to converge.
Use this item format in tasks/manual-todo.md:
## UAT Journeys
- [ ] Run UAT journey: [Journey name] as [target user] _(after: research/uat-plan.md)_ - capture evidence in `research/uat-plan.md`.
Task Classification
- Human UAT journey execution goes in
tasks/manual-todo.md.
- Variant evaluation tasks go in
tasks/manual-todo.md under ## UAT Journeys and should reference research/uat-variant-evaluation-[topic].md.
- Immediate implementation or documentation fixes confirmed by completed UAT go in
tasks/todo.md.
- One-time condition-gated evidence collection goes in
tasks/record-todo.md.
- Release-cadence UAT checks go in
tasks/recurring-todo.md.
- Do not put non-blocking records or recurring obligations in
tasks/todo.md unless they have been explicitly promoted into current execution work.
Constraints
- Do not run or operate the product in this skill.
- Do not start dev servers, launch browsers, use Playwright, call APIs, create accounts, or perform CLI workflows.
- Do not mark journeys complete; only a human tester can do that after performing them.
- Do not recommend
$consolidate-variations before variant evaluation evidence exists, unless the user explicitly confirms they have already reviewed the variants and are ready to converge.
- Do not duplicate existing unchecked UAT or manual tasks. Reference existing items when they already cover the same journey.
- Prefer evidence-backed target-user journeys over exhaustive feature coverage.
- Keep dogfood and UAT separate: use
$dogfood for owner/operator adoption into the builder's workflow; use $uat for target-user acceptance journeys.
- If no credible user journey, story, spec, or product surface can be found, stop and recommend
$spec-interview, $journey-map, or the relevant pack research skill. Apply the Pack Availability Guard for pack-based skills.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page at alignment/uat-{topic}.html. Use a normalized topic slug derived from the app, feature, research subject, report subject, or output filename.
Full content requirement. The alignment page must contain the complete content of every proposed markdown deliverable -- every section, every finding, every detail, every list item. It is a thorough interactive review document, not a summary. Render the full deliverable content in clean, readable HTML with appropriate hierarchy, styling, and navigation. If the skill writes multiple scoped deliverables in one run, build one alignment page that contains all deliverables with anchor-linked navigation. Durable tracker artifacts, such as research/assumption-tracker.md, remain canonical markdown outputs but must also be fully rendered into the alignment page before approval.
Dark-mode styling. Use a dark color scheme by default. Base CSS variables: --bg: #0d1117; --surface: #161b22; --border: #30363d; --text: #c9d1d9; --text-muted: #8b949e; --accent: #58a6ff; --green: #3fb950; --red: #f85149; --orange: #d29922; --purple: #bc8cff;. Apply background: var(--bg); color: var(--text); on body. Use --surface for cards, nav, and table headers. Use --border for all borders. Use --purple for question blocks and gate headings. Use --accent for links and section headings. Keep headings color: #fff or var(--accent) for hierarchy. Question block backgrounds should use #1c2333.
Alignment gates. Treat gates as explicit review sections inside the HTML page. A gate blocks finalization until its required inline questions are answered and compiled into YAML. Include every gate that applies to the skill output, and include these gate types whenever relevant: evidence coverage, assumptions/confidence, scope/non-goals, candidate/verdict decisions, artifact destination, proposed file changes, coverage checkpoint, and post-approval route.
Report-only research gates. For report-only or pre-approval research skills, the alignment page must explicitly contain evidence coverage, assumptions/confidence, recommended path, proposed file changes, and approval gates before any canonical research, spec, or task file is created or updated.
UAT-specific gates. Render journey coverage, participant or evaluator assumptions, acceptance verdicts, evidence gaps, artifact destination, proposed file changes, and post-approval route as gates.
Required inline questions. Each gate must contain at least one required inline question placed directly under the content it governs, inside a visually distinct question block. Each question must use radio-button inputs and include two standing options after the skill-generated choices: "Other / None of the above" backed by a multi-line text box for free-form input, and "Need clarification" backed by an optional notes box where the user can explain what is unclear. When any radio option other than "Other" or "Need clarification" is selected, show an optional "Additional notes" text box beneath it so the user can qualify their choice. Generate questions based on what genuinely needs user input -- do not add filler questions. Do not create a separate bottom "Decisions & Clarifications" section.
Gate YAML contract. At the bottom of the page, include a "Compile Answers" button that aggregates answers from all inline gate questions throughout the page, including free-text notes. The button remains disabled until every required question has a selection, shows a count of remaining unanswered questions, and scrolls to the first unanswered question if clicked early. When every question is answered, generate a structured YAML block with one item per gate answer using this stable shape: section, gate_type, status (answered, other, or needs-clarification), answer, optional notes, and optional target_artifact or target_path when the gate controls file output. After successful compilation, automatically attempt to copy the YAML to the clipboard with the Clipboard API, display copy status, and display the YAML in a read-only textarea with an explicit "Copy YAML" button. The copy button must retry clipboard copy when supported and fall back to selecting the textarea contents when clipboard access is unavailable or blocked.
Pre-approval stop. Before user approval, the next action is review of the HTML alignment page, not downstream routing. Ask the user to review the page and provide the compiled YAML answers. Do not include Recommended next skill, Recommended next command, or downstream routing language until after compiled YAML has been provided and the approved artifacts have been written or updated.
Diff highlighting on updates. When the agent updates an existing alignment page after receiving compiled answers, highlight what changed since the previous version. The agent chooses inline annotation or side-by-side layout per situation.
Archiving. Before replacing an existing alignment page, archive it to docs/history/archive/YYYY-MM-DD/HHMMSS/alignment/uat-{topic}.html.
Browser open. Attempt to open the resulting HTML page in the browser and report whether the open succeeded or was blocked. A blocked browser-open attempt does not make the skill fail when the files were written correctly.
Archive-First Replacement Policy
- Before replacing or substantively rewriting an existing canonical research/spec document (
research/**/*.md, specs/**/*.md, or docs/specifications/**/*.md), copy the current file to docs/history/archive/YYYY-MM-DD/HHMMSS/<original-relative-path>.
- Preserve the archived snapshot exactly as it existed before the change; do not edit the archived copy after creating it.
- After the archive snapshot exists, write the updated document to the original canonical path.
- Report both the archive path and the updated canonical path in the final output.
- New files do not need archive snapshots. Append-only updates do not need archive snapshots unless an existing section is regenerated or rewritten.
Default Shipping Contract
- Default next-step routing: when reporting completion, include either
Recommended next skill: <command> or the two-line pair **Next work:** <specific task or "none"> and **Recommended next command:** <one command or route> so the next operator has a concrete handoff.
- If this skill creates or modifies tracked repository files, finish by committing and pushing all intended changes to the repository primary branch (
main when present, otherwise master) before stopping, even if the user did not explicitly ask for commit/push.
- Do not leave tracked changes or unpushed commits behind. If unrelated tracked work is already present, either include it in sensible commits too or stop and explain the blocker.
- This contract does not override stricter safety rules about secrets, destructive history changes, release publication/tag confirmation, or production deploy confirmation.
1---2name: uat-23description: Create user acceptance test journeys from a target user's perspective, with role-based scenarios, acceptance criteria, and evidence capture4---5
6## Pack Availability Guard
7
8Before telling the user to run a skill from another project-local pack, check `.agents/project.json.enabled_packs`. If the target pack is not enabled, recommend `$pack install <pack>` instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
9
10# UAT
11
12Invoke as `$uat`.
13
14Create a user acceptance testing plan from the perspective of a potential or target user. This skill reads the product surface, specs, journeys, stories, roadmap, and relevant research, then produces realistic end-to-end user journeys that validate whether the product satisfies user goals.
15
16UAT is not dogfooding. Dogfood asks how the app owner can adopt the product into their own workflow to understand and evaluate it. UAT asks whether a target user can complete meaningful real-world journeys and would accept the product as fit for use.
17
18This is a human-run acceptance plan, not automated testing. Do not start servers, drive browsers, call APIs, create accounts, or perform the scenarios yourself.
19
20When invoked with `--variant-evaluation` (or when the user asks to test/review UI variants), create a hands-on evaluation plan for built UX/UI variants before `$consolidate-variations`. This mode helps the user try each variant in a comparable way and capture enough evidence to form a defensible consolidation opinion.
21
22## Workflow
23
241. **Resolve project context**
25 - Read `.agents/project.json` if it exists.
26 - Use `project_type` and `enabled_packs` when present.
27 - If project metadata is missing, infer the project type from repo signals:
28 - business-app: SaaS, marketplace, productivity, workflow, enterprise, or user-facing app
29 - devtool: SDK, CLI, API, library, infrastructure, docs, examples, or package-first developer workflow
30 - game: game engine files, playable prototypes, store assets, or game-specific README/spec language
31 - generic: no strong domain signal
32 - Read `README.md`, `AGENTS.md`, `CLAUDE.md`, relevant `docs/`, `specs/`, `spec.md`, and `tasks/` files when present.
33
342. **Load user evidence**
35 - Business app: read `research/icp.md`, `research/journey-map.md`, `research/customer-feedback.md`, `research/metrics.md`, and `research/mvp-gap.md` when present.
36 - Devtool: read `research/devtool-user-map.md`, `research/devtool-dx-journey.md`, `research/devtool-integration-map.md`, docs, examples, and package manifests when present.
37 - Game: read `research/game-audience.md`, `research/game-fantasy.md`, `research/game-core-loop.md`, `research/game-prototype-test.md`, and `research/game-playtest-metrics.md` when present.
38 - Generic: use specs, README, routes, tests, examples, issue descriptions, and task acceptance criteria.
39 - In monorepos with `research/{app}/` or `specs/{app}/`, produce app-scoped UAT journeys for the requested app. If no app is specified and multiple apps are plausible, ask the user to choose.
40
412b. **Variant evaluation mode**
42 - Trigger this branch when invoked with `--variant-evaluation`, when `specs/ui-layout-variations-*.md` exists for the requested topic, or when the user asks how to test/review built variants.
43 - Read `specs/ui-layout-variations-[topic].md`, `specs/ux-variations-[topic].md`, `specs/ui-requirements-[topic].md`, built variant routes/components, and any existing `research/uat-variant-evaluation-[topic].md`.
44 - Identify each variant, its intended thesis, implementation location, and the target user task it should support.
45 - Create comparable journeys that make the user perform the same core task in every variant, then capture variant-specific strengths, friction, confidence, and rejection signals.
46 - Include a side-by-side comparison matrix and a "Ready for `$consolidate-variations`?" checklist.
47 - Human execution still belongs in `tasks/manual-todo.md`; this skill writes the plan and manual tasks, but does not run the variants.
48 - After writing files, recommend `$consolidate-variations` only as the next step after the manual evaluation tasks are completed or when the user explicitly says they have already evaluated the variants.
49 - Stop after this branch. Do not generate generic target-user acceptance journeys unless the user also requested them.
50
513. **Define acceptance perspective**
52 - Identify 1-3 target user personas or roles from the evidence.
53 - For each selected persona, define the job-to-be-done, context, goal, constraints, and acceptance threshold.
54 - Prefer external target users, buyers, evaluators, administrators, developers, or players over the product owner unless the owner is also the target user.
55 - If the target user is unclear, stop and recommend `$spec-interview`, `$journey-map`, or the relevant pack research skill. For `$journey-map` and other pack-based skills, apply the Pack Availability Guard — if the target skill's pack is not in `.agents/project.json` `enabled_packs`, recommend `$pack install <pack>` before the skill.
56
574. **Create UAT journeys**
58 - Generate 3-7 journeys unless the user requested a narrower focus.
59 - Cover at least one critical happy path, one realistic obstacle or recovery path, and one return-use or handoff path when supported by the product evidence.
60 - Each journey must include:
61 - target user
62 - user goal
63 - real-world trigger
64 - setup and preconditions
65 - end-to-end task sequence
66 - expected user-visible success state
67 - acceptance criteria
68 - non-acceptance signals
69 - evidence to capture
70 - tester notes prompt
71 - follow-up routing
72 - Use concrete product language from specs and journeys. Avoid vague instructions such as "verify the feature works."
73
745. **Classify follow-up work**
75 - Human-run UAT journeys go in `tasks/manual-todo.md` under `## UAT Journeys`.
76 - Use `_(after: research/uat-plan.md)_` unless the journey blocks or follows a known roadmap step. If tied to a known step, use `_(blocks: Step N.X)_` or `_(after: Step N.X)_`.
77 - Do not put human-run UAT journeys in `tasks/todo.md`.
78 - Implementation or documentation fixes discovered after a completed UAT run belong in `tasks/todo.md`, but do not invent fixes before the user journey has been attempted.
79 - One-time evidence collection belongs in `tasks/record-todo.md`.
80 - Recurring release acceptance checks belong in `tasks/recurring-todo.md` only when there is a clear release cadence.
81 - If a journey needs click-by-click help for a human-only external blocker, recommend `$guide`.
82
836. **Present findings before writing when risk is high**
84 - If source material is thin, contradictory, or missing target-user evidence, summarize the gap and ask whether to proceed with assumptions.
85 - If source material is sufficient, write the plan and task sections directly.
86
87## Deliverables
88
89- `research/uat-plan.md` - persona assumptions, journey matrix, source evidence, acceptance checklist, result log template, and follow-up guidance.
90- In variant evaluation mode: `research/uat-variant-evaluation-[topic].md` - variant inventory, task script, comparison matrix, result logs, and consolidation readiness checklist.
91- `tasks/manual-todo.md` - append or replace only the `## UAT Journeys` section.
92- `tasks/recurring-todo.md` - optional, only when recurring UAT is useful and not already tracked.
93
94If `tasks/manual-todo.md` does not exist, create it with a `# Manual Tasks - [Project Name]` title, a short note that these items require human-only action, and the UAT section. Preserve all non-UAT sections when updating an existing file.
95
96Use this journey format in `research/uat-plan.md`:
97
98```markdown
99### Journey N: [Name]
100
101- Target user: [persona or role]
102- User goal: [what the user is trying to accomplish]
103- Trigger: [real-world reason the user starts]
104- Setup: [accounts, data, environment, permissions, or sample state needed]
105- Task sequence:
106 - [step the human tester performs as the target user]
107- Expected success state: [observable user-visible result]
108- Acceptance criteria:
109 - [ ] [specific criterion]
110- Non-acceptance signals: [confusion, delay, missing affordance, incorrect result, trust issue, or blocker]
111- Evidence to capture: [screenshots, recordings, notes, timestamps, records, command output, or artifacts]
112- Tester notes prompt: [question that captures whether the target user would accept this]
113- Follow-up routing: [manual note, $spec-interview, $journey-map, $guide, or task promotion guidance]
114
115#### UAT result log
116
117- Status: Not run | Pass | Fail | Blocked
118- Evidence captured:
119- Tester notes:
120- Follow-up tasks promoted:
121```
122
123Use this variant evaluation format in `research/uat-variant-evaluation-[topic].md`:
124
125```markdown
126## Variant Evaluation Plan
127
128### Variant Inventory
129
130| Variant | Implementation location | Thesis | Primary task |
131|---|---|---|---|
132
133### Shared Evaluation Script
134
135- Target user:
136- Scenario:
137- Setup:
138- Core task sequence:
139- Success criteria:
140- Non-acceptance signals:
141- Evidence to capture:
142
143### Per-Variant Result Log
144
145#### [Variant name]
146
147- Status: Not run | Pass | Fail | Blocked
148- Evidence captured:
149- What worked:
150- What felt wrong:
151- Time/friction notes:
152- Keep for consolidation:
153- Reject for consolidation:
154- Confidence: Low | Medium | High
155
156### Side-by-Side Comparison Matrix
157
158| Dimension | Variant A | Variant B | Variant C | Current preference | Evidence |
159|---|---|---|---|---|---|
160
161### Ready for `$consolidate-variations`?
162
163- [ ] Every built variant has been tried or explicitly skipped.
164- [ ] Evidence exists for each kept/rejected design element.
165- [ ] Open blockers are documented.
166- [ ] The user has enough confidence to converge.
167```
168
169Use this item format in `tasks/manual-todo.md`:
170
171```markdown
172## UAT Journeys
173
174- [ ] Run UAT journey: [Journey name] as [target user] _(after: research/uat-plan.md)_ - capture evidence in `research/uat-plan.md`.
175```
176
177## Task Classification
178
179- Human UAT journey execution goes in `tasks/manual-todo.md`.
180- Variant evaluation tasks go in `tasks/manual-todo.md` under `## UAT Journeys` and should reference `research/uat-variant-evaluation-[topic].md`.
181- Immediate implementation or documentation fixes confirmed by completed UAT go in `tasks/todo.md`.
182- One-time condition-gated evidence collection goes in `tasks/record-todo.md`.
183- Release-cadence UAT checks go in `tasks/recurring-todo.md`.
184- Do not put non-blocking records or recurring obligations in `tasks/todo.md` unless they have been explicitly promoted into current execution work.
185
186## Constraints
187
188- Do not run or operate the product in this skill.
189- Do not start dev servers, launch browsers, use Playwright, call APIs, create accounts, or perform CLI workflows.
190- Do not mark journeys complete; only a human tester can do that after performing them.
191- Do not recommend `$consolidate-variations` before variant evaluation evidence exists, unless the user explicitly confirms they have already reviewed the variants and are ready to converge.
192- Do not duplicate existing unchecked UAT or manual tasks. Reference existing items when they already cover the same journey.
193- Prefer evidence-backed target-user journeys over exhaustive feature coverage.
194- Keep dogfood and UAT separate: use `$dogfood` for owner/operator adoption into the builder's workflow; use `$uat` for target-user acceptance journeys.
195- If no credible user journey, story, spec, or product surface can be found, stop and recommend `$spec-interview`, `$journey-map`, or the relevant pack research skill. Apply the Pack Availability Guard for pack-based skills.
196
197## Alignment Page
198
199When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page at `alignment/uat-{topic}.html`. Use a normalized topic slug derived from the app, feature, research subject, report subject, or output filename.
200
201**Full content requirement.** The alignment page must contain the complete content of every proposed markdown deliverable -- every section, every finding, every detail, every list item. It is a thorough interactive review document, not a summary. Render the full deliverable content in clean, readable HTML with appropriate hierarchy, styling, and navigation. If the skill writes multiple scoped deliverables in one run, build one alignment page that contains all deliverables with anchor-linked navigation. Durable tracker artifacts, such as `research/assumption-tracker.md`, remain canonical markdown outputs but must also be fully rendered into the alignment page before approval.
202
203**Dark-mode styling.** Use a dark color scheme by default. Base CSS variables: `--bg: #0d1117; --surface: #161b22; --border: #30363d; --text: #c9d1d9; --text-muted: #8b949e; --accent: #58a6ff; --green: #3fb950; --red: #f85149; --orange: #d29922; --purple: #bc8cff;`. Apply `background: var(--bg); color: var(--text);` on body. Use `--surface` for cards, nav, and table headers. Use `--border` for all borders. Use `--purple` for question blocks and gate headings. Use `--accent` for links and section headings. Keep headings `color: #fff` or `var(--accent)` for hierarchy. Question block backgrounds should use `#1c2333`.
204
205**Alignment gates.** Treat gates as explicit review sections inside the HTML page. A gate blocks finalization until its required inline questions are answered and compiled into YAML. Include every gate that applies to the skill output, and include these gate types whenever relevant: evidence coverage, assumptions/confidence, scope/non-goals, candidate/verdict decisions, artifact destination, proposed file changes, coverage checkpoint, and post-approval route.
206
207**Report-only research gates.** For report-only or pre-approval research skills, the alignment page must explicitly contain evidence coverage, assumptions/confidence, recommended path, proposed file changes, and approval gates before any canonical research, spec, or task file is created or updated.
208
209**UAT-specific gates.** Render journey coverage, participant or evaluator assumptions, acceptance verdicts, evidence gaps, artifact destination, proposed file changes, and post-approval route as gates.
210
211
212**Required inline questions.** Each gate must contain at least one required inline question placed directly under the content it governs, inside a visually distinct question block. Each question must use radio-button inputs and include two standing options after the skill-generated choices: "Other / None of the above" backed by a multi-line text box for free-form input, and "Need clarification" backed by an optional notes box where the user can explain what is unclear. When any radio option other than "Other" or "Need clarification" is selected, show an optional "Additional notes" text box beneath it so the user can qualify their choice. Generate questions based on what genuinely needs user input -- do not add filler questions. Do not create a separate bottom "Decisions & Clarifications" section.
213
214**Gate YAML contract.** At the bottom of the page, include a "Compile Answers" button that aggregates answers from all inline gate questions throughout the page, including free-text notes. The button remains disabled until every required question has a selection, shows a count of remaining unanswered questions, and scrolls to the first unanswered question if clicked early. When every question is answered, generate a structured YAML block with one item per gate answer using this stable shape: `section`, `gate_type`, `status` (`answered`, `other`, or `needs-clarification`), `answer`, optional `notes`, and optional `target_artifact` or `target_path` when the gate controls file output. After successful compilation, automatically attempt to copy the YAML to the clipboard with the Clipboard API, display copy status, and display the YAML in a read-only textarea with an explicit "Copy YAML" button. The copy button must retry clipboard copy when supported and fall back to selecting the textarea contents when clipboard access is unavailable or blocked.
215
216**Pre-approval stop.** Before user approval, the next action is review of the HTML alignment page, not downstream routing. Ask the user to review the page and provide the compiled YAML answers. Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language until after compiled YAML has been provided and the approved artifacts have been written or updated.
217
218**Diff highlighting on updates.** When the agent updates an existing alignment page after receiving compiled answers, highlight what changed since the previous version. The agent chooses inline annotation or side-by-side layout per situation.
219
220**Archiving.** Before replacing an existing alignment page, archive it to `docs/history/archive/YYYY-MM-DD/HHMMSS/alignment/uat-{topic}.html`.
221
222**Browser open.** Attempt to open the resulting HTML page in the browser and report whether the open succeeded or was blocked. A blocked browser-open attempt does not make the skill fail when the files were written correctly.
223
224## Archive-First Replacement Policy
225
226- Before replacing or substantively rewriting an existing canonical research/spec document (`research/**/*.md`, `specs/**/*.md`, or `docs/specifications/**/*.md`), copy the current file to `docs/history/archive/YYYY-MM-DD/HHMMSS/<original-relative-path>`.
227- Preserve the archived snapshot exactly as it existed before the change; do not edit the archived copy after creating it.
228- After the archive snapshot exists, write the updated document to the original canonical path.
229- Report both the archive path and the updated canonical path in the final output.
230- New files do not need archive snapshots. Append-only updates do not need archive snapshots unless an existing section is regenerated or rewritten.
231
232## Default Shipping Contract
233
234- **Default next-step routing:** when reporting completion, include either `Recommended next skill: <command>` or the two-line pair `**Next work:** <specific task or "none">` and `**Recommended next command:** <one command or route>` so the next operator has a concrete handoff.
235- If this skill creates or modifies tracked repository files, finish by committing and pushing all intended changes to the repository primary branch (`main` when present, otherwise `master`) before stopping, even if the user did not explicitly ask for commit/push.
236- Do not leave tracked changes or unpushed commits behind. If unrelated tracked work is already present, either include it in sensible commits too or stop and explain the blocker.
237- This contract does not override stricter safety rules about secrets, destructive history changes, release publication/tag confirmation, or production deploy confirmation.