figma-plugin
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "figma-plugin" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e142fe4cb3afb2e39b58e1a4e720b58ac9894f4b8843b5af91768bd994817539. Verify the upstream source and version against https://github.com/bergside/design-md-figma before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Documentation or reference for building Figma plugins, creating design automation tools, implementing sandbox/UI communication, or performing node operations, style, and component handling using the Figma Plugin API.
Introduction source: third_party · bergside · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when building Figma plugins, creating design automation tools, implementing sandbox/UI communication, or working with the Figma Plugin API for node manipulation, styles, and components.
- Testing
- Not tested
Browse files
Frontmatter
name: figma-plugin
description: Use when building Figma plugins, creating design automation tools, implementing sandbox/UI communication, or working with the Figma Plugin API for node manipulation, styles, and components.Figma Plugin Development
Build plugins that extend Figma's functionality using the Plugin API.
Architecture
Figma plugins run in two threads communicating via postMessage:
- Main thread (sandbox): Plugin API access, node manipulation,
figma.*calls - UI thread (iframe): HTML/CSS/JS interface, no Figma API access, npm packages allowed
Key Principles
- Main thread handles all Figma document operations
- UI thread handles user interface and external APIs
- Communication between threads via
figma.ui.postMessage()andonmessage - Plugins must be performant — avoid blocking the main thread
Quick Start Checklist
- Set up project with
manifest.json(name, id, main, ui) - Create main thread code (
code.ts) with plugin logic - Create UI (
ui.html) with interface elements - Wire up postMessage communication between threads
- Test in Figma development mode
- Publish via Figma Community
References
| Reference | Description |
|---|---|
| project-structure-and-build.md | Manifest, TypeScript setup, build configuration |
| development-testing-and-publishing.md | Dev workflow, testing, publishing, troubleshooting |
| api-globals-and-nodes.md | Global objects, node types, components |
| api-rendering-and-advanced.md | Paints, effects, auto layout, styles, variables, events |
| ui-architecture-and-messaging.md | iframe UI, postMessage, typed messages, plain HTML |
| ui-react-and-theming.md | React setup, hooks, Figma theme colors |
| ui-patterns-and-resources.md | Loading states, tabs, color pickers, file downloads |
| selection-traversal-and-batching.md | Selection handling, node traversal, batch operations |
| colors-and-text.md | Color conversion, manipulation, text operations |
| layout-storage-and-utilities.md | Positioning, alignment, storage, error handling, utilities |
Version history
-
v1.0.0
GitHub ↗
Original release notes
- generate DESIGN.md and SKILL.md files based on local style extraction
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向 Figma 插件开发的专业场景,提供完整架构指南和快速入门清单
- 涵盖沙盒/UI 通信、节点操作、样式处理等核心开发需求,实用价值高
Highlights
- 触发描述精准覆盖 Figma 插件开发、设计自动化、API 操作等关键场景
- 边界清晰,无歧义或重叠风险
Highlights
- 文档结构清晰,包含架构、原则、快速入门等完整章节
- frontmatter 完整,有明确的参考文档链接
Highlights
- 基于 Figma 官方 Plugin API,架构和通信机制描述准确
- 无工具来源不明或参数错误问题,执行可靠性高
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.