Consolidate Variations
Invoke as $consolidate-variations.
Use this skill after the user has built and evaluated multiple UI layout variations, typically generated via $ux-variations --layout-mode, built via $exec, and evaluated via $uat --variant-evaluation. This skill compares the variations, interviews the user on what works and what does not in each one, cherry-picks the best elements, resolves conflicts where preferred choices are incompatible, and produces a single consolidated implementation-ready UI specification.
Users with manually built variations can also use this skill directly, but consolidation should not happen before the user has reviewed the variants and captured evidence.
Workflow
Resolve context
- Read
.agents/project.json if it exists.
- Read
README.md, AGENTS.md, CLAUDE.md, relevant docs/, specs/, research/, route files, component directories, and design artifacts when present.
- Locate the variation spec:
specs/ui-layout-variations-[topic].md or specs/ux-variations-[topic].md.
- Locate the content requirements:
specs/ui-requirements-[topic].md or equivalent content contract.
- Locate variant evaluation evidence:
research/uat-variant-evaluation-[topic].md, research/uat-plan.md result logs, screenshots, notes, recordings, or explicit user-provided review notes.
- Locate built implementations: scan route files, component directories, and any variation-specific directories or branches.
- If the variation spec or implementations cannot be found, ask the user to point to them.
Evidence gate
- If no evaluation evidence exists and the user has not explicitly said they already reviewed the variants and is ready to converge, stop and recommend
$uat --variant-evaluation.
- Do not infer a winner from specs alone. Built variants need hands-on review or explicit user readiness before consolidation.
- If some variants are unreviewed, ask whether to exclude them, evaluate them first via
$uat --variant-evaluation, or include them as spec-only references.
Present variation inventory
- List each variation with a one-line summary of its approach.
- Note build status for each: built and reviewed, built but unreviewed, partially built, spec-only.
- Note evidence status for each: result log present, user notes present, no evidence.
- Confirm which variations the user wants to consolidate.
Interview per variation
- For each reviewed variation, ask one primary decision question per turn by default. Use short follow-up bullets only when they clarify the same variation decision, not to batch unrelated questions:
- What works well in this variation? Name specific elements, regions, or interactions.
- What does not work? What feels wrong, cluttered, sparse, or confusing?
- Any specific component, region, or interaction to keep in the final design?
- Anything to explicitly reject and never use?
- Record responses as structured annotations per variation:
- Keep: elements the user wants in the final design, with source variation
- Reject: elements the user never wants, with source variation
- Neutral: elements the user has no strong opinion on
Cross-variation synthesis
- Present a Consolidation Matrix showing each design dimension and which variation's approach the user preferred:
| Design Element |
Variation A |
Variation B |
Variation C |
Winner |
| Container pattern |
card grid |
data table |
list + detail |
? |
| Detail view |
modal |
sidebar |
full-page |
? |
| Navigation |
top nav |
side nav |
tabs |
? |
- Fill in winners based on UAT evidence and interview responses.
- Mark conflicts where preferred choices from different dimensions are incompatible.
- For each conflict, present the tension, offer 2-3 resolution options with tradeoffs, state a recommendation, and ask the user to resolve it.
- Continue until every row in the matrix has a winner and all conflicts are resolved.
Build consolidated prototype
- Merge the best elements from variation prototypes into a single runnable artifact at
prototypes/{topic}/consolidated/.
- The consolidated prototype must reflect:
- Layout skeleton: regions, proportions, scroll behavior
- Primary content pattern
- Detail view pattern
- Navigation pattern and placement
- Action placement
- Density and spacing approach
- Responsive behavior at mobile, tablet, and desktop breakpoints
- States rendering
- Ask the user to confirm the consolidated design before building the prototype.
Coverage checkpoint
- Verify every content requirement from
specs/ui-requirements-[topic].md has a UI home in the consolidated spec.
- Verify every user action has a placement: button, menu item, keyboard shortcut, or gesture.
- Verify all states are accounted for: empty, loading, error, partial, full, offline, permission-denied.
- Flag any gaps and resolve them before writing.
Deliverables
- Write the consolidated prototype to
prototypes/{topic}/consolidated/.
- Write the consolidation interview log to
consolidate-variations-[topic]-interview.md.
Alignment Page
Follow the shared Alignment Page convention in CLAUDE.md. Output: alignment/consolidate-variations-{topic}.html.
Constraints
- Do not proceed without evaluation evidence unless the user explicitly says they have reviewed the variants and is ready to converge.
- Do not pick winners without user input. Present the matrix and let the user decide.
- Do not ignore conflicts. If two preferred choices are spatially or functionally incompatible, surface the tension and resolve it explicitly.
- The consolidated spec must be at least as detailed as a
$ui-interview output — implementation-ready, not a summary.
- Do not lose content requirements. Every data field, action, and state from the requirements spec must appear in the final design.
- Do not bias toward the first or last variation reviewed. Present them neutrally and let the user's feedback and evaluation evidence drive the outcome.
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
Follow the shared shipping contract convention in CLAUDE.md.
1---
2name: consolidate-variations-2
3description: Compare multiple built UI variations after UAT evidence, interview the user on what works and what does not, resolve conflicts, and produce a final implementation-ready UI specification
4type: planning
5version: v0.1
6argument-hint: "[optional: topic, page, or path to variation specs]"
7metadata:
8 source: https://skillmd.com/skills/georgeqle/consolidate-variations-2
9---
10
11# Consolidate Variations
12
13Invoke as `$consolidate-variations`.
14
15Use this skill after the user has built and evaluated multiple UI layout variations, typically generated via `$ux-variations --layout-mode`, built via `$exec`, and evaluated via `$uat --variant-evaluation`. This skill compares the variations, interviews the user on what works and what does not in each one, cherry-picks the best elements, resolves conflicts where preferred choices are incompatible, and produces a single consolidated implementation-ready UI specification.
16
17Users with manually built variations can also use this skill directly, but consolidation should not happen before the user has reviewed the variants and captured evidence.
18
19## Workflow
20
211. **Resolve context**
22 - Read `.agents/project.json` if it exists.
23 - Read `README.md`, `AGENTS.md`, `CLAUDE.md`, relevant `docs/`, `specs/`, `research/`, route files, component directories, and design artifacts when present.
24 - Locate the variation spec: `specs/ui-layout-variations-[topic].md` or `specs/ux-variations-[topic].md`.
25 - Locate the content requirements: `specs/ui-requirements-[topic].md` or equivalent content contract.
26 - Locate variant evaluation evidence: `research/uat-variant-evaluation-[topic].md`, `research/uat-plan.md` result logs, screenshots, notes, recordings, or explicit user-provided review notes.
27 - Locate built implementations: scan route files, component directories, and any variation-specific directories or branches.
28 - If the variation spec or implementations cannot be found, ask the user to point to them.
29
302. **Evidence gate**
31 - If no evaluation evidence exists and the user has not explicitly said they already reviewed the variants and is ready to converge, stop and recommend `$uat --variant-evaluation`.
32 - Do not infer a winner from specs alone. Built variants need hands-on review or explicit user readiness before consolidation.
33 - If some variants are unreviewed, ask whether to exclude them, evaluate them first via `$uat --variant-evaluation`, or include them as spec-only references.
34
353. **Present variation inventory**
36 - List each variation with a one-line summary of its approach.
37 - Note build status for each: built and reviewed, built but unreviewed, partially built, spec-only.
38 - Note evidence status for each: result log present, user notes present, no evidence.
39 - Confirm which variations the user wants to consolidate.
40
414. **Interview per variation**
42 - For each reviewed variation, ask one primary decision question per turn by default. Use short follow-up bullets only when they clarify the same variation decision, not to batch unrelated questions:
43 - What works well in this variation? Name specific elements, regions, or interactions.
44 - What does not work? What feels wrong, cluttered, sparse, or confusing?
45 - Any specific component, region, or interaction to keep in the final design?
46 - Anything to explicitly reject and never use?
47 - Record responses as structured annotations per variation:
48 - **Keep**: elements the user wants in the final design, with source variation
49 - **Reject**: elements the user never wants, with source variation
50 - **Neutral**: elements the user has no strong opinion on
51
525. **Cross-variation synthesis**
53 - Present a **Consolidation Matrix** showing each design dimension and which variation's approach the user preferred:
54
55 | Design Element | Variation A | Variation B | Variation C | Winner |
56 |---|---|---|---|---|
57 | Container pattern | card grid | data table | list + detail | ? |
58 | Detail view | modal | sidebar | full-page | ? |
59 | Navigation | top nav | side nav | tabs | ? |
60
61 - Fill in winners based on UAT evidence and interview responses.
62 - Mark conflicts where preferred choices from different dimensions are incompatible.
63 - For each conflict, present the tension, offer 2-3 resolution options with tradeoffs, state a recommendation, and ask the user to resolve it.
64 - Continue until every row in the matrix has a winner and all conflicts are resolved.
65
666. **Build consolidated prototype**
67 - Merge the best elements from variation prototypes into a single runnable artifact at `prototypes/{topic}/consolidated/`.
68 - The consolidated prototype must reflect:
69 - Layout skeleton: regions, proportions, scroll behavior
70 - Primary content pattern
71 - Detail view pattern
72 - Navigation pattern and placement
73 - Action placement
74 - Density and spacing approach
75 - Responsive behavior at mobile, tablet, and desktop breakpoints
76 - States rendering
77 - Ask the user to confirm the consolidated design before building the prototype.
78
797. **Coverage checkpoint**
80 - Verify every content requirement from `specs/ui-requirements-[topic].md` has a UI home in the consolidated spec.
81 - Verify every user action has a placement: button, menu item, keyboard shortcut, or gesture.
82 - Verify all states are accounted for: empty, loading, error, partial, full, offline, permission-denied.
83 - Flag any gaps and resolve them before writing.
84
85## Deliverables
86
87- Write the consolidated prototype to `prototypes/{topic}/consolidated/`.
88- Write the consolidation interview log to `consolidate-variations-[topic]-interview.md`.
89
90### Alignment Page
91
92Follow the shared Alignment Page convention in CLAUDE.md. Output: `alignment/consolidate-variations-{topic}.html`.
93
94## Constraints
95
96- Do not proceed without evaluation evidence unless the user explicitly says they have reviewed the variants and is ready to converge.
97- Do not pick winners without user input. Present the matrix and let the user decide.
98- Do not ignore conflicts. If two preferred choices are spatially or functionally incompatible, surface the tension and resolve it explicitly.
99- The consolidated spec must be at least as detailed as a `$ui-interview` output — implementation-ready, not a summary.
100- Do not lose content requirements. Every data field, action, and state from the requirements spec must appear in the final design.
101- Do not bias toward the first or last variation reviewed. Present them neutrally and let the user's feedback and evaluation evidence drive the outcome.
102
103## Archive-First Replacement Policy
104
105- 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>`.
106- Preserve the archived snapshot exactly as it existed before the change; do not edit the archived copy after creating it.
107- After the archive snapshot exists, write the updated document to the original canonical path.
108- Report both the archive path and the updated canonical path in the final output.
109- New files do not need archive snapshots. Append-only updates do not need archive snapshots unless an existing section is regenerated or rewritten.
110
111## Default Shipping Contract
112
113Follow the shared shipping contract convention in CLAUDE.md.