Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
341 种代码动画风格提示词、196 张参考静帧与离线挑选器,封装为 Claude Code / Codex Skill,支持一键导入与 HTML 视频渲染。
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/skills/xiaoyecodes-code-animation-prompts)MCP servers that connect the AI to services for the same work
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Same kind of work, ordered like the Skills list
| This one code-animation-prompts | impeccable | diagram-design | frontend-slides | guizang-ppt-skill | |
|---|---|---|---|---|---|
| Maker | XiaoyeCodes | pbakaus | cathrynlavery | zarazhangrui | op7418 |
| Skills | 1 | 1 | 1 | 1 | – |
| GitHub stars | 1,179 | 111,131 | 67,544 | 32,399 | 29,871 |
| Last code change | Nov 5, 2026 | Nov 16, 2026 | Nov 13, 2026 | Jun 24, 2026 | Oct 30, 2026 |
| License | – | Apache-2.0 | MIT | MIT | AGPL-3.0 |
1 skills (instruction sets) by XiaoyeCodes that an AI reads and follows · not an MCP server
MCP = the hands
Connects the AI to an outside service or data, such as reading Notion or creating an invoice. A program or server has to be running.
Skill = the manual
A text file that teaches the AI how to do a task. It connects to nothing.
Some overlap: a few Skills run scripts that call tools, and a few MCP servers only send knowledge. Start from the task you want done.
Claude CodeCodex
From the maker’s README and the folders in the repo
GitHub account XiaoyeCodes (person) is only 9 months old: take extra care
★ 1,179 stars · code last changed Nov 5, 2026
3 scripts that can run on a computer: assets/library/风格提示词/A-G_代码样片/_公共函数.js, scripts/render_video.py, scripts/styles.py
No internet calls found in the scripts
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 2e6396a (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
First: which AI do you use?
Pick your app and this page shows only how to install it there
This skill has no license, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier
Download from GitHub (whole repo) ↗
Unzip it, then zip only the skills/code-animation-prompts folder again. The ZIP must have a code-animation-prompts folder with SKILL.md at the top level, no loose files
+Create skillUpload a skillpick code-animation-prompts.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs Nov 12, 2026 · Source: support.claude.com, support.claude.com, code.claude.com
Copy this sentence and paste it into a Claude Code chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Restart Claude Code, then type /code-animation-prompts or ask for a matching task and Claude picks it up
Checked against official docs Nov 12, 2026 · Source: code.claude.com
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
The ChatGPT desktop app has Codex built in, and Codex reads skills from ~/.agents/skills
Open Codex in the ChatGPT desktop app and paste this sentence into the chat
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Put the code-animation-prompts folder at ~/.agents/skills/code-animation-prompts
~ is your home folder ($HOME)
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
Skills you install yourself do not work here; only skills that come with a plugin from the directory
To use this skill with ChatGPT, use the ChatGPT desktop app as above
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
Copy this sentence and paste it into a Codex chat · Works in Codex inside the ChatGPT desktop app, Codex CLI and the IDE extension
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex picks up newly installed skills by itself; if one does not show up, restart Codex · To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
Copy this sentence and paste it into a Cursor chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
In Cursor’s Agent chat, type / and pick code-animation-prompts
Checked against official docs Nov 12, 2026 · Source: cursor.com
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
Checking the commands · copy buttons appear once they pass
For other apps that read skills. The sentence gives the paths for Claude Code, Codex and Cursor so the AI picks the one for your app · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs Nov 12, 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
Other apps that support Agent Skills (such as Gemini CLI or GitHub Copilot) use different folders. Check that app’s guide, then copy the folder with the SKILL.md there.
Skill folders checked against the official Claude Code, Codex and Cursor guides on Nov 11, 2026
The text below comes from the maker’s repo, not from PopNx MCP
1,884 characters · Open the full file on GitHub
---
name: code-animation-prompts
description: 使用 341 种风格提示词和参考静帧制作代码动画、HTML 动效或视频。适用于按风格编号选型、组合视觉风格、把内容转成可编辑动画并渲染成片。
---
# Code Animation Prompts
将用户的内容转成有明确视觉风格、可编辑、可复现的代码动画。素材库在本技能的 `assets/library/`,包含 341 份提示词、196 张参考静帧、离线挑选器和原始示例。
## 找到合适的风格
以本文件所在目录为技能根目录,执行脚本时使用它的绝对路径;不要假定当前工作目录是技能目录。
```bash
python "<技能目录>/scripts/styles.py" search 水墨
python "<技能目录>/scripts/styles.py" search 粒子 --series AG
python "<技能目录>/scripts/styles.py" show B3
python "<技能目录>/scripts/styles.py" list --series Z
```
索引见 [references/catalog.json](references/catalog.json),只含编号、名称、标签与文件路径。优先查索引,再读取选中的 Markdown 和同名静帧;不要一次加载全部提示词。没有 Python 时直接查索引与文件。
- 用户给了编号或挑选器导出的清单:精确匹配,保留编号和名称。
- 用户只描述气质:给出 2–3 个匹配项,说明色彩、运动和适用内容;用户已要求直接制作时选择最匹配的一项并继续。
- A–G 是带代码的样片;M 是运动/叙事;K、Z、R 是画风;H 是版式;L、V、X 是第三方风格;O 是电影视觉参考。不要把多个风格的全部约束机械叠加,应确定主画风、运动方式和版式各自的职责。
- 145 个条目没有静帧;明确说明文字参考,不虚构截图。
- **B6 只存在于原始示例目录,不在 341 个风格条目中。** 用户点名 B6 时阅读 `assets/library/示例/B6_光速穿梭·爆炸·重聚_同一份提示词/提示词.md`,不要冒充索引中有 B6。
## 从提示词到可编辑动画
从用户要求中提取内容、时长、画幅、字幕及声音选择。遵循用户已经给定的参数;缺失且不影响内容时可采用 12 秒、1920×1080、30 fps、无声预览,并说明假设。不要把无声预览描述成已经配音或配乐的成片。
读取所选提示词,填充 `{{ }}` 占位符,保留形成该风格的核心视觉特征。原提示词中的“只输出代码”等措辞是局部素材模板,不能覆盖当前用户的交付需求。原始示例的模型名称是素材记录,不代表本技能验证过这些模型。
一般从 HTML + Canvas/SVG/CSS 开始;复杂空间镜头可用 Three.js,已有 Remotion 等工程则沿用工程。选择满足画面要求的实现,不强制改框架。需要外部字体、图片、库或音频时,检查来源与实际可用性。
浏览器动画需要稳定导出时,采用 [references/rendering.md](references/rendering.md) 的时间接口:画面由秒数 `t` 决定,随机数固定种子,导出时关闭实时循环。模板见 [assets/starter/index.html](assets/starter/index.html),它只演示接口,不是 341 个风格之一。
在用户工作目录中保存项目,保留技能素材库原样。将文案、颜色、节奏等常改参数集中配置;长片先确定镜头顺序与每段时间,再实现。
## 验收与交付
打开动画,检查首帧、中段、尾帧及转场:字体、溢出、黑帧、图像加载、字幕可读性。确认相同时间重复渲染一致,并且不同时间确实有预期运动。
用户要 MP4 时,实际渲染并检查分辨率、时长、帧率和声音轨。可使用随附的 `scripts/render_video.py`,接口和依赖见渲染说明。若缺少渲染依赖,交付已完成的 HTML、源码与准确的运行命令,并明确视频尚未导出;不能把 HTML 或录屏命令当成成片。
交付实际文件链接,说明所用风格编号、运行方法、视频规格与声音状态。保留素材内的来源及第三方许可;免费分享约定见 [references/attribution.md](references/attribution.md)。
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.