bitovi/ai-enablement-prompts/figma-implement-component

Claude Code and agent skill by bitovi/ai-enablement-prompts

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement React components from Figma designs. Use after figma-design-react has analyzed the design, or directly with a Figma URL to run analysis and implementation in one shot. Delegates to create-react-modlet for folder structure, then adds Figma-specific implementation, stories for each variant, and README with design context. Also triggers on phrases like "build this component from Figma", "implement this design", "create a component from this Figma URL", "turn this Figma into code".

Install

npx vskill@latest install bitovi/ai-enablement-prompts/figma-implement-component

SKILL.md

Skill: Implement Component from Figma Design

This skill implements React components from analyzed Figma designs. It creates complete modlets with stories matching Figma variants for visual verification.

When to Use

  • After figma-design-react skill has analyzed a Figma design
  • User wants to build a component from a Figma URL
  • Creating a new component that should stay in sync with Figma

What This Skill Does

  1. Verifies design analysis exists (or triggers it)
  2. Creates component modlet following project standards
  3. Writes README with Figma source and mapping context
  4. Implements the component matching Figma design precisely
  5. Creates Storybook stories for each Figma variant/state
  6. Verifies tests pass and Storybook renders

Prerequisites

  • Figma design URL (required if design analysis doesn't exist)
  • OR existing design analysis files:
  • Design context file at .temp/design-components/{component-name}/design-context.md
  • Proposed API file at .temp/design-components/{component-name}/proposed-api.md

If design analysis files don't exist, this skill will automatically invoke figma-design-react to generate them.

Workflow Overview

┌─────────────────────────────────────────────────────────────────┐
│ 0. CREATE TODO LIST - Track all steps systematically │
├─────────────────────────────────────────────────────────────────┤
│ 1. VERIFY AND GENERATE - Check for design analysis files │
│ → If missing: Invoke figma-design-react skill │
│ → Creates .temp/design-components/{name}/design-context.md │
│ → Creates .temp/design-components/{name}/proposed-api.md │
├─────────────────────────────────────────────────────────────────┤
│ 2. CREATE MODLET - Build folder structure using modlet pattern │
├─────────────────────────────────────────────────────────────────┤
│ 3. WRITE README - Document Figma source and mapping rationale │
├─────────────────────────────────────────────────────────────────┤
│ 4. CREATE TYPES - Define TypeScript props interface │
├─────────────────────────────────────────────────────────────────┤
│ 5. IMPLEMENT - Build component matching Figma precisely │
├─────────────────────────────────────────────────────────────────┤
│ 6. CREATE STORIES - Story for each Figma variant/state │
├─────────────────────────────────────────────────────────────────┤
│ 7. CREATE TESTS - Unit tests for all variants and behaviors │
├─────────────────────────────────────────────────────────────────┤
│ 8. UPDATE EXPORTS - Add to index.ts │
├─────────────────────────────────────────────────────────────────┤
│ 9. VERIFY - Run tests, check types, confirm Storybook renders │
├─────────────────────────────────────────────────────────────────┤
│ 10. PLAYWRIGHT - Visual test Storybook against Figma design │
└─────────────────────────────────────────────────────────────────┘

Table of Contents

Implementation Steps

Each step contains detailed instructions and templates:

Reference Materials

How to Use This Skill

  1. Start by reading Step 0: Create Todo List
  2. Create a todo list using manage_todo_list before implementation
  3. Follow steps 1-10 in order, marking each as in-progress → completed
  4. Use Quality Checklist to verify completion
  5. Only provide final summary after all todos are marked completed

This prevents common failures like skipping file creation steps or missing verification steps.

What NOT to Do

These are the most common implementation failures:

  • Don't implement only the default variant. Every structural variant in Figma needs a corresponding story and visual test. A Checkbox with 5 state columns × 3 row variants must be verified in all states.
  • Don't approximate Tailwind classes. "It looks like text-lg" is wrong if the Figma value is 18px/24px and text-lg resolves to 18px/28px. Extract exact values from design-context.md and match them precisely.
  • Don't skip the Playwright step. Step 10 is not optional. It is the only way to confirm the rendered component matches the Figma screenshots from Step 1. A component that passes npm test but fails visual comparison is not done.
  • Don't reference the spec files by path in your reasoning. Inline the prop interface and variant mappings from proposed-api.md into your working context. If you're reaching back to re-read files mid-implementation, the context wasn't fully loaded in Step 1.
  • Don't add props for CSS pseudo-states. hover, focus, pressed, active Figma variants become Tailwind hover:, focus-visible:, active: classes — not props. The only state that becomes a prop is disabled.
  • Don't treat "tests pass" as "done." Unit tests confirm behavior; Playwright confirms visual fidelity against Figma. Both are required before the quality checklist can be marked complete.

Related Skills

  • figma-design-react: Run first to analyze Figma and generate proposed API
  • create-react-modlet: Defines the modlet folder structure
  • figma-component-sync: Use later to check implementation against Figma changes

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
120
Repository forks
63
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 Aug 2026, 3 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bitovi/ai-enablement-prompts/figma-implement-component/badge)](https://verified-skill.com/skills/bitovi/ai-enablement-prompts/figma-implement-component)

Something wrong with this skill or its page? Tell us.