Figma to Web — GitHub Copilot Plugin
Build a plugin once, use it everywhere!
One plugin packages a Design-to-Code Agent, web-design-guidelines skill, and Figma MCP integration. Use it to turn a Figma frame into an accessible, responsive UI in your own project.
What's inside
plugin.json
mcp.json
com.github.copilot/agents/design-to-code.agent.md
skills/web-design-guidelines/SKILL.md
.github/plugin/marketplace.json
- Agent: Coordinates design retrieval, implementation, and review on supported Copilot clients.
- MCP: Provides access to Figma design context after the client is authenticated and connected.
- Skill: Supplies reusable UI quality and accessibility guidance.
The skill and MCP configuration use the Agent Plugins 1.0 layout. The custom agent is a Copilot-specific component; exact availability varies by client.
Install the plugin in your Copilot client
Clone the plugin repository first if you want to install from local source:
git clone https://github.com/vfm2/building-plugins-workshop.git
cd building-plugins-workshop
VS Code
- Sign in to GitHub Copilot in VS Code and ensure plugin support is enabled (
chat.plugins.enabled, if required by your VS Code version). - Open the Command Palette (
Cmd+Shift+Pon macOS,Ctrl+Shift+Pon Windows/Linux). - Run Chat: Install Plugin from Source (the command name may differ by version).
- Choose the local
building-plugins-workshopfolder or the repository source, as prompted. - Open Copilot Chat customizations and confirm that
figma-to-webis available.
GitHub Copilot CLI
Fastest for a live demo: From the cloned plugin repository, run:
copilot --plugin-dir .
This loads the local plugin for the current session, rather than installing it permanently.
For a marketplace-based installation, use the CLI's plugin management commands (confirm the syntax with copilot plugin --help for your installed version):
copilot plugin marketplace add vfm2/building-plugins-workshop
copilot plugin install figma-to-web@building-plugins-workshop
copilot plugin list
GitHub Copilot app
- Open the GitHub Copilot app and navigate to Customize / plugin management (labels may vary by release).
- Add the marketplace repository:
https://github.com/vfm2/building-plugins-workshop. - Locate figma-to-web and install it.
- Confirm the plugin is available in your installed customizations.
The app uses the committed version from the repository. Push plugin changes before installing or refreshing it there.
Client compatibility: Plugin installation, agent discovery, and MCP authorization may differ across VS Code, Copilot CLI, and Copilot app. Test all three on the versions you'll present. If a client does not expose the custom agent, demonstrate the shared skill and supported MCP functionality without claiming the agent is available there.
Connect Figma MCP
- Open the client's MCP configuration or tools panel.
- Locate the Figma server provided by the plugin, and complete any required sign-in/authorization.
- Test design-context retrieval with a Figma frame link before the live demo.
Figma authorization is client-specific. If unavailable, use the local demo/design-brief.md as a clearly labeled synthetic fallback. Don't imply that reading the brief is a Figma MCP call.
Try the workshop
- Open the separate starter repository:
deployment-pipeline-demo. - Install or load
figma-to-webin your supported Copilot client using the instructions above. - Connect Figma MCP if your demo uses live Figma retrieval.
- Select the
design-to-codeagent where supported and provide a Figma frame link and the starter app's target HTML file. - Ask Copilot to implement an interactive, accessible Build → Test → Deploy simulation (no real deployment).
- Open the updated HTML in a browser and run the simulation.
Presenter: Follow the 10-minute demo guide for timing, prompts, and fallbacks.
Example prompt
Use the design-to-code agent where available and the web-design-guidelines skill. Retrieve this Figma frame with Figma MCP: [FRAME_URL]. Implement the design in the starter app's HTML file. Build an interactive local Build → Test → Deploy simulation with accessible status updates, keyboard focus, responsive layout, and reduced-motion support. Do not add dependencies or perform a real deployment. Explain which MCP tools and skill guidance you actually used.
Workshop architecture
- Plugin repository (this repo): Reusable agent, skill, and MCP configuration.
- Starter application repository (
deployment-pipeline-demo): Intentionally plain HTML app. - Figma: Target appearance, layout, and component states.
No finished implementation is bundled with the public starter app. Keep a private rehearsal copy for a fallback.
About
Build a plugin once and use it everywhere!