bitovi/ai-enablement-prompts/figma-implement-component
Claude Code and agent skill by bitovi/ai-enablement-prompts
- community
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-componentSKILL.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-reactskill 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
- Verifies design analysis exists (or triggers it)
- Creates component modlet following project standards
- Writes README with Figma source and mapping context
- Implements the component matching Figma design precisely
- Creates Storybook stories for each Figma variant/state
- 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
Table of Contents
Implementation Steps
Each step contains detailed instructions and templates:
- Step 0: Create Todo List - Set up systematic tracking with
manage_todo_list - Step 1: Verify and Generate Design Analysis - Check for or create design files
- Step 2: Create Modlet Structure - Build component folder via
create-react-modletskill - Step 3: Write README with Design Context - Document Figma source and mappings
- Step 4: Create Types - Define TypeScript props interface
- Step 5: Implement Component - Build component matching Figma exactly
- Step 6: Create Stories for Each Variant - Storybook stories for all Figma variants
- Step 7: Create Tests - Unit tests for variants and behaviors
- Step 8: Create index.ts - Export component and types
- Step 9: Verify Tests and Storybook - Run tests and check visual rendering
- Step 10: Playwright Visual Testing - Test Storybook against Figma design
Reference Materials
- Output Files Summary - Expected folder structure after completion
- Quality Checklist - Verification checklist before marking complete
How to Use This Skill
- Start by reading Step 0: Create Todo List
- Create a todo list using
manage_todo_listbefore implementation - Follow steps 1-10 in order, marking each as in-progress → completed
- Use Quality Checklist to verify completion
- 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 is18px/24pxandtext-lgresolves to18px/28px. Extract exact values fromdesign-context.mdand 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 testbut 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.mdinto 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,activeFigma variants become Tailwindhover:,focus-visible:,active:classes — not props. The only state that becomes a prop isdisabled. - 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
- SKILL.md in the repositoryCheckingfigma/figma-implement-component/SKILL.md
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
[](https://verified-skill.com/skills/bitovi/ai-enablement-prompts/figma-implement-component)