figma
bởi maddiedreese
Image & Video GenerationTóm tắt
Professional Figma design analysis and asset export.
Mô tả
Kỹ năng này làm gì
Read-only integration with the Figma REST API for design file analysis and asset export. Extracts components, styles, and design tokens, exports assets in PNG, SVG, PDF, and WEBP, and runs accessibility and consistency audits. Cannot modify files or create new designs.
Automates batch export and audit tasks that would otherwise require manual clicks in Figma or custom one-off API scripts.
Khi nào nên dùng
- Exporting all icons from a design system as SVG and PNG
- Auditing a UI file for WCAG AA color contrast compliance
- Generating CSS custom properties from Figma color and typography styles
- Packaging mobile assets at 1x, 2x, and 3x scales for iOS and Android handoff
- Identifying unused components and style inconsistencies across a component library
Quy trình ví dụ
User asks: Check this Figma file for WCAG AA accessibility issues and generate a report
- 1
Authenticates with the Figma REST API using the configured access token
- 2
Fetches the full file structure including components, frames, and styles
- 3
Runs accessibility_checker.py against the file, checking contrast ratios, font sizes, and touch target dimensions
- 4
Compiles findings into an HTML report with element-level violations and recommendations
HTML accessibility report listing WCAG AA failures, affected elements, and suggested fixes
Yêu cầu
- FIGMA_ACCESS_TOKEN environment variable
- Figma account with access to the target files
Cài đặt
clawhub install maddiedreese/figmaChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.