/formhaus-figma-connect
Search a Figma library for form components and generate a component map for the 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, the connection works. The skill runs the same check before searching a file.
What Figma MCP enables
Once connected, the skill can:
- Search components by name
- Show screenshots for confirmation
- Read variants, properties, and layer names
- Write the confirmed mappings as JSON
Usage
/formhaus-figma-connectThe skill checks the MCP connection, asks for a Figma file URL, and searches for inputs, selection controls, and buttons. You confirm matches from screenshots and provide any missing components before it writes the map.
Paste the output into the Figma plugin's Component Map tab.
Typical workflow
- Describe the 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 to create the form with those 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