Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

figmaFigma 设计协作

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

6,258

周安装

199

GitHub Stars

公开资料未说明

下载量

2,943
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:figma(Figma 设计协作)
来源仓库:https://github.com/clawdbot/skills
仓库路径:skills/figma
安装命令:
npx skills add clawdbot/skills --skill "figma"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add clawdbot/skills --skill "figma"

简介

figma 用于辅助界面设计、视觉规范和布局优化,适合 UI 方案生成和组件结构整理。

  • 适用于页面结构设计、配色方案制定和交互体验改进的设计场景。
  • 通过 npx skills add clawdbot/skills --skill "figma" 命令安装使用。
  • 使用时需结合现有品牌和设计系统,涉及真实页面改动时应通过截图检查视觉效果。
  • 可结合来源仓库和原始 README 文档进一步核验具体用法。

SKILL.md

name
figma
description
Professional Figma design analysis and asset export. Use for extracting design data, exporting assets in multiple formats, auditing accessibility compliance, analyzing design systems, and generating comprehensive design documentation. Read-only analysis of Figma files with powerful export and reporting capabilities.

Figma Design Analysis & Export

Professional-grade Figma integration for design system analysis, asset export, and comprehensive design auditing.

Core Capabilities

1. File Operations & Analysis

  • File inspection: Get complete JSON representation of any Figma file
  • Component extraction: List all components, styles, and design tokens
  • Asset export: Batch export frames, components, or specific nodes as PNG/SVG/PDF
  • Version management: Access specific file versions and branch information

Example usage:

  • "Export all components from this design system file"
  • "Get the JSON data for these specific frames"
  • "Show me all the colors and typography used in this file"

2. Design System Management

  • Style auditing: Analyze color usage, typography consistency, spacing patterns
  • Component analysis: Identify unused components, measure usage patterns
  • Brand compliance: Check adherence to brand guidelines across files
  • Design token extraction: Generate CSS/JSON design tokens from Figma styles

Example usage:

  • "Audit this design system for accessibility issues"
  • "Generate CSS custom properties from these Figma styles"
  • "Find all inconsistencies in our component library"

3. Bulk Asset Export

  • Multi-format exports: Export assets as PNG, SVG, PDF, or WEBP
  • Platform-specific sizing: Generate @1x, @2x, @3x assets for iOS/Android
  • Organized output: Automatic folder organization by format or platform
  • Client packages: Complete deliverable packages with documentation

Example usage:

  • "Export all components in PNG and SVG formats"
  • "Generate complete asset package for mobile app development"
  • "Create client deliverable with all marketing assets"

4. Accessibility & Quality Analysis

  • Contrast checking: Verify WCAG color contrast requirements
  • Font size analysis: Ensure readable typography scales
  • Interactive element sizing: Check touch target requirements
  • Focus state validation: Verify keyboard navigation patterns

Example usage:

  • "Check this design for WCAG AA compliance"
  • "Analyze touch targets for mobile usability"
  • "Generate an accessibility report for this app design"

Quick Start

Authentication Setup

# Set your Figma access token
export FIGMA_ACCESS_TOKEN="your-token-here"

# Or store in .env file
echo "FIGMA_ACCESS_TOKEN=your-token" >> .env

Basic Operations

# Get file information and structure
python scripts/figma_client.py get-file "your-file-key"

# Export frames as images
python scripts/export_manager.py export-frames "file-key" --formats png,svg

# Analyze design system consistency
python scripts/style_auditor.py audit-file "file-key" --generate-html

# Check accessibility compliance
python scripts/accessibility_checker.py "file-key" --level AA --format html

Workflow Patterns

Design System Audit Workflow

  1. Extract file data → Get components, styles, and structure
  2. Analyze consistency → Check for style variations and unused elements
  3. Generate report → Create detailed findings and recommendations
  4. Manual implementation → Use findings to guide design improvements

Asset Export Workflow

  1. Identify export targets → Specify frames, components, or nodes
  2. Configure export settings → Set formats, sizes, and naming conventions
  3. Batch process → Export multiple assets simultaneously
  4. Organize output → Structure files for handoff or implementation

Analysis & Documentation Workflow

  1. Extract design data → Pull components, styles, and design tokens
  2. Audit compliance → Check accessibility and brand consistency
  3. Generate documentation → Create style guides and component specs
  4. Export deliverables → Package assets for development or client handoff

Resources

scripts/

  • figma_client.py - Complete Figma API wrapper with all REST endpoints
  • export_manager.py - Professional asset export with multiple formats and scales
  • style_auditor.py - Design system analysis and brand consistency checking
  • accessibility_checker.py - Comprehensive WCAG compliance validation and reporting

references/

  • figma-api-reference.md - Complete API documentation and examples
  • design-patterns.md - UI patterns and component best practices
  • accessibility-guidelines.md - WCAG compliance requirements
  • export-formats.md - Asset export options and specifications

assets/

  • templates/design-system/ - Pre-built component library templates
  • templates/brand-kits/ - Standard brand guideline structures
  • templates/wireframes/ - Common layout patterns and flows

Integration Examples

With Development Workflows

# Generate design tokens for CSS
python scripts/export_manager.py export-tokens "file-key" --format css

# Create component documentation
python scripts/figma_client.py document-components "file-key" --output docs/

With Brand Management

# Audit brand compliance in designs
python scripts/style_auditor.py audit-file "file-key" --brand-colors "#FF0000,#00FF00,#0000FF"

# Extract current brand colors for analysis
python scripts/figma_client.py extract-colors "file-key" --output brand-colors.json

With Client Deliverables

# Generate client presentation assets
python scripts/export_manager.py client-package "file-key" --template presentation

# Create development handoff assets
python scripts/export_manager.py dev-handoff "file-key" --include-specs

Limitations & Scope

Read-Only Operations

This skill provides read-only access to Figma files through the REST API. It can:

  • ✅ Extract data, components, and styles
  • ✅ Export assets in multiple formats
  • ✅ Analyze and audit design files
  • ✅ Generate comprehensive reports

What It Cannot Do

  • Modify existing files (colors, text, components)
  • Create new designs or components
  • Batch update multiple files
  • Real-time collaboration features

For file modifications, you would need to develop a Figma plugin using the Plugin API.

Technical Features

API Rate Limiting

Built-in rate limiting and retry logic to handle Figma's API constraints gracefully.

Error Handling

Comprehensive error handling with detailed logging and recovery suggestions.

Multi-Format Support

Export assets in PNG, SVG, PDF, and WEBP with platform-specific sizing.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

47.04%
按下载量换算1,384

Cursor

31.78%
按下载量换算935

Codex

11.39%
按下载量换算335

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills