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 视频渲染。
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/xiaoyecodes-code-animation-prompts)在同一工作中把 AI 连到服务的 MCP
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.
同类工作,排序与 Skill 列表相同
| 本项 code-animation-prompts | impeccable | diagram-design | frontend-slides | guizang-ppt-skill | |
|---|---|---|---|---|---|
| 作者 | XiaoyeCodes | pbakaus | cathrynlavery | zarazhangrui | op7418 |
| Skill 数 | 1 | 1 | 1 | 1 | – |
| GitHub 星标 | 1,179 | 111,131 | 67,544 | 32,399 | 29,871 |
| 最近代码更新 | 2026年11月5日 | 2026年11月16日 | 2026年11月13日 | 2026年6月24日 | 2026年10月30日 |
| 许可证 | – | Apache-2.0 | MIT | MIT | AGPL-3.0 |
XiaoyeCodes 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
Claude CodeCodex
依据开发者 README 和 repo 中的文件夹
GitHub account XiaoyeCodes (person) is only 9 months old: take extra care
★ 1,179 stars · code last changed 2026年11月5日
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
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
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 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
复制这句话,粘贴到 Claude Code 的对话中
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
重新打开 Claude Code,输入 /code-animation-prompts,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
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
把 code-animation-prompts 文件夹放到 ~/.agents/skills/code-animation-prompts
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
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 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
复制这句话,粘贴到 Cursor 的对话中
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
在 Cursor 的 Agent 聊天中输入 / 并选择 code-animation-prompts
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · 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 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
1,884 个字符 · 在 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)。
提问、分享技巧或报告无法使用。按“有帮助”数量排序。