figma-mcp
Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- figma-mcp
- description
- Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.
02 资源文件 1
- 参考文档agents/openai.yaml99 B
03 SKILL.md 正文
Figma MCP
Use an available Figma MCP integration to turn a specific design selection into production-quality UI, extract reusable design tokens, or compare an existing implementation with its design reference.
Optional Prerequisite
This skill requires Figma MCP access only when the request needs live Figma data. Confirm that the current client exposes the needed Figma MCP tools and that the user can access the referenced design. Do not assume a particular MCP client, configuration format, desktop application, account tier, or tool name. If access is unavailable, ask for exported design context, screenshots, or a different authorized path; do not attempt to configure or connect to Figma.
Implement From a Design
- Obtain the exact design node or a user-approved visual reference.
- Fetch structured design context and a screenshot. If the response is too large, inspect the node hierarchy and retrieve only the required children.
- Retrieve design variables when token-level detail is needed.
- Reuse existing project components, tokens, routes, state handling, and asset conventions. Treat generated markup as design intent, not final code.
- Use design-provided assets directly when available. Do not substitute a placeholder or add an icon package solely to recreate an available asset.
- Validate layout, typography, colors, states, responsiveness, assets, and accessibility against the reference before declaring visual parity.
Design-to-Code Gap Analysis
Compare each relevant component against the same Figma node. Record gaps by category—layout, dimensions, typography, color, missing element, or interaction state—and classify them as critical, major, or minor. For every gap, state the design reference, current behavior, expected outcome, and a specific proposed fix. Prioritize structure and broken states before cosmetic differences.
Token Extraction
When Figma variables are available, map them to the project’s established token format rather than copying raw values throughout components. Preserve the project naming scheme and discuss any intentional mismatch between design and product tokens.
Boundaries
- Do not create or edit Figma content unless the user explicitly requests it and the available tools support that action.
- Do not expose credentials, access tokens, private design data, or local MCP configuration in prompts, source code, or handoffs.
- Document justified deviations from the design, such as accessibility or platform constraints, near the relevant implementation or handoff.
04 同仓库更多 Skills
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Local database with 79 searchable styles (88 catalog entries), 192 color palettes, 74 font pairings, 192 product types, 119 UX guidelines, 105 curated icon entries, 17 GSAP motion presets, and 25 chart types across 22 stacks (React, Next.js, Vue, Nuxt, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js, and HTML/CSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.
improve-codebase-architecture
Find evidence-based, active-change architecture improvements using shared design and domain-modeling guidance. Use when a user wants to reduce architectural friction, deepen a module, or make a current change safer, more testable, and easier to navigate.
domain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing GLOSSARY.md or CONTEXT.md, or recording or editing an ADR.
codebase-design
Provide the shared vocabulary and discipline for designing deep modules with clear interfaces and seams. Use when a user wants to design or improve a module, find deepening opportunities, choose a seam, or make code more testable and AI-navigable.
test-coverage-review
MUST invoke to review whether added or updated tests cover code changes in a diff. Checks new logic, branches, error paths, and regression risk, producing a change-to-test matrix. Use requirements-to-tests-traceability for acceptance-criteria mapping and orchestrated-review for bundled reviews.
test-correctness-review
MUST invoke to review whether tests are valid, correctly implemented, and prove the behavior they claim. Checks setup, execution, mocks, and assertions for false-confidence risks. Use test-coverage-review for changed-code coverage and requirements-to-tests-traceability for requirement mapping.