Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 rotation instead; 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? }

  • translateZ and all three rotate* are required on write; backfaceVisible and visible are optional and default to true.
  • There is no per-element perspective — it is not part of this shape, and passing it throws. All perspective lives on the container via scene3d.
  • Rotations are in degrees. The fields compose like CSS transform: translateZ() rotateX() rotateY() rotateZ(): the node is rotated first (Z, then Y, then X) and translateZ is applied last, along the parent's Z axis, not the direction the node faces. So a rotation plus translateZ on 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 — transform3d only 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 applying transform3d for depth/rotation on top.
  • Assigning transform3d replaces the entire object — omitting backfaceVisible or visible resets them to true. 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 a FIXED_ORDER object instead (it overwrites the freeform one).

scene3d — the shared 3D space (containers only)

Write shape: { perspective, preserve3d, visible? } on a FRAME / COMPONENT / INSTANCE.

  • perspective and preserve3d are both required on write; visible is optional and defaults to true.
  • preserve3d: true = children share one 3D space and can overlap in depth (like CSS preserve-3d). preserve3d: false (the default — a container opts in) = children are projected flat onto the container's plane.
  • Read
Полный SKILL.md на GitHub

Установить figma-3d-transforms в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/carousels.mdreferences/cubes.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить figma-3d-transforms с