figma-3d-transforms
БесплатноБез исполняемых скриптовНе проверенAdd or edit 3D transforms — depth, perspective, z-axis rotation, tilt, isometric, and parallax looks that flat 2D rotation cannot express. Use whenever a…
от figma★ 2 252 звезды на GitHubОб этом скилле
Adding / editing 3D transforms
Use this skill when a request needs the third dimension and plain 2D rotation can't express it: perspective, depth, z-axis tilt, isometric layouts, card flips, parallax stacks, "make it pop out of the screen."
Not this skill:
- Flat, in-plane rotation → set the node's 2D
rotationinstead; there's nothing 3D about it.
Animating 3D transforms
A request may implicitly be a motion task. Assume it isn't unless the context suggests otherwise, the language describes a quality of movement ("smoothly flips", "gently sways"), or the field being changed is already keyframed. These are pointers; use the context you have. For a motion task, set the pose with this skill and keyframe it with figma-use-motion; don't deliver static poses or "state" frames in place of an animation.
Keyframes override static 3D fields during playback, so before changing a node's transform3d or a container's scene3d.perspective, use use_figma to read manualKeyframeTracks and animationStyles on the node whose field you change. Edit keyframes on the fields being changed; other tracks (e.g. opacity) don't require animating the pose. If manualKeyframeTracks is undefined, Motion is unavailable: make static edits, and tell the user animation isn't available if the request needs it.
Runtime
Load figma-use before calling use_figma and follow its file context, node-creation, output, and verification rules. Include both skill names in skillNames, prefixing each with resource: when loaded through MCP resources. The recipes illustrate raw Plugin API geometry; adapt node creation to the workflow required by figma-use and apply poses after that workflow has materialized the nodes. Execute the Plugin API examples in the target file with use_figma.
3D APIs depend on the calling user's feature availability. If transform3d is unavailable, stop and explain that 3D transforms are not enabled in this session. Do not retry unsupported APIs or substitute a flat illustration without the user's agreement.
User-facing language
- Talk in plain terms: "adding perspective", "tilting it back", "giving the scene depth". Don't name these fields or the plugin API to the user, and don't surface raw error text.
- Give brief progress updates ("Setting up the 3D scene…", "Tilting the cards…", "Checking the result…").
- For ambiguous styling, make a tasteful change; for ambiguous perspective, follow the decision rules below.
The three fields
| Field | Lives on | Role |
|---|---|---|
node.transform3d |
any node | the per-element 3D pose |
node.scene3d |
FRAME / COMPONENT / INSTANCE only | a shared 3D space for the container's children |
node.transformOrigin |
any node | the pivot point the pose rotates around |
transform3d — the per-element pose
Write shape: { type: 'FIXED_ORDER', translateZ, rotateX, rotateY, rotateZ, backfaceVisible?, visible? }
translateZand all threerotate*are required on write;backfaceVisibleandvisibleare optional and default totrue.- There is no per-element
perspective— it is not part of this shape, and passing it throws. All perspective lives on the container viascene3d. - Rotations are in degrees. The fields compose like CSS
transform: translateZ() rotateX() rotateY() rotateZ(): the node is rotated first (Z, then Y, then X) andtranslateZis applied last, along the parent's Z axis, not the direction the node faces. So a rotation plustranslateZon one node never pushes it out along its rotated normal; for that, rotate a wrapper instead (see the carousel recipe). - There is no X or Y translation —
transform3donly translates along Z. To move a node horizontally or vertically, set the node's own position (node.x/node.y); don't reach for a transform. So a scene of several children at different X/Y spots is built by positioning each node, then applyingtransform3dfor depth/rotation on top. - Assigning
transform3dreplaces the entire object — omittingbackfaceVisibleorvisibleresets them totrue. To change one axis, read the current value, spread it, and write the whole object back. { type: 'NONE' }clears the 3D transform.- The write is strict — extra keys are rejected.
- Reads may return
type: 'FREEFORM'on nodes imported from CSS /matrix3d. FREEFORM is read-only: you can detect it but cannot author it. Write aFIXED_ORDERobject instead (it overwrites the freeform one).
scene3d — the shared 3D space (containers only)
Write shape: { perspective, preserve3d, visible? } on a FRAME / COMPONENT / INSTANCE.
perspectiveandpreserve3dare both required on write;visibleis optional and defaults totrue.preserve3d: true= children share one 3D space and can overlap in depth (like CSSpreserve-3d).preserve3d: false(the default — a container opts in) = children are projected flat onto the container's plane.- Read
Установить figma-3d-transforms в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл figma-3d-transforms?
Add or edit 3D transforms — depth, perspective, z-axis rotation, tilt, isometric, and parallax looks that flat 2D rotation cannot express. Use whenever a request reaches into the third dimension — "make it 3D", "add depth/perspective", "tilt/rotate it back", "z-plane", "isometric", "flip it like a card", "parallax", "vanishing point", "receding into the distance", "make it pop out".
Как установить скилл figma-3d-transforms?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл figma-3d-transforms запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic