Convert Figma designs to pixel-perfect React components with Tailwind CSS.
/plugin marketplace add gbasin/figma-to-react/plugin install figma-to-react@figma-to-reactThis skill is limited to using the following tools:
package.jsonreferences/step-1-setup.mdreferences/step-2-detect-structure.mdreferences/step-3-confirm-config.mdreferences/step-3b-preview-route.mdreferences/step-4-generation.mdreferences/step-4b-validate-dimensions.mdreferences/step-5-import-tokens.mdreferences/step-6-validation.mdreferences/step-7-rename-assets.mdreferences/step-8-disarm-hook.mdscripts/add-missing-dimensions.shscripts/capture-figma-metadata.shscripts/capture-figma-response.shscripts/capture-figma-screenshot.shscripts/capture-screenshot.tsscripts/extract-tokens.shscripts/find-shared-components.tsscripts/fix-collapsed-containers.shscripts/fix-component-instances.shConvert Figma designs to pixel-perfect React components with Tailwind CSS.
The workflow is a status-driven loop. Always check status before and after each step:
LOOP:
1. Run: $SKILL_DIR/scripts/status.sh
2. Read the step file for current_step (e.g., step-4b-validate-dimensions.md)
3. Execute that step's instructions
4. Go to step 1 (until step 8 complete)
Create a TodoWrite list with these steps (Glob to find each file):
1. Setup - step-1-setup.md
2. Detect structure - step-2-detect-structure.md
3. Confirm config - step-3-confirm-config.md
3b. Create preview route - step-3b-preview-route.md
4. Generate screens (parallel) - step-4-generation.md
4b. Validate dimensions - step-4b-validate-dimensions.md
5. Import tokens - step-5-import-tokens.md
6. Validate screens (parallel) - step-6-validation.md
7. Rename assets - step-7-rename-assets.md
8. Disarm hook - step-8-disarm-hook.md
Each step file has a pre-flight check. If status.sh says you're on step 4b but you're trying to execute step 5:
This prevents skipping steps, which was a common failure mode.
If context is compacted, run $SKILL_DIR/scripts/status.sh to see exactly where you are.
The script infers state from /tmp files - no context needed.
State files used by status.sh:
/tmp/figma-to-react/capture-active - Skill is active/tmp/figma-to-react/config.json - Config with screens/screenNames mapping/tmp/figma-to-react/steps/4b/*.json - Dimension validation results/tmp/figma-to-react/steps/4b/user-decisions.json - User decisions on missing dims/tmp/figma-to-react/steps/5/complete.json - Token import done/tmp/figma-to-react/validation/*/result.json - Visual validation results/tmp/figma-to-react/steps/7/complete.json - Asset rename done