[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E71YMHMBMMCMXP2CMSZSKY":3,"skill-same:01M7E71YMHMBMMCMXP2CMSZSKY":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7E71YMHMBMMCMXP2CMSZSKY","figma-use-motion",null,"Motion \u002F animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.","wxdwu\u002Fnew-api","wxdwu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F80968397?v=4","01M7E6AEMB59N90BKXD77EC83D","Xudong Wu","01M7E6AEMY2BXCDVZ9MJJHFQ4C",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: figma-use-motion\ndescription: \"Motion \u002F animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.\"\ndisable-model-invocation: false\n---\n\n# use_figma — Figma Plugin API Skill for Motion\n\nMotion context for the `use_figma` MCP tool. [figma-use](..\u002Ffigma-use\u002FSKILL.md) covers the foundational Plugin API rules — load both together.\n\n**Always pass `skillNames: \"figma-use-motion\"` (comma-separated alongside `figma-use`) when calling `use_figma` for motion work.** Logging only.\n\n## Runtime Gating\n\nMotion APIs are gated behind the `metronome` user feature flag. When the calling user doesn't have it, every motion property and helper referenced in this skill throws `\"\u003Cname>\" is not a supported API`.\n\n**Bail out fast on that error.** Do not retry; tell the user motion isn't enabled for them and stop. Otherwise you'll burn calls and confuse the user with repeated identical failures.\n\n## When to use this skill\n\nLoad this skill whenever a `use_figma` task involves:\n\n- Adding, editing, or removing keyframes on a node (`manualKeyframeTracks`, `applyManualKeyframeTrack`, `removeManualKeyframeTrack`).\n- Animating fill or stroke colors over time.\n- Applying, editing, or removing animation styles (`applyAnimationStyle`, `removeAnimationStyle`, `animationStyles`).\n- Reading or writing timeline duration via `node.timelines` \u002F `node.setTimelineDuration(id, seconds)`.\n- Choosing easing for any of the above.\n\nStatic design work (creating shapes, components, variables, layout) goes through [figma-use](..\u002Ffigma-use\u002FSKILL.md) alone — this skill is only for the time dimension.\n\n## Exposed motion API surface\n\n- `node.manualKeyframeTracks` — read\u002Fwrite manual keyframes (including fill, stroke, and effect tracks).\n- `node.applyManualKeyframeTrack(field, track)` \u002F `node.removeManualKeyframeTrack(field)` — add, replace, or remove one manual keyframe track without rewriting the whole object.\n- `node.animationStyles` — read\u002Fwrite animation-style metadata applied to a node.\n- `node.applyAnimationStyle(styleId, presetData?)` \u002F `node.removeAnimationStyle(id)` — apply a discovered style and remove an applied style instance by its returned\u002Fread-back `id`.\n- `node.timelines` — read-only timeline list for the containing top-level frame, with durations in seconds.\n- `node.setTimelineDuration(id, durationSeconds)` — write the containing top-level frame timeline duration.\n- `node.animations` — read-only resolved keyframe data (currently manual tracks only — see [motion-patterns.md](references\u002Fmotion-patterns.md)).\n- `figma.motion.figmaAnimationStyles()` — read-only list of Figma's first-party animation styles.\n\nAuthoring custom `\"figma:motion\"` preset module source code is out of scope. If the user wants a brand-new animation style, say so and stop; don't fabricate one.\n\n## Reference docs\n\nLoad these as needed based on what the task involves:\n\n| Doc | When to load | What it covers |\n|-----|-------------|----------------|\n| [motion-patterns.md](references\u002Fmotion-patterns.md) | Adding\u002Fediting motion animation | Manual keyframes, animated fills\u002Fstrokes, applying animation styles, timeline duration |\n| [motion-easing.md](references\u002Fmotion-easing.md) | Setting animation easing | Keyframe easing objects, custom cubic\u002Fspring, `HOLD`, applying easing inside an animation style |\n\n## Verifying the animation\n\n`get_screenshot` shows only the timeline's **resting state**, never motion. To check motion, `export_video` and sample frames — but it renders server-side and is **slow and expensive (~10s to minutes)**, so make each render count.\n\n**Plan before rendering — cost scales with pixels × frames, so keep both no larger than the frames need:**\n\n1. **Pick the moments first.** You need one frame per *phase* (e.g. per stagger step, or start \u002F mid \u002F settle), not smooth playback — usually 4–6. This count sets your fps.\n2. **Size to what you must read.** Start small — `constraint: { type: 'WIDTH', value: 320 }`, `quality: \"low\"` — but text and small elements blur there, so raise `WIDTH` (768+) when you need to judge fine detail. Omitting `constraint` = full size (1x; server clamps to 10x \u002F 4096px).\n3. **Set fps just high enough to land those frames:** `fps: 5` covers a handful; 10 is an upper bound. Higher just bloats the render.\n\n**Mechanics:** `export_video` works only on a **top-level frame** whose children carry the animation (pass that frame, not the descendant you keyframed). It returns a `jobId` with `status: \"processing\"` — re-invoke with `{ fileKey, jobId }` to poll. Then extract frames locally with `ffmpeg -ss \u003Ct> -i anim.mp4 -frames:v 1 frame_\u003Ct>.png` — extraction is free, so once you've paid for the render, mine it for every frame that tells you something rather than re-exporting. Without a frame extractor like `ffmpeg`, skip the export and reason about the keyframes instead.\n\n**Iterate until it's right.** The export is a diagnostic, not a sign-off: if the frames are wrong (bad order, off timing, a missing element, a mask blanking the composite), fix the keyframes\u002Fstyles and re-export. Read *all* the frames and batch every fix into one pass before re-rendering — every render carries real overhead, so make each one count instead of re-exporting after each small change.\n\nSkip the export entirely for trivial or self-evident changes.\n\n## Pre-flight checklist\n\nIn addition to the [figma-use pre-flight checklist](..\u002Ffigma-use\u002FSKILL.md#8-pre-flight-checklist), verify:\n\n- [ ] Easing uses the public `{ type: 'EASE_OUT', easingFunctionCubicBezier?: …, easingFunctionSpring?: … }` shape — not internal scenegraph names like `OUT_CUBIC`.\n- [ ] Ease-in-out uses the exact public enum `EASE_IN_AND_OUT` (or `EASE_IN_AND_OUT_BACK`); never emit the invalid alias `EASE_IN_OUT`.\n- [ ] The node being animated is not a top-level frame (direct child of a page). Animate descendants instead.\n- [ ] Timeline values are seconds in the public Plugin API. Extend via `setTimelineDuration`; never shorten unless the user asked.\n- [ ] Transform keyframe fields use public names (`TRANSLATION_X`, `TRANSLATION_Y`, `ROTATION`, `SCALE_X`, `SCALE_Y`, `SCALE_XY`), not internal `MOTION_*` scenegraph names.\n- [ ] Manual keyframe fields come from the public allowlist in [motion-patterns.md](references\u002Fmotion-patterns.md#animatable-fields); generated\u002Finternal scenegraph fields intentionally throw.\n- [ ] Mutated node IDs are returned (per `figma-use` Rule 15).\n- [ ] When motion correctness isn't self-evident and a frame extractor (`ffmpeg`) is available, verify via `export_video` + frame sampling — render small, low `fps`, iterate until right (see the Verifying the animation section above). `get_screenshot` shows only the resting state.\n","# use_figma — Figma Plugin API Skill for Motion\n\nMotion context for the `use_figma` MCP tool. [figma-use](..\u002Ffigma-use\u002FSKILL.md) covers the foundational Plugin API rules — load both together.\n\n**Always pass `skillNames: \"figma-use-motion\"` (comma-separated alongside `figma-use`) when calling `use_figma` for motion work.** Logging only.\n\n## Runtime Gating\n\nMotion APIs are gated behind the `metronome` user feature flag. When the calling user doesn't have it, every motion property and helper referenced in this skill throws `\"\u003Cname>\" is not a supported API`.\n\n**Bail out fast on that error.** Do not retry; tell the user motion isn't enabled for them and stop. Otherwise you'll burn calls and confuse the user with repeated identical failures.\n\n## When to use this skill\n\nLoad this skill whenever a `use_figma` task involves:\n\n- Adding, editing, or removing keyframes on a node (`manualKeyframeTracks`, `applyManualKeyframeTrack`, `removeManualKeyframeTrack`).\n- Animating fill or stroke colors over time.\n- Applying, editing, or removing animation styles (`applyAnimationStyle`, `removeAnimationStyle`, `animationStyles`).\n- Reading or writing timeline duration via `node.timelines` \u002F `node.setTimelineDuration(id, seconds)`.\n- Choosing easing for any of the above.\n\nStatic design work (creating shapes, components, variables, layout) goes through [figma-use](..\u002Ffigma-use\u002FSKILL.md) alone — this skill is only for the time dimension.\n\n## Exposed motion API surface\n\n- `node.manualKeyframeTracks` — read\u002Fwrite manual keyframes (including fill, stroke, and effect tracks).\n- `node.applyManualKeyframeTrack(field, track)` \u002F `node.removeManualKeyframeTrack(field)` — add, replace, or remove one manual keyframe track without rewriting the whole object.\n- `node.animationStyles` — read\u002Fwrite animation-style metadata applied to a node.\n- `node.applyAnimationStyle(styleId, presetData?)` \u002F `node.removeAnimationStyle(id)` — apply a discovered style and remove an applied style instance by its returned\u002Fread-back `id`.\n- `node.timelines` — read-only timeline list for the containing top-level frame, with durations in seconds.\n- `node.setTimelineDuration(id, durationSeconds)` — write the containing top-level frame timeline duration.\n- `node.animations` — read-only resolved keyframe data (currently manual tracks only — see [motion-patterns.md](references\u002Fmotion-patterns.md)).\n- `figma.motion.figmaAnimationStyles()` — read-only list of Figma's first-party animation styles.\n\nAuthoring custom `\"figma:motion\"` preset module source code is out of scope. If the user wants a brand-new animation style, say so and stop; don't fabricate one.\n\n## Reference docs\n\nLoad these as needed based on what the task involves:\n\n| Doc | When to load | What it covers |\n|-----|-------------|----------------|\n| [motion-patterns.md](references\u002Fmotion-patterns.md) | Adding\u002Fediting motion animation | Manual keyframes, animated fills\u002Fstrokes, applying animation styles, timeline duration |\n| [motion-easing.md](references\u002Fmotion-easing.md) | Setting animation easing | Keyframe easing objects, custom cubic\u002Fspring, `HOLD`, applying easing inside an animation style |\n\n## Verifying the animation\n\n`get_screenshot` shows only the timeline's **resting state**, never motion. To check motion, `export_video` and sample frames — but it renders server-side and is **slow and expensive (~10s to minutes)**, so make each render count.\n\n**Plan before rendering — cost scales with pixels × frames, so keep both no larger than the frames need:**\n\n1. **Pick the moments first.** You need one frame per *phase* (e.g. per stagger step, or start \u002F mid \u002F settle), not smooth playback — usually 4–6. This count sets your fps.\n2. **Size to what you must read.** Start small — `constraint: { type: 'WIDTH', value: 320 }`, `quality: \"low\"` — but text and small elements blur there, so raise `WIDTH` (768+) when you need to judge fine detail. Omitting `constraint` = full size (1x; server clamps to 10x \u002F 4096px).\n3. **Set fps just high enough to land those frames:** `fps: 5` covers a handful; 10 is an upper bound. Higher just bloats the render.\n\n**Mechanics:** `export_video` works only on a **top-level frame** whose children carry the animation (pass that frame, not the descendant you keyframed). It returns a `jobId` with `status: \"processing\"` — re-invoke with `{ fileKey, jobId }` to poll. Then extract frames locally with `ffmpeg -ss \u003Ct> -i anim.mp4 -frames:v 1 frame_\u003Ct>.png` — extraction is free, so once you've paid for the render, mine it for every frame that tells you something rather than re-exporting. Without a frame extractor like `ffmpeg`, skip the export and reason about the keyframes instead.\n\n**Iterate until it's right.** The export is a diagnostic, not a sign-off: if the frames are wrong (bad order, off timing, a missing element, a mask blanking the composite), fix the keyframes\u002Fstyles and re-export. Read *all* the frames and batch every fix into one pass before re-rendering — every render carries real overhead, so make each one count instead of re-exporting after each small change.\n\nSkip the export entirely for trivial or self-evident changes.\n\n## Pre-flight checklist\n\nIn addition to the [figma-use pre-flight checklist](..\u002Ffigma-use\u002FSKILL.md#8-pre-flight-checklist), verify:\n\n- [ ] Easing uses the public `{ type: 'EASE_OUT', easingFunctionCubicBezier?: …, easingFunctionSpring?: … }` shape — not internal scenegraph names like `OUT_CUBIC`.\n- [ ] Ease-in-out uses the exact public enum `EASE_IN_AND_OUT` (or `EASE_IN_AND_OUT_BACK`); never emit the invalid alias `EASE_IN_OUT`.\n- [ ] The node being animated is not a top-level frame (direct child of a page). Animate descendants instead.\n- [ ] Timeline values are seconds in the public Plugin API. Extend via `setTimelineDuration`; never shorten unless the user asked.\n- [ ] Transform keyframe fields use public names (`TRANSLATION_X`, `TRANSLATION_Y`, `ROTATION`, `SCALE_X`, `SCALE_Y`, `SCALE_XY`), not internal `MOTION_*` scenegraph names.\n- [ ] Manual keyframe fields come from the public allowlist in [motion-patterns.md](references\u002Fmotion-patterns.md#animatable-fields); generated\u002Finternal scenegraph fields intentionally throw.\n- [ ] Mutated node IDs are returned (per `figma-use` Rule 15).\n- [ ] When motion correctness isn't self-evident and a frame extractor (`ffmpeg`) is available, verify via `export_video` + frame sampling — render small, low `fps`, iterate until right (see the Verifying the animation section above). `get_screenshot` shows only the resting state.\n",{"name":5,"description":7,"disable-model-invocation":20},"main","dde9a06ab10bce3fe52058c783826590231f7df3","plugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api","https:\u002F\u002Fgithub.com\u002Fwxdwu","24120128@bjtu.edu.cn","I am Xudong Wu，a student in beijing jiaotong University, \"I am eager to learn on GitHub and contribute my part to this community.","2026-10-05 17:26:50",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add wxdwu\u002Fnew-api --skill figma-use-motion",{"tool":38,"command":39},"bunx","bunx skills add wxdwu\u002Fnew-api --skill figma-use-motion",{"tool":41,"command":42},"pnpm","pnpm dlx skills add wxdwu\u002Fnew-api --skill figma-use-motion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fmotion-easing.md","REFERENCE","参考文档",4591,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002Freferences\u002Fmotion-easing.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fmotion-patterns.md",19966,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002Freferences\u002Fmotion-patterns.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E8SVA2N0JA09RW1XJYXCWX","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzotero\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E8ST1FJAD5PWTW2FN1NSK0","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E8SRW074NNNCZRCZA5T3Z1","setup-zoom-websockets","Use when building Zoom WebSockets.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7E8SPCFMD3YVPRX2MW8X3RA","setup-zoom-webhooks","Use when building Zoom webhooks.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7E8SMCH4RPCX8YSBNGWQCMP","zoom-virtual-agent-web","Zoom Virtual Agent SDK for web embeds. Use for campaign or entry ID chat launch, event-driven controls, user context updates, and CSP-safe deployment.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fweb\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7E8SJCAY323E36Z8SAP8H4M","zoom-virtual-agent-ios","Zoom Virtual Agent iOS integration via WKWebView. Use for Swift\u002FObjective-C script injection, message handlers, support_handoff relay, and URL routing policies.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fios\u002FSKILL.md",[],[]]