Individual skill
figma-plugin-api-rules
MANDATORY prerequisite before any programmatic Figma write — use_figma, create_new_file, Plugin API scripts. Field-tested pitfalls and patterns for the Figma Plugin API — nodes, auto-layout, components and variants, instances, text and fonts, variables and modes, connectors, annotations, FigJam, and the MCP tool layer — plus verification recipes so silent failures get caught. Load it in addition to your tool's own instructions for calling the Figma API (figma-use or its MCP-resource equivalent); it complements them, never replaces them. Do not load for tasks that don't touch Figma.
skills-imported/figma-plugin-api-rules/SKILL.md
Source commit faf37c0859ebf627bfcb5225e8057d088691e0ae
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 8, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 54
- Repository last updated
- Oct 10, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- ai-agents-automation Repository topic
- ai-skills Repository topic
- awesome Repository topic
- awesome-list Repository topic
- chatgpt Repository topic
- claude-skills Repository topic
- meta-ai Repository topic
- muse-ai Repository topic
- design Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesSKILL.mdcore · 38,288 bytesreferences/annotations.mddoc · 19,569 bytesreferences/components-and-variants.mddoc · 59,454 bytesreferences/connectors.mddoc · 34,032 bytesreferences/figjam.mddoc · 1,774 bytesreferences/instances.mddoc · 112,913 bytesreferences/layout-and-geometry.mddoc · 206,115 bytesreferences/mcp-and-environment.mddoc · 63,869 bytesreferences/prototyping.mddoc · 1,381 bytesreferences/publishing-hygiene.mddoc · 5,750 bytesreferences/screen-from-code.mddoc · 3,191 bytesreferences/text-and-styles.mddoc · 44,052 bytesreferences/variables-and-tokens.mddoc · 46,227 bytes
Read excerpt
> Adapted for Muse from [schudarin/chudarin-design-skills](https://github.com/schudarin/chudarin-design-skills) (MIT) — plain-markdown portable unit. Claude Code-isms neutralized; any Figma MCP / write steps are kept as read-only reference knowledge.
# Figma Plugin API Rules
Accumulated, field-tested knowledge of the Figma Plugin API as driven through an agent (`use_figma`-style calls). Every entry is a real case that broke exactly this way, written up as Principle / Symptom / Pattern — not a reading of the docs. Core principle: **the MCP plugin sandbox is not your desktop Figma** — fonts, library resolution, page context and multi-property writes behave differently, and many failures are *silent*.
**Required companion:** your tool's own instructions for calling the Figma API must be loaded before the first call — in Claude Code that is the `figma-use` plugin skill; in other agents load the MCP resource `skill://figma/figma-use/SKILL.md`. This pack adds to that; it does not replace it. For repairing detached or missing variable bindings, also load `figma-fix-variable-bindings`. If a required skill is missing or needs a restart, say so before starting rather than guessing tooling.
## Hard rules
1. **Your tool's Figma API instructions load before the first call — always.** This pack complements them.
2. **Inspect before you mutate.** Read `componentPropertyDefinitions`, `children`, and bounding boxes *before* writing.
3. **Verify every ID that came from a prompt or a past session** with one read-only call before the first write (see `verify-variable-ids-before-write` below). Passed-in IDs are routinely off-by-N or point at a sibling.
4. **Load the topic file before the first write that uses its API — match on the code you are about to send, not on a guess about the "topic".** If the next `use_figma` script contains any of these identifiers, read the file first: