TUI/Web Design Orchestrator
Generate production-minded design prompt packets for web-page, web-app, tui-dashboard, and tui-wizard workflows.
Usage
/tui-web-design-orchestrator --mode <mode> --brief "<brief>" [options]
Arguments
--mode <web-page|web-app|tui-dashboard|tui-wizard>: Required mode preset.--brief "<text>": Required design brief.--audience "<text>": Optional audience/persona.--constraints "<text>": Optional constraint (repeatable).--style "<text>": Optional style direction.--tech "<text>": Optional implementation stack override.--output <markdown|json>: Optional output format (default: markdown).--outfile <path>: Optional path to write output file.--component TEXT: Repeat for components derived from the actual brief.--name TEXT: Optional explicit project name; otherwise a provisional label.
Workflow
- Bind
SKILL_DIRto this loaded skill directory, validate mode/brief and derive components from the supplied jobs, data and constraints. Pass each as--component TEXT; do not copy a fixed preset layout into an unrelated brief. - Run the packet generator script:
python3 "$SKILL_DIR/scripts/design_prompt_packet.py" <selected-arguments>
- If
--outfileis provided, confirm the file path written. - If no
--outfileis provided, return the generated packet inline. - If the user asks for stronger rationale or benchmarking, pull patterns from:
- source-crawl-synthesis.md
- design-prompt-blueprints.md
Output Contract
A complete packet should include:
- North star
- Audience + assumptions
- IA and component map
- State matrix (
default,hover/focus,active,disabled,error,empty,loading,success) - Accessibility checks
- Implementation prompt
- Review prompt
Mode Guidance
web-page: conversion narrative and responsive section flow.web-app: recurring workflow efficiency and data-heavy UI patterns.tui-dashboard: keyboard-first, split-pane, terminal-width-aware operations.tui-wizard: low-error multi-step guidance with confirmation checkpoints.
Examples
# Web app packet
/tui-web-design-orchestrator --mode web-app --brief "Design a release-readiness dashboard" --audience "engineering managers"
# TUI packet with constraints
/tui-web-design-orchestrator --mode tui-dashboard --brief "Design an incident triage terminal UI" --audience "SRE on-call" --constraints "must run over SSH" --constraints "keyboard only"
# JSON output to file
/tui-web-design-orchestrator --mode web-page --brief "Design a landing page for devtool analytics" --output json --outfile /tmp/devtool-ui.json
Guardrails
- Do not invent constraints that the user did not specify; state assumptions explicitly.
- Preserve all provided constraints in the final packet.
- Keep terminal modes keyboard-first and width-aware.
- Always include accessibility checks and explicit state coverage.
Boundaries and completion
Non-goals: building the UI, selecting new dependencies or inventing a product architecture. Must not: present preset panels, pricing, testimonials or invented user requirements as brief facts. Use actual project terminology and distinguish inferred component choices from constraints. Ask only when a missing material product decision prevents a useful packet; routine layout options may be proposed as assumptions. Return a packet faithful to the selected brief, with component and state coverage tied to it. The packet is a proposal, not an implemented UI.