demo-production

Turn vague or incomplete product ideas into polished, runnable demos with minimal user prompting. Use when a coding agent is asked to create, plan, prototype, or build a demo, proof of concept, clickable prototype, MVP-style mockup, product concept, web app demo, tool demo, dashboard demo, workflow demo, or any project where the user has a rough idea but needs the coding agent to infer missing details, optionally research similar products or open-source references, design the development plan and project structure, build an interactive prototype, stop for review, then produce a usable demo and test edge cases after approval.

Audits

Pass

Install

openclaw skills install demo-production

Demo Production

Use this skill to turn an early, fuzzy project idea into a concrete, runnable, and reviewable demo. Optimize for reducing user prompting while preserving alignment with the user's intent.

Default behavior: autonomously continue until Stage 3, deliver an interactive demo, then stop for user review. Continue to Stage 4 only after the user confirms, unless the user explicitly requested end-to-end autonomous completion.

Core Principles

  • Treat vague prompts as normal input, not as a blocker.
  • Infer generously, but state important assumptions briefly.
  • Ask questions only when the answer would materially change the demo direction, technical feasibility, or core workflow.
  • Preserve the user's likely mental model: identify the experience they want to see, not just the literal words they used.
  • Build the smallest demo that convincingly demonstrates the core idea.
  • Prefer a coherent prototype with mock data over an overbuilt partial product.
  • Use existing project patterns, frameworks, and dependencies when working inside an existing codebase.
  • For new frontend demos, create the actual usable experience as the first screen rather than a marketing landing page.
  • Use mock data, simulated actions, and local state when backend implementation is not necessary for the demo.
  • Mark clearly what is functional, simulated, mocked, or left for a production build.

Pipeline Overview

Follow this 4-stage pipeline:

Stage 1: Intent Intake & Reconstruction
  -> if core intent is unclear: ask or loop Stage 1
  -> if clear enough: optionally research references, then Stage 2

Stage 2: Planning & Structure Design
  -> if scope or structure is unclear: loop Stage 2 or return to Stage 1
  -> if prototype scope is clear: Stage 3

Stage 3: Interactive Demo Production
  -> always stop for user review by default
  -> if workflow or intent is wrong: return to Stage 1
  -> if structure or scope is wrong: return to Stage 2
  -> if UI or interaction needs changes: loop Stage 3
  -> if approved: Stage 4

Stage 4: Production Demo & Edge Case Validation
  -> if core flow fails: loop Stage 4
  -> if direction changes: return to Stage 3 or Stage 2
  -> if complete: final delivery

Stage 1: Intent Intake & Reconstruction

Goal: convert the user's raw prompt into an actionable demo brief.

Actions

  1. Assess prompt completeness.
  2. Identify missing information, risks, and safe assumptions.
  3. Reconstruct the likely product intent.
  4. Decide whether clarification is needed.
  5. Decide whether external reference research is needed.
  6. Produce a concise demo brief.

Prompt Completeness

Classify the prompt:

  • low: The user gives only a domain, product category, or rough desire.
  • medium: The user gives a goal and some features, but key flows, users, data, or platform choices are missing.
  • high: The user gives audience, core workflows, platform, design direction, and acceptance expectations.

Assess these dimensions:

  • Target user and context
  • Core job to be done
  • Primary demo workflow
  • Platform and device target
  • Data source or mock data needs
  • Visual style and tone
  • Technical stack constraints
  • Required integrations
  • Success criteria
  • Non-goals

Clarification Decision

Use this rule:

  • If missing information is low risk, make reasonable assumptions and continue.
  • If missing information affects the central workflow, ask one concise question or offer a default path.
  • If multiple directions are plausible but one creates a clearly stronger demo, choose it and label it as an assumption.
  • If multiple directions are plausible and mutually exclusive, ask the user to choose among 2 to 3 options.

Do not expose long private reasoning. Summarize decisions, assumptions, and risks only.

Example summary:

Prompt completeness: medium
Assumptions: single-user web demo, mock data, desktop-first layout with responsive behavior
Clarification needed: none

Reference Research Gate

Perform focused web or GitHub research when it would materially improve the demo.

Research is recommended when:

  • The user names or implies a known product, such as "like Notion", "Trello-style", "similar to Linear", or "Cursor for X".
  • The idea belongs to a mature product category with established workflows, such as CRM, kanban, analytics dashboards, habit trackers, customer support tools, developer tools, or internal operations tools.
  • The demo depends on current ecosystem choices, open-source libraries, UI components, APIs, or platform conventions.
  • The user explicitly asks for competitor, open-source, or best-practice references.
  • There is uncertainty about whether a named project, product, API, or library still exists or is currently relevant.

Skip research when:

  • The demo is simple and references would not change the core workflow.
  • Searching would add complexity without improving the demo.
  • The user explicitly says not to browse or not to use external references.

Use references to extract:

  • Common workflows
  • Information architecture
  • Interaction patterns
  • Terminology
  • Feature boundaries
  • Open-source implementation ideas
  • Expected UI states

Do not copy:

  • Branding
  • Proprietary UI
  • Marketing copy
  • Protected assets
  • Product-specific text or data

Do not let references override the user's stated intent.

If research is performed, produce a short reference brief:

Reference Brief:
- Similar references: Plane, Linear, Trello
- Useful patterns: issue list + board view, quick create, status filters
- Not adopting: team permissions, billing, advanced automation

Stage 1 Exit Criteria

Proceed to Stage 2 only when:

  • There is one primary target user or user role.
  • There is one core workflow to demonstrate.
  • There is a clear demo goal.
  • Missing details can be handled as assumptions or are not central to the first demo.

Loop Stage 1 when:

  • The target user cannot be inferred.
  • The core workflow cannot be inferred.
  • The demo goal is ambiguous in a way that would change the entire product direction.
  • The domain is sensitive, regulated, destructive, or high risk and needs explicit user confirmation.

Stage 1 Output

Output or maintain internally:

  • Demo brief
  • Prompt completeness
  • Assumptions
  • Reference brief, if research was performed
  • Open question, if needed

Stage 2: Planning & Structure Design

Goal: translate the demo brief into a buildable plan and project structure.

Actions

  1. Create a short plan of development.
  2. Design project structure.
  3. Define prototype scope.
  4. Define mock, simulated, and real behavior boundaries.
  5. Define the review criteria for Stage 3.

Development Plan

Use 3 to 6 practical steps. Each step should produce something observable.

Recommended plan:

  1. Define demo brief and assumptions.
  2. Design data model and project structure.
  3. Build the interactive prototype shell.
  4. Stop for user review.
  5. After approval, implement the production demo path.
  6. Add polish, responsive behavior, and edge case validation.

Keep the plan practical. Avoid enterprise architecture unless the user's request requires it.

Project Structure

When inside an existing project:

  • Inspect the app structure before editing.
  • Follow existing framework, styling, routing, naming, and testing patterns.
  • Keep changes scoped to the requested demo.
  • Reuse local components and utilities where appropriate.

When creating a new demo:

  • Prefer a minimal, familiar stack that can run locally.
  • Use clear folders such as src/components, src/data, src/lib, src/pages, or equivalent framework conventions.
  • Keep mock data separate from presentation code.
  • Avoid backend work unless the demo depends on it.

Optimize for:

  • Fast demo iteration
  • Easy review
  • Clear separation of data, UI, and interaction logic
  • Low setup friction

Mock vs Real Boundary

Explicitly decide:

  • What must be clickable in Stage 3.
  • What can be simulated in Stage 3.
  • What should become more functional in Stage 4.
  • What is out of scope for this demo.

Stage 2 Exit Criteria

Proceed to Stage 3 only when:

  • The main screens or modules are named.
  • The first interactive workflow is clear.
  • The mock data shape is clear enough.
  • The prototype can be built without another major product decision.

Loop Stage 2 when:

  • The scope is too large for a demo.
  • The proposed structure does not fit the repository.
  • The prototype scope is not concrete enough.
  • The mock vs real boundary is unclear.

Return to Stage 1 when:

  • Planning reveals that the reconstructed intent was wrong or incomplete.

Stage 2 Output

Output or maintain internally:

  • Development plan
  • Project structure
  • Prototype scope
  • Mock vs real boundary
  • Stage 3 review criteria

Stage 3: Interactive Demo Production

Goal: produce a clickable, visible, directionally accurate interactive demo for user review.

Actions

  1. Build the UI shell.
  2. Add realistic mock data.
  3. Implement the primary clickable path.
  4. Include key states where relevant: empty, loading, success, error-like, selected, and no-selection.
  5. Add enough visual polish to make the demo understandable and presentable.
  6. Run basic verification.
  7. Stop for user review.

Prototype Requirements

The interactive demo should:

  • Show the main user journey.
  • Include clickable navigation or controls.
  • Use realistic mock content.
  • Include important states, not just the happy path.
  • Visually communicate the intended product experience.
  • Make incomplete functionality feel intentional through simulation or clear state changes.

Prototype techniques may include:

  • Static mock data
  • Local component state
  • Simulated generated output
  • Placeholder charts or tables
  • Modal flows
  • Toasts or inline status messages
  • Disabled controls only when they clarify future scope

Avoid prototypes that are only screenshots or static layouts unless the user specifically asks for a visual mockup.

Stage 3 Review Gate

Stop after Stage 3 by default. Do not proceed to Stage 4 until the user confirms.

At the review gate, include:

  • What is clickable.
  • What is mocked or simulated.
  • What assumptions shaped the prototype.
  • How to run or view the interactive demo.
  • A concise request for feedback.

Use this review prompt:

Interactive demo is ready for review.

Please check:
1. Is the core workflow right?
2. Is the visual direction close?
3. Are any screens, actions, or states missing?
4. Should I continue to the production demo stage?

Skip the pause only when the user explicitly asks for autonomous end-to-end completion, such as "build the full demo without stopping" or "make all decisions and finish it."

Stage 3 Loop Rules

Return to Stage 1 when:

  • The user says the product intent or target user is wrong.
  • The main workflow does not match the user's mental model.

Return to Stage 2 when:

  • The user changes the feature scope.
  • The project structure or screen model is wrong.
  • A new large feature needs to be included.

Loop Stage 3 when:

  • The user requests UI, copy, layout, state, navigation, or interaction changes.
  • The prototype is directionally right but needs local adjustments.

Proceed to Stage 4 when:

  • The user confirms the workflow and direction.
  • The user explicitly asks to continue.

Stage 3 Output

Output:

  • Interactive demo
  • Review notes
  • Known mocked or simulated areas
  • Run or view instructions
  • Question: continue to Stage 4?

Stage 4: Production Demo & Edge Case Validation

Goal: turn the approved interactive demo into a presentable, runnable demo with core workflow completion and basic edge case coverage.

Actions

  1. Apply Stage 3 feedback.
  2. Complete the core demo path.
  3. Improve simulated or real functionality as needed.
  4. Add UI polish and responsive behavior.
  5. Validate edge cases.
  6. Deliver final summary.

Production Demo Requirements

The demo should:

  • Start successfully with the project's normal command.
  • Render without console-breaking errors.
  • Let the user complete the core workflow.
  • Handle common empty and invalid states.
  • Use polished copy, spacing, and hierarchy appropriate to the domain.
  • Avoid visible implementation notes inside the app unless they are part of the requested demo.

If a capability is simulated, keep the simulation believable:

  • Generated content should look domain-specific.
  • Data should be plausible.
  • Actions should update visible state.
  • Failures should show recoverable UI.

Edge Case Validation

Before final delivery, test likely presentation failures:

  • Empty data state
  • Long text or overflow
  • Invalid input
  • Repeated clicks
  • Loading or pending state
  • Error or failed action state
  • Small viewport behavior
  • Missing optional fields
  • No selected item
  • Reset or return path after completing the main flow

For frontend demos, run the app and inspect it in a browser when possible. Capture screenshots or summarize observed issues if visual verification is performed.

For non-frontend demos, run the most relevant command, script, test, or sample workflow.

Stage 4 Loop Rules

Loop Stage 4 when:

  • The core workflow fails.
  • Edge case testing reveals a demo-breaking issue.
  • Polish issues make the demo hard to present.

Return to Stage 3 when:

  • The user approves the direction but wants meaningful interaction changes.

Return to Stage 2 when:

  • The user adds or removes a major feature.
  • The demo scope changes.

Return to Stage 1 when:

  • The user changes the target user, problem, or product intent.

Stage 4 Exit Criteria

Complete when:

  • The core workflow can be completed.
  • The demo can be run or viewed.
  • Mocked or simulated parts are clearly identified.
  • Edge cases have been checked.
  • The user can review, present, or continue iterating from the result.

Stage 4 Output

Final response should include:

  • What was built
  • Where the key files are
  • How to run or view it
  • What was verified
  • Edge case results
  • What remains mocked or simulated
  • Suggested next iteration only when directly useful

Avoid long implementation essays. The user should quickly understand how to try the demo and what level of completeness to expect.

Success Metrics

Use these metrics when testing or improving the skill. Score each dimension from 0 to 5.

Primary Metrics

  • Prompt reduction: How little user input was needed?
  • Intent reconstruction: Did the assistant infer the right product shape?
  • Assumption quality: Were assumptions useful, realistic, and visible?
  • Research usefulness: If references were used, did they improve the demo without causing imitation or scope creep?
  • Pipeline discipline: Did the assistant follow Stage 1 through Stage 3 and stop at the review gate?
  • Plan quality: Was the plan short, staged, and executable?
  • Structure quality: Was the project easy to understand and iterate?
  • Prototype quality: Was Stage 3 interactive and understandable?
  • Review readiness: Could the user judge workflow, visual direction, and missing pieces from the prototype?
  • Demo usability: After Stage 4, could the user run or click through the core path?
  • Visual and interaction polish: Did the demo feel deliberate rather than thrown together?
  • Edge case coverage: Were common failure states tested?
  • Iteration readiness: Would the next change be easy to request and implement?

Score Interpretation

  • 0: Fails or cannot be evaluated.
  • 1: Produces fragments but not a demo.
  • 2: Runs or renders, but misses the intent or skips key pipeline gates.
  • 3: Demonstrates the core idea with noticeable gaps.
  • 4: Strong demo, clear assumptions, review gate respected, easy to iterate.
  • 5: Feels like the assistant understood the user's mental picture and made it presentable with minimal prompting.

Minimum Passing Bar

A test run passes when:

  • Average score is at least 3.5.
  • Pipeline discipline is at least 4.
  • Prototype quality is at least 4.
  • Intent reconstruction is at least 3.
  • The assistant stops after Stage 3 unless the prompt explicitly requests autonomous completion.