Proposal to restructure the agentic-skills pipeline around tangible prototypes and alignment artifacts
Proposed 2026-05-18
This refactor enforces a prototype-first gate across the entire skill pipeline. No production spec is written until a tangible, runnable prototype has been built, explored in variations, evaluated, and consolidated. The prototype IS the alignment artifact — spec-interview becomes a post-prototype production deep dive.
Build something tangible before writing production specifications. The prototype surfaces requirements that interviews alone miss.
Not just UI. CLI tools get a working basic CLI, APIs get endpoints with fixtures, infra gets a minimal working setup. Every project type gets a tangible demo.
Every interview/planning skill builds a custom HTML alignment page. No templates — each agent crafts the page to fit the situation. Temporary artifacts ensuring agent-user alignment before proceeding.
The complete skill pipeline from ideation to shipped product, with prototype gate enforced before production spec work.
Shape a rough idea into a concept brief. Entry point for new products.
Define ideal customer profile. Who is this for?
Research existing solutions and positioning gaps.
Map the user lifecycle: discovery, onboarding, aha moment, conversion, retention, advocacy.
Plan 3-5 distinct UX/workflow variations. Formerly ux-variation (singular). Outputs variation spec with archetypes, each representing a meaningfully different approach. Outputs alignment HTML page.
Run for each variation to define page-level UI detail: layout, components, controls, states, responsive behavior. Each variation gets its own UI spec. Outputs alignment HTML page per variation.
PROTOTYPE GATE — Build tangible, runnable prototypes of each variation. For UI: clickable HTML/CSS with fake data and a hub page. For CLI: basic working CLI demoing the concept. For APIs: endpoints with fixture data. For infra: minimal working setup. Creates all variations with a comparison hub.
Evaluate each built prototype variation. Capture what works, what doesn't, what feels wrong. Evidence-driven assessment.
Formerly ui-consolidate. Cherry-picks best elements from evaluated prototypes, resolves conflicts, and builds a single consolidated clickable prototype (not a spec document). The merged prototype is the deliverable — spec-interview will extract the production spec from it.
Research refresh pass 1. Scans all research docs (ICP, competitive analysis, journey map, positioning, etc.) against the consolidated prototype. Flags docs that are stale or contradicted by prototype findings. Queues updates — e.g., "journey map onboarding stage doesn't match the prototype's onboarding flow." Execute queued research updates before proceeding.
Major role change. Now a post-prototype production deep dive. Walks through the consolidated prototype screen-by-screen asking: "What's the real data model? What API calls? Auth? Error states? Edge cases?" Can iteratively update the prototype when gaps are discovered. Outputs alignment HTML page.
Research refresh pass 2. Scans research docs against the production spec. Spec-interview often surfaces new constraints (data model realities, API limitations, auth requirements) that invalidate earlier research assumptions. Flags and queues updates so roadmap has fully current research context.
Gate updated: requires consolidated prototype + production spec + refreshed research docs before sequencing. No longer needs to enforce prototype phase — that's already done upstream. Research docs now fully informed by prototype learnings and production spec constraints.
Gate updated: prototype phase is now upstream. Plan-phase no longer needs to enforce Phase 0 prototype logic — it focuses purely on production implementation decomposition.
Execute the next step from tasks/todo.md.
Commit, push, deploy. Update docs.
/feature-interview (scope triage: small → spec+implement, medium → single prototype, large → full pipeline), /brainstorm (generate new ideas), or loop back to explore more features on the shipped product.
/idea-scope-brief/feature-interview (triage + evidence)/spec-interview (full spec upfront)/journey-map/ux-variation (plan variations)/exec/uat --variant-evaluation/ui-consolidate (spec document)/roadmap/plan-phase (enforces Phase 0 prototype)/exec + /shipProblem: Spec written before anything tangible exists. Prototype gate buried inside plan-phase. No alignment artifacts.
/idea-scope-brief + alignment page/icp + alignment page/competitive-analysis + alignment page/journey-map + alignment page/ux-variations + alignment page/ui-interview per variation + alignment pages/prototype (build all variations)/uat --variant-evaluation/consolidate-prototypes (merged prototype)/research-roadmap --post-prototype (refresh research)/spec-interview (post-prototype deep dive)/research-roadmap --post-spec (refresh research again)/roadmap → /plan-phase → /exec → /ship/feature-interview (scope-based triage), /brainstormPrototype is built and evaluated before any production spec. Every step produces alignment HTML. Spec is a production deep-dive on proven UI.
| Skill | Change Type | Summary |
|---|---|---|
ux-variation → ux-variations |
Renamed | Pluralized to reflect multiple variations output. Add alignment HTML generation via shared framework. |
ui-consolidate → consolidate-prototypes |
Renamed Changed | Renamed. Now outputs a consolidated clickable prototype instead of a spec document. Spec responsibility moves to spec-interview. |
spec-interview |
Changed | Becomes post-prototype production deep dive. Takes consolidated prototype as input. Screen-by-screen deep interview. Can iteratively update prototype. No longer the first spec step. |
feature-interview |
Changed | Now sits post-ship in the pipeline. Triages feature scope: small → spec+implement, medium → single prototype variation, large → full pipeline restart. |
ui-interview |
Changed | Now runs per-variation before prototype build. Add alignment HTML output. No longer a single-pass spec tool. |
roadmap |
Changed | Gate updated to require consolidated prototype + production spec. Remove Phase 0 prototype enforcement (now upstream). |
plan-phase |
Changed | Remove Phase 0 / prototype-first logic. Focus purely on production implementation decomposition. |
/prototype |
New | New skill. Builds tangible runnable prototypes of each variation. Universal: HTML for UI, working CLI for tools, endpoints for APIs, minimal setup for infra. Creates comparison hub. Heavily relies on research docs (ICP, competitive analysis, journey map) to inform prototype content and flows. |
research-roadmap |
Changed | Two new modes: --post-prototype (after consolidate-prototypes) and --post-spec (after spec-interview). Scans research docs against prototype/spec findings, flags stale or contradicted docs, queues updates so roadmap has fully current research context. |
| Alignment Pages | New Convention | Every interview/planning skill now builds a custom HTML alignment page opened in the user's browser. No shared template or CSS — each agent crafts the page to fit the situation. Stored at alignment/, temporary until alignment confirmed. |
idea-scope-brief |
Changed | Add alignment HTML output. |
specs/ux-variations-*.md + specs/ui-*.md (per variation) + research docs (research/concept-brief.md, research/icp.md, research/competitive-analysis.md, research/journey-map.md)
Output
Runnable prototypes in prototypes/{topic}/ with a hub page for comparison
Gate
Requires ux-variations spec + ui-interview output for at least one variation
Next step
/uat --variant-evaluation
--variant N flag to build/rebuild a single variationalignment/{skill}-{topic}.html (temporary, archived or deleted after alignment confirmed)
Produced by
All interview skills: idea-scope-brief, ux-variations, ui-interview, spec-interview, consolidate-prototypes, feature-interview
/consolidate-prototypes.specs/[topic].md) + alignment HTML page. The spec references the prototype as source of truth for visual/interaction decisions.--ideas flag for batch processingux-variation → ux-variations (plural)/ui-interview (per variation) → /prototype instead of /exec--layout-mode for visual/spatial variationsui-consolidate → consolidate-prototypes/spec-interview (which will extract the production spec from this prototype)--post-prototype — After consolidate-prototypes. Scans all research docs against the consolidated prototype. Flags docs where prototype findings contradict or supersede earlier research (e.g., "journey map onboarding stage doesn't match the prototype's actual onboarding flow," "ICP assumed technical users but prototype feedback shows non-technical users engage more").--post-spec — After spec-interview. Scans research docs against production spec constraints. Flags docs invalidated by production realities (e.g., "competitive analysis positioned us on real-time, but spec shows we'll use batch processing," "positioning doc claims instant setup but spec requires OAuth config")./ui-interview: clarified that it runs per-variation in the prototype pipelineEvery interview/planning skill builds a custom HTML page and opens it in the user's browser for alignment review. There is no shared template or CSS library — each agent crafts the page to fit the situation.
The alignment page is whatever HTML best communicates the skill's output. An idea scope brief might produce a simple overview with cards. A ux-variations skill might produce side-by-side comparisons. A spec-interview might annotate prototype screenshots with production concerns. The agent decides the format based on what the user needs to evaluate.
Alignment pages are stored at alignment/{skill}-{topic}.html. They are temporary — when the next skill in the pipeline runs, it archives the previous skill's alignment page to docs/history/archive/. Only the current skill's alignment page exists at any time. /hygiene also flags stale alignment pages during audits. They are NOT the deliverable; the deliverable is the skill's primary output (spec, variation plan, prototype, etc.).
Each skill validates its prerequisites before running. These gates are enforced within each skill's own SKILL.md instructions:
/ux-variations requires: journey-map exists/prototype requires: ux-variations spec + at least one ui-interview output/consolidate-prototypes requires: built prototypes + UAT evaluation evidence OR explicit user override/research-roadmap --post-prototype requires: consolidated prototype exists. Populates tasks/todo.md with stale research skills (e.g., /icp) that need re-running./spec-interview requires: consolidated prototype exists + all research tasks queued by --post-prototype pass are completed/research-roadmap --post-spec requires: production spec exists. Populates tasks/todo.md with research skills invalidated by production constraints./roadmap requires: production spec + all research tasks queued by both passes are completedAfter ux-variations + ui-interview (per variation), before UAT. Prototype is the tangible realization of planned variations.
After variation planning, before evaluationPost-prototype production deep dive. Walks through consolidated prototype screen-by-screen. Can trigger prototype updates for discovered gaps.
Post-prototype, screen-by-screen, iterativeDedicated /prototype skill reads variation specs and builds all variations. Universal: adapts to project type (HTML, CLI, API, infra).
New /prototype skill, universal, all-at-onceA merged clickable prototype (not a spec). spec-interview extracts the production spec from the consolidated prototype.
Consolidated prototype only, spec comes laterEach agent builds custom HTML appropriate to the situation. No shared template or CSS library. The agent decides what layout and structure best communicates the skill's output. Temporary artifacts for alignment verification.
Custom-built HTML, no templatesNo. Universal prototyping: CLI tools get a working CLI, APIs get fixture endpoints, infra gets minimal setups. The key is tangible, runnable demos.
Universal — every project type gets tangible demosPost-ship. Triages scope: small features skip to spec+implement, medium get mini-prototypes, large restart the full pipeline.
Post-ship with scope-based triageTwo passes via research-roadmap: once after prototype consolidation (prototype learnings may invalidate ICP/journey assumptions) and once after spec-interview (production constraints may change positioning/competitive analysis). Both must complete before roadmap.
Two passes: --post-prototype and --post-specHeavily. ICP drives persona-appropriate content and density. Competitive analysis informs differentiation in the prototype. Journey map shapes screen-to-screen flows. Concept brief grounds assumptions.
Yes, research docs are primary inputs alongside variation specsYes. When the production deep-dive reveals gaps (missing error states, missing screens), spec-interview triggers prototype updates before finalizing the spec.
Yes, iterative updates during spec interviewvs.
Risk: Renaming ux-variation → ux-variations and ui-consolidate → consolidate-prototypes breaks existing references in roadmaps, specs, interview logs, and next-step routing.
Mitigation: Clean break. No aliases or redirects. /hygiene handles cleanup — it flags stale references to old skill names during audits. Existing projects run /hygiene --fix to update references.
Risk: research-roadmap --post-prototype might queue heavy research rewrites (e.g., re-run /icp) that block spec-interview.
Mitigation: research-roadmap populates tasks/todo.md with the stale research skills that need re-running. spec-interview's gate checks that all queued research tasks are completed. The user runs each queued research skill, then proceeds. This is intentionally blocking — spec-interview should work from current research, not stale assumptions.
Risk: spec-interview updates the prototype → does this retrigger research-roadmap --post-prototype → which might queue more research → infinite loop?
Mitigation: User decides per-update. Each time spec-interview wants to update the prototype, it asks the user via AskUserQuestion whether this change warrants re-running upstream steps. Most additive changes (new error states, missing screens) won't need it. Fundamental changes (scrapping a whole screen) might.
Risk: For CLI/API/infra projects, the line between "prototype" and "actual implementation" is blurry.
Mitigation: Scope rule: prototype demonstrates exactly one core user workflow end-to-end with fixture data. For CLI: one command chain. For API: one request flow. For infra: one setup-to-verify cycle. Scope, not fidelity — the prototype proves the concept works, not that it handles every edge case.
Risk: A full pipeline run produces 8-10 HTML files in alignment/.
Mitigation: Two-layer cleanup. (1) When a skill runs, it archives the previous skill's alignment page to docs/history/archive/. Only the current alignment page exists at any time. (2) /hygiene flags any stale alignment pages during audits.
The refactor touches 9 existing skills, adds 1 new skill, and establishes 1 new convention. Suggested implementation order:
Create the new /prototype skill with behavior for each project type (UI, CLI, API, infra). Establish the alignment page convention — add instructions to each interview skill's SKILL.md to build and open a custom HTML alignment page.
Add --post-prototype and --post-spec modes to research-roadmap. Update staleness heuristics to compare research docs against prototype findings and production spec constraints.
Rename ux-variation → ux-variations and ui-consolidate → consolidate-prototypes. Update consolidate-prototypes to output a consolidated prototype instead of a spec document. Add alignment page instructions to all renamed/refactored skills.
Major rewrite of spec-interview: post-prototype mode, screen-by-screen walkthrough, iterative prototype updates. Update gate to require consolidated prototype.
Update feature-interview with scope triage (small/medium/large). Update roadmap and plan-phase to remove Phase 0 logic. Update all next-step routing across all skills. Update docs/skill-next-step-contracts.md and workflow documentation.
Update docs/canonical-workflow-report.md, docs/pack-workflow-matrix.md, docs/skill-next-step-contracts.md. Run benchmark tests against modified skills. Update CLAUDE.md workflow section.
After core workflow skills are stable, roll out the context intake + alignment page convention to domain-specific packs. Prioritized by impact:
High Priority
Medium Priority
Low Priority
Skip: Monorepo, Code Quality, Kanban variants, compatibility aliases — execution/overlay packs, not interview-driven.