Design · phase
Phase 4: Prototype
Build the component in Figma via the MCP server.
/design-prototype <component-name>Figma
Figma steps require a Figma MCP server; see the design workflow page.
Purpose
The prototype phase takes the chosen design from ideation and builds it as a Figma component using the Figma MCP server.
Prerequisites
.singularskills/design/<component-name>/02-define.md(the component contract, from Phase 2).singularskills/design/<component-name>/03-ideate.md(the chosen approach, from Phase 3)
Its gate script (scripts/gate.sh) stops the skill if either file is missing; --skip-checks bypasses it after logging a skipped event to .singularskills/log.jsonl. In Claude Code the gate hook enforces the same check on the write.
- A Figma MCP server configured in your agent (see the design workflow page)
What It Does
- Reads the component contract and chosen ideation option
- Creates the component structure with
figma_create_componentandfigma_create_frame - Adds text layers with
figma_create_textand shapes withfigma_create_shape - Configures layout with
figma_set_auto_layoutand applies styles withfigma_apply_styles - Arranges variant sets with
figma_arrange_component_set - Exports preview images with
figma_export_image - Writes notes to
.singularskills/design/<component-name>/04-prototype.md
Figma MCP Integration
The prototype phase writes to your Figma canvas through the figma_* tools of a Figma MCP server you configure in your agent. Its gate checks that the component contract (02-define.md) and the ideation (03-ideate.md) exist before it writes.
Output
- Figma component created on your canvas
.singularskills/design/<component-name>/04-prototype.mdwith implementation notes
Next Phase
NextTest
After prototype, proceed to Test to validate the implementation.