Summary
Create a new skill that enables OpenHands to work with Figma designs through the Figma MCP (Model Context Protocol) server.
Implementation Details
Skill Structure
Create the following files under skills/figma/:
-
SKILL.md - Main skill definition with:
- Frontmatter with
name: figma and description
- Triggers:
figma, figma.com, figma link
- Instructions for detecting Figma usage (Figma links, Figma mentions, PNGs with Figma metadata)
- Guide for installing the Figma MCP server via OpenHands CLI
- MCP installation command reference
- Post-installation prompts to suggest sharing Figma links for better context
-
README.md - Human-readable documentation
Skill Behavior
The skill should:
- Detect Figma context: Trigger when user provides Figma links, mentions Figma, or shares PNGs with Figma software metadata
- Offer MCP installation: When Figma context is detected, offer to install the Figma MCP server if not already available
- Provide installation instructions: Include the CLI command to install Figma MCP with OAuth authentication
- Suggest enhanced workflows: After MCP installation, prompt users to share Figma links for better design-to-code workflows
Marketplace Registration
Add entry to marketplaces/default.json:
{
"name": "figma",
"source": "./figma",
"description": "Work with Figma designs using the Figma MCP server. Detects Figma links and offers MCP installation for design-to-code workflows.",
"category": "integration",
"keywords": [
"figma",
"design",
"mcp",
"ui"
]
}
References
Acceptance Criteria
Summary
Create a new skill that enables OpenHands to work with Figma designs through the Figma MCP (Model Context Protocol) server.
Implementation Details
Skill Structure
Create the following files under
skills/figma/:SKILL.md- Main skill definition with:name: figmaanddescriptionfigma,figma.com,figma linkREADME.md- Human-readable documentationSkill Behavior
The skill should:
Marketplace Registration
Add entry to
marketplaces/default.json:{ "name": "figma", "source": "./figma", "description": "Work with Figma designs using the Figma MCP server. Detects Figma links and offers MCP installation for design-to-code workflows.", "category": "integration", "keywords": [ "figma", "design", "mcp", "ui" ] }References
Acceptance Criteria
skills/figma/SKILL.mdcreated with proper frontmatter and triggersskills/figma/README.mdcreated with documentationmarketplaces/default.json