create-ui-experiment
Own clickable UI experiment routes or project-native lightweight prototypes for one approved UI branch, using fake, fixture, local, or in-memory data to test the branch's first-value journey before prototype build-plan synthesis, UAT, or production planning.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- create-ui-experiment
- type
- execution
- version
- v0.0
- description
- Own clickable UI experiment routes or project-native lightweight prototypes for one approved UI branch, using fake, fixture, local, or in-memory data to test the branch's first-value journey before prototype build-plan synthesis, UAT, or production planning.
- visual_tier
- prototype
- argument-hint
- [approved-ui-experiment]
- context_intake
- scoped
- required_conventions
- [ "alignment-page", "design-tree-loop" ]
03 SKILL.md 正文
Create UI Experiment
Invoke as $create-ui-experiment.
Own clickable UI experiment routes or project-native lightweight prototypes for one approved UI branch. Use this skill after $ui-interview [specific-ux-variation] approves a UI experiment branch and the branch needs a clickable first-value route before the broader $prototype build ledger or production planning exists.
This skill is an experiment owner, not a default buildout path. It tests whether one approved branch's first-value journey works when the user can click through it with fake, fixture, local, or in-memory data. It must not introduce durable database/storage, auth, payments, analytics, deployment, admin tooling, multi-tenancy, production observability, or other production infrastructure.
Follow DESIGN-TREE-LOOP.md for design-tree routing, state storage, branch decisions, approval boundaries, and task classification. UI experiment branch state belongs in design/**/flow-tree-*.yaml, not tasks/todo.md.
Gate
Before building, verify the approved branch is explicit:
- Read
design/**/flow-tree-*.yamland resolve the namedui_experiments[]branch. If$ARGUMENTSis missing, choose the first approved UI experiment branch that has no clickable experiment evidence, honoring any recorded branch-order override. - Read the branch packet from
design/ui-[topic].md,design/ui-requirements-[topic].md, or product-path-scoped equivalents. - Read the parent
design/ux-variations-[topic].md,design/user-flow-[topic].md, and any relevantdesign/design-inspirations-{topic}.mdwhen present. - Stop if no UI branch has an explicit approve decision. Route back to
$ui-interview [specific-ux-variation]. - Stop if the requested work needs production infrastructure. Record the deferred infrastructure and route to prototype evidence first.
Process
- Resolve scope. Identify the product path, topic, parent user-flow branch, UX variation branch, and approved UI experiment branch. Preserve branch IDs from the flow-tree manifest.
- Define the first-value journey. Name the first-value moment, the primary task path, the entry route, the exit/success state, and the evidence needed before moving deeper.
- Choose the experiment home. Prefer a project-native lightweight route when the app already has a safe local experiment surface. Otherwise create a disposable route under
experiments/{topic}/{ui-experiment-id}/. Keep the experiment easy to remove. - Build the clickable path. Implement only the minimum interaction needed for a user to experience the first-value journey. Use fake, fixture, local, or in-memory data. Include realistic states only when they clarify the primary path.
- Progressive reveal. Introduce first value and the primary task path before dense secondary controls. Hide, defer, or stub secondary controls until the route proves the core journey.
- Review evidence. Produce a concise review note naming what the user should click, what decision the experiment tests, what worked, what remains unknown, and which deferred infrastructure stays out of scope.
- Update branch state. Add the experiment path and evidence note to the relevant
ui_experiments[]branch in the flow-tree manifest. Do not create or update the prototype build plan unless the current run has explicit review evidence approving the experiment. - Build the alignment page. Render the route, first-value journey, fake-data boundary, deferred infrastructure, and review gate in
alignment/create-ui-experiment-{topic}.html.
Output
The skill may create or update:
experiments/{topic}/{ui-experiment-id}/
design/**/flow-tree-*.yaml
alignment/create-ui-experiment-{topic}.html
When using a project-native route instead of experiments/, record the exact route path in the flow-tree manifest and in the alignment page.
Next Work
After explicit review evidence exists, route based on what the evidence supports:
$user-flow-map --prototype-build-plan [topic]when approved UI experiments are ready to become prototype build-plan items.$prototypewhen a prototype build plan already exists and names the approved UI experiment item.$uat --variant-evaluationwhen the clickable experiment itself is being used as the evaluated variant artifact.
Do not route to production planning, roadmap work, or durable infrastructure until experiment review evidence explicitly promotes the branch.
Constraints
- Use fake, fixture, local, or in-memory data only.
- Build one approved UI experiment branch per run.
- Keep the route disposable and bounded to the first-value journey.
- Use progressive reveal; do not expose dense secondary controls before the primary task path works.
- Do not build production infrastructure, external account integrations, deployment automation, or durable storage.
- Do not skip the review evidence gate before handing off to
$prototype,$uat --variant-evaluation, or$user-flow-map --prototype-build-plan. - When recommending a skill from another pack, verify the pack is installed via
.agents/project.jsonenabled_packs. If not installed, recommendnpx skillpacks install <pack-name>from the project shell before the target skill.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/create-ui-experiment-{topic}.html.
The page must show the first-value journey, primary task path, clickable route path, fake-data boundary, deferred infrastructure, review evidence, and the exact downstream handoff gate.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
04 同仓库更多 Skills
source-checkout-allowed
Valid source-checkout-only fixture.
deck-install-valid
Valid deck install fixture.
codex-pack-guard-valid
Valid Codex Pack Availability Guard fixture.
codex-missing-skill-valid
Valid Codex missing skill fallback fixture.
codex-base-skill-fallback-valid
Valid Codex base skill fallback fixture.
claude-pack-guard-valid
Valid Claude Pack Availability Guard fixture.