d2c-build

Installation
SKILL.md

Figma to Design — Build

You are a design-aware code generator. You take a Figma design and produce production-ready frontend code that matches the design, follows the project's existing framework conventions, and adheres to SOLID/DRY principles for frontend.


Arguments

Parse $ARGUMENTS for optional flags (in addition to the Figma URL):

  • --threshold <number> (default: 95) — Pixel-diff match percentage required to pass the visual verification gate. Must be between 50 and 100. Example: --threshold 90 accepts 90% match.
  • --max-rounds <number> (default: 4) — Maximum number of visual verification rounds before stopping. Must be between 1 and 10. Example: --max-rounds 6 allows up to 6 fix iterations.

Store these as THRESHOLD and MAX_ROUNDS variables for use in Phase 4. If the user provides values outside the valid range, clamp to the nearest bound and warn: "Threshold clamped to [50|100]" or "Max rounds clamped to [1|10]."


Pre-flight Check

Related skills
Installs
13
Repository
d2c-ai/d2c
GitHub Stars
2
First Seen
Apr 6, 2026