بنقرة واحدة
sh-ux-design
Build clickable wireframe prototypes in code to validate flow and structure before hi-fi design
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build clickable wireframe prototypes in code to validate flow and structure before hi-fi design
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Multi-expert AI/ML specification review with scoring gate — model architecture, evaluation rigor, safety/alignment, and production readiness for AI systems and LLM apps
Multi-expert architecture review — boundaries, integration patterns, failure modes, evolvability
Multi-expert business analysis with advisory recommendations (no scoring gate)
Multi-expert intelligence pipeline review — discovery quality, ingestion resilience, scoring validity, platform compliance, taxonomy coherence, cost efficiency
Multi-expert mobile/native app specification review with scoring gate — Android, iOS, Swift, SwiftUI
Multi-expert personal-development review with scoring gate — learnability, adoption, human-centeredness, and capability impact for talent/learning/AI-augmentation designs
| name | sh-ux-design |
| description | Build clickable wireframe prototypes in code to validate flow and structure before hi-fi design |
/sh:ux-design [flow_source] [--fidelity lo|mid] [--nav click-through|functional] [--concept-b "description"]
Announce at start: "I'm using the sh:ux-design skill to build a clickable wireframe prototype."
Do NOT apply production styling, custom icons, real images, animations, or design polish. This is a WIREFRAME. The entire point is to validate structure and flow before investing in hi-fi. If the output looks polished, you've gone too far. Read `wireframe-rules.md` before generating any markup.Static wireframes in Figma require your team to imagine clicking through. Code wireframes let them actually test the flow. And because they're in the codebase, graduating to hi-fi is incremental — you build on top, not start over.
You MUST complete these steps in order:
/sh:business-panel output (JTBD, ICP, risk flags)/frontend-designPull the user flow that defines what screens and transitions to wireframe.
Source priority:
get_figjam or get_design_contextcontext_get or board_list_itemsOutput: List of screens with transitions (e.g., "Create Account → [continue] → Select Role → [skip|connect] → Connect Calendar")
Check if a /sh:business-panel analysis exists for this feature. Look in docs/ for recent business-panel output.
If found, extract constraints:
If not found: Proceed without. Suggest running /sh:business-panel if the feature is strategic.
Enter planning mode. Ask clarifying questions — one at a time:
Output: Wireframe plan saved to docs/plans/wireframe-<feature>.md using /sh:plan format.
/sh:worktree — create isolated branch wireframe/<feature>wireframe-rules.md — apply ALL visual constraintsGenerate clickable prototype in the target project's stack (not generic HTML). Each flow step becomes a navigable screen.
MCP tools available:
get_variable_defs — pull design tokens if mid-fi fidelityquery-docs — component library docs for the target stackAfter generation, run Playwright smoke test:
Report: "Wireframe ready — N screens, N transitions, all clickable. View at [local URL]."
User walks through the wireframe. Common feedback patterns:
After each iteration:
/sh:review — self-check wireframe still matches original user flowWhen user wants an alternative approach: "What if this was chat-based instead?"
/sh:worktree — new branch wireframe/<feature>-concept-b/wireframe-a, /wireframe-b) OR separate worktreesMax concepts: 3. More than 3 = scope problem, not a wireframing problem.
When multiple concepts exist, generate comparison. Read concept-compare.md for the template.
Comparison dimensions:
Optional — strategic validation:
/sh:business-panel docs/wireframe-comparison.md --focus growth --mode debate
Panel debates which concept better serves strategy. Christensen (JTBD fit), Godin (adoption friction), Taleb (what breaks), Meadows (system leverage).
Decision: User picks winner. Merge winning branch. Delete losing branches. Clean up worktrees via superpowers:finishing-a-development-branch.
Before handing off to /frontend-design, ALL must pass. Read handoff.md for details.
□ All steps clickable, no dead ends (Playwright evidence)
□ Single concept chosen, variant branches cleaned up
□ Step count final (structural freeze — no adding/removing screens after this)
□ Interaction model locked (click-through vs functional vs chat-based)
□ Component mapping drafted (wireframe placeholder → target component)
□ JTBD validated (if business-panel brief exists)
Use /sh:verify — evidence before claiming ready.
Graduation output:
"Wireframe approved and frozen. N screens, N transitions. Component mapping in
docs/wireframe-<feature>-handoff.md. Ready for/frontend-design."
The terminal state is invoking /frontend-design. The wireframe files stay in place. Hi-fi builds ON TOP — replacing styles and placeholders with real components while preserving flow structure.
| Skill | Relationship |
|---|---|
/sh:business-panel | Upstream — strategic constraints feed into Phase 2 |
/sh:brainstorm | Upstream — produces PRD and user flow |
/sh:spec-panel | Upstream — validates spec quality before wireframing |
/sh:plan | Called in Phase 3 — wireframe plan uses same doc format |
/sh:worktree | Called in Phase 4+6 — isolation per concept |
/sh:review | Called in Phase 5 — self-review wireframe against flow |
/sh:verify | Called in Phase 8 — evidence-based graduation check |
superpowers:finishing-a-development-branch | Called after concept decision — cleanup losing branches |
/frontend-design | Downstream — builds hi-fi on wireframe foundation |