figma
от maddiedreese
Image & Video GenerationКратко
Professional Figma design analysis and asset export.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Требования
- FIGMA_ACCESS_TOKEN environment variable
- Figma account with access to the target files
Установка
clawhub install maddiedreese/figmaВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.