Visual-first UI/UX collaboration for AI agents — agent-browser + Figma MCP + Lucid. Turn wireframes into production code that matches your design system.
# Install dependencies
npm install
# One-command setup
npm run setup
# Verify
npm run checkThen tell your agent: "Let's work on the UI"
SEE → DISCUSS → IDEATE → SPECIFY → BUILD → VERIFY → SYNC → RECORD
↑___________↓___________________________↓
(Lucid) (Figma + Code Connect)
| Phase | Tool | Purpose |
|---|---|---|
| IDEATE | Lucid | Rough wireframes, layout exploration |
| SPECIFY | Figma MCP | Component specs, token verification, Code Connect |
| BUILD | Local + agent-browser | Implementation with real tokens |
| VERIFY | agent-browser + Figma MCP | Screenshot comparison, token compliance |
| Tool | When to Use |
|---|---|
| agent-browser (primary) | Screenshots, browser automation, verification — fast, no MCP setup |
| Figma MCP | Component specs, design tokens, Code Connect integration — production accuracy |
| Lucid | Quick wireframes, ideation, stakeholder communication — layout exploration |
| Playwright MCP | Complex accessibility trees, device emulation — when agent-browser limits |
Decision: New rough idea → Lucid. Component specs → Figma. Everything else → agent-browser.
npx skills add kylebrodeur/ux-collab# Add marketplace
claude plugin marketplace add kylebrodeur/ux-collab
# Install plugin
claude plugin install ux-collab@ux-collabCopy .github/copilot.json to your .github/agents/ folder.
cp -r skills/ux-collab ~/.agents/skills/Create .ux-collab.md in your project root:
# UX Collab — Project Config
defaultUrl: http://localhost:3000
decisionsDoc: docs/DESIGN_DECISIONS.md
# Figma (optional)
figmaFileUrl: https://www.figma.com/design/ABC123/your-file
codeConnectEnabled: true
# Tokens
targetFiles:
tokens: src/styles/tokens.css
components: src/components/
surfaces:
- name: Homepage
route: /
- name: Dashboard
route: /dashboardAdd to your .mcp.json:
{
"mcpServers": {
"figma": {
"command": "npx",
"args": ["-y", "@figma/mcp"],
"env": { "FIGMA_API_KEY": "your-api-key" }
}
}
}MCP Commands (when available):
mcp_figma_get_variable_defs— Pull design tokensmcp_figma_get_design_context— Get Code Connect snippets + variant propsmcp_figma_get_screenshot— Capture Figma designsmcp_figma_search_design_system— Find components
See Figma Integration Guide for full workflow.
ux-collab/
├── skills/ux-collab/
│ ├── SKILL.md # Main skill documentation
│ ├── figma-integration.md # Figma MCP workflow guide
│ └── optimize-screenshot.sh
├── scripts/
│ ├── setup.sh # One-command install
│ └── check.sh # Verify dependencies
├── CLAUDE.md # Project governance template
├── styles/CLAUDE.md # Token validation rules
├── components/CLAUDE.md # Component requirements
└── example/ # Full workflow demo
See example/WORKFLOW.md for step-by-step demo:
- Wireframe in Lucid
- Component specs from Figma via Code Connect
- Build with agent-browser
- Verify with screenshot comparison
- Sync decisions
MIT