Implement frontend designs from figma using Chakra UI v3 and Storybook
92
92%
Does it follow best practices?
Impact
92%
1.64xAverage score across 6 eval scenarios
Advisory
Suggest reviewing before use
Analyze a Figma page design and produce a structured component breakdown, classifying each component and identifying reuse opportunities.
Use the figma-desktop MCP tools to fetch the design data and a screenshot for the provided Figma node. If the page is large or truncated, use get_metadata first, then fetch child nodes individually to get the complete picture.
Before planning new components, audit what already exists in the codebase:
src/components/ (PascalCase folders, each containing a .tsx file and optional .stories.tsx).src/components/ui/ for low-level shared primitives (Provider, ColorMode, Prose, Toaster, etc.).src/components/form/ for form-related components.src/components/layout/ for layout primitives.src/routes/ for -components/ directories near the relevant route that may contain reusable pieces.Read the source of any component that looks like a potential match for elements in the design. Understand its props, variants, and visual appearance.
Walk through the Figma design systematically — top to bottom, outside to inside. For every distinct visual element or group, decide:
Classify every new component into one of three tiers:
building-low-level-components skillsrc/components/ or src/components/form/ in their own PascalCase folder.building-composite-components skillsrc/components/ (if reusable) or the route's -components/ directory (if route-specific).building-page-components skillsrc/routes/ as the route file itself.Output a structured plan with these sections:
A brief description of the page's purpose and the Figma screenshot for reference.
A table of existing components that match elements in the design:
| Component | Location | Usage in Design | Modifications Needed |
|---|---|---|---|
ComponentName | src/components/ComponentName/ | Description of where it appears | None / describe new props or variants needed |
Group by tier. For each new component:
A visual hierarchy showing how components nest on the page:
PageComponent (Tier 3)
├── Header (existing)
├── HeroSection (Tier 2)
│ ├── Heading (Chakra)
│ └── StatCard (Tier 1, new)
├── ContentGrid (Tier 2)
│ ├── CategoryCard (existing)
│ └── FeatureCard (Tier 1, new)
└── Footer (existing)Recommend a build order, and for each tier call out the specific skill that should be used to implement it:
building-low-level-components skill to build these. This skill covers generic UI primitives, form field components, Chakra extensions, and Storybook story creation.building-composite-components skill to build these. This skill covers Figma-to-code translation, design token fidelity, and visual verification with Storybook and Playwright.building-page-components skill to build this. This skill covers data loading, mutations, layout assembly, and Figma comparison at the page level.For each component, note if it blocks other components.
PricingTierCard not BlueCardWithBorder.