原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

code-animation-prompts Skill

代码仓库 ↗

作者:XiaoyeCodes★ 1,1791 个 skill

安装

What it does

341 种代码动画风格提示词、196 张参考静帧与离线挑选器,封装为 Claude Code / Codex Skill,支持一键导入与 HTML 视频渲染。

  • Connects Instruction files the AI reads; connects to nothing
  • Account or key No key needed
  • Category 设计与网页
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/xiaoyecodes-code-animation-prompts.svg)](https://mcp.popnx.com/en/skills/xiaoyecodes-code-animation-prompts)

可搭配使用

在同一工作中把 AI 连到服务的 MCP

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

作者:GLips广泛使用↓ 15.2万/周★ 1.6万5个月前更新

MCP · 连接服务在你的电脑上运行

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

作者:DayuanJiang广泛使用↓ 2.2万/周★ 3.7万 整个仓库的星标前天更新

MCP · 连接服务在你的电脑上运行

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

作者:pascalorg广泛使用↓ 1037/周★ 2.6万 整个仓库的星标3天前更新

MCP · 连接服务电脑或云端✓ 服务方 · pascal.app

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
code-animation-prompts
impeccablediagram-designfrontend-slidesguizang-ppt-skill
作者XiaoyeCodespbakauscathrynlaveryzarazhangruiop7418
Skill 数1111–
GitHub 星标1,179111,13167,54432,39929,871
最近代码更新2026年11月5日2026年11月16日2026年11月13日2026年6月24日2026年10月30日
许可证–Apache-2.0MITMITAGPL-3.0

XiaoyeCodes 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

Claude CodeCodex

依据开发者 README 和 repo 中的文件夹

安装

Is it safe?

  • Who made it

    GitHub account XiaoyeCodes (person) is only 9 months old: take extra care

  • Use and upkeep

    ★ 1,179 stars · code last changed 2026年11月5日

  • Any scripts?

    3 scripts that can run on a computer: assets/library/风格提示词/A-G_代码样片/_公共函数.js, scripts/render_video.py, scripts/styles.py

  • Uses the internet?

    No internet calls found in the scripts

  • Changes machine-wide settings?

    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?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

  1. Download from GitHub

    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

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick code-animation-prompts.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    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

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install

正在检查命令 · 通过后才会显示复制按钮

正在检查命令 · 通过后才会显示复制按钮

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

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    正在检查命令 · 通过后才会显示复制按钮

  3. 重新打开 Claude Code,输入 /code-animation-prompts,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install

正在检查命令 · 通过后才会显示复制按钮

正在检查命令 · 通过后才会显示复制按钮

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

Option 2自己放入文件夹

把 code-animation-prompts 文件夹放到 ~/.agents/skills/code-animation-prompts

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    正在检查命令 · 通过后才会显示复制按钮

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install

正在检查命令 · 通过后才会显示复制按钮

正在检查命令 · 通过后才会显示复制按钮

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

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    正在检查命令 · 通过后才会显示复制按钮

  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install

正在检查命令 · 通过后才会显示复制按钮

正在检查命令 · 通过后才会显示复制按钮

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

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    正在检查命令 · 通过后才会显示复制按钮

  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 code-animation-prompts

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install

正在检查命令 · 通过后才会显示复制按钮

正在检查命令 · 通过后才会显示复制按钮

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

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

查看原始 SKILL.md

以下文字来自开发者的 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)。

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
1,179
开发者
XiaoyeCodes
许可证
未说明
最近代码更新
2026年11月5日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
agent-skills, animation, claude-code, codex, creative-coding, prompts, video-generation