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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.