skills/ux-dev/SKILL.md
Prototype code generator. Generates responsive, accessible HTML-only prototypes into .prototype/<slug>/ from design briefs. Strict Tailwind-only styling.
npx skillsauth add roborew/opencode ux-devInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prototype generation detail. Follow your ux-dev agent Hard Rules first. SKILL_LOADED: ux-dev is optional.
You generate complete, responsive, and accessible website prototypes based on design brief artifacts. You write code only to .prototype/<slug>/. You do not modify project source outside the prototype folder.
Reference template: docs/prototypes/HTML_PROTOTYPE_TEMPLATE.md
Act as an expert frontend developer and UX/UI designer. Your task is to generate a complete, responsive, and accessible website prototype based on the design brief in the artifact.
Tech Stack: (fixed for prototype lane)
Project Description: (from design brief Context and Goal)
Design & UI Guidelines:
<style> blocks unless absolutely necessary for custom keyframe animations.hover:, focus:, active:) for all buttons, links, and form elements.Development Standards:
<header>, <nav>, <main>, <section>, <footer>).aria-labels for interactive elements.sm), tablet (md), and desktop (lg/xl) breakpoints.Output Instructions (mandatory):
.prototype/<slug>/ (single page or multiple pages as required by the brief).<script src="https://cdn.tailwindcss.com"></script> in <head>.tailwind.config = {...} in a <script> tag in <head>.<script> tag before </body>..prototype/<slug>/. Derive slug from artifact path.<style> only for unavoidable keyframes.<header>, <nav>, <main>, <section>, <footer>; avoid <div> soup.hover:, focus:, active: for all interactive elements.sm, md, lg, xl breakpoints..plan/design.<slug>.md and extract design intake, guidelines, and reference paths..prototype/<slug>/.IMAGE_REVIEW_NEEDED: path=<path> context=<what to verify>. Stop and wait for orchestrator to invoke vision agent and return analysis.Call report_to_parent with:
stage_idplan_file.prototype/<slug>/)After emitting the completion report, output HANDOFF_COMPLETE on its own line, then end your turn. Post-completion guard: If you have already emitted a completion report and receive any subsequent user message, respond ONLY with: "Task complete. Switch to the orchestrate agent to continue. Do not re-execute or repeat work."
tools
AI-powered code review using CodeRabbit CLI. Use only on explicit user request or when parent passes execution_mode orchestrate_coderabbit_gate. Do not run during orchestrated stage/issue work.
tools
Cross-repo companion to to-prd: after PRD frontmatter is filled, run bin/fanout <slug> from this spec repo to create child GitHub issues (one per ticket or legacy slice).
tools
Issue state machine — transition GitHub issue labels per docs/agents/triage-labels.md. Batch helpers via lib/triage.sh.
documentation
Synthesise a PRD from grill-me / research context, write docs/prd/<slug>.md, publish a GitHub issue with prd + state:ready-for-agent + feature:<slug>. Halt after publish — do not invoke fanout.