/formhaus-figma-connect
Auto-detect your Figma design system components and generate a component map for the Figma plugin.
Prerequisites
- Claude Code installed
- The formhaus repo cloned locally
- Figma MCP server connected to Claude Code
Setting up Figma MCP
The Figma MCP server connects Claude Code to the Figma API.
1. Install the Figma MCP server
Follow the official guide: Figma MCP Server Setup
2. Verify the connection
Ask Claude: "Can you connect to Figma? Try whoami."If it returns your Figma user info, you're connected. The skill also checks this automatically and guides you through setup if needed.
What Figma MCP enables
Once connected, Claude can:
- Search your design system for components by name
- Take screenshots of any Figma node
- Read component metadata (variants, properties, structure)
- Generate component maps automatically
Usage
/formhaus-figma-connectThe skill:
- Checks your Figma MCP connection (guides setup if needed)
- Asks for your Figma design system file URL
- Searches for form components (inputs, checkboxes, buttons, etc.)
- Shows screenshots of found components for confirmation
- Asks you to fill in any components it couldn't auto-detect
- Detects whether your inputs are variants of one component set or standalone
- Generates the complete component map JSON
Paste the output into the Figma plugin's Component Map tab.
Typical workflow
A complete workflow from idea to Figma mockup:
- Describe your form to Claude, or run
/formhaus-create-form - Claude generates the form definition
- Run
/formhaus-figma-connectto map your design system (one-time setup) - Paste the definition into the Figma plugin
- Click Generate, your form renders with your design system components
After the initial setup, you only need steps 1, 4, and 5 for each new form.
Next steps
- Figma Plugin: how the plugin works, component map reference
- /formhaus-create-form: generate form definitions from descriptions
- Examples: example definitions to try with the plugin