Code Animation Prompts
XiaoyeCodes / code-animation-prompts
基本信息
关于 Code Animation Prompts
A local Claude Code and Codex skill for choosing visual styles and producing editable code animations with an offline reference library.
安装 Code Animation Prompts
git clone https://github.com/XiaoyeCodes/code-animation-prompts.git
cd code-animation-prompts
python scripts/install_skill.py --target codex如何使用 Code Animation Prompts
- 1
用 Git 下载完整仓库,准备 Python 3.10 或更高版本。上方命令安装到 Codex;Claude Code 用户在仓库根目录执行下面的命令,按需选择一种。
python scripts/install_skill.py --target claude - 2
验证安装目录中的风格查询。以下对应 Codex 用户级目录;Claude Code 用户将 .agents 换成 .claude。
python "$HOME/.agents/skills/code-animation-prompts/scripts/styles.py" search 水墨 python "$HOME/.agents/skills/code-animation-prompts/scripts/styles.py" show B3 - 3
开启新的助手会话。Codex 输入 $code-animation-prompts,Claude Code 输入 /code-animation-prompts。说明主题、时长、画幅和声音需求,先选风格,再请求生成动画。
- 4
把生成项目保存在自己的工作目录,检查首帧、中段、尾帧和转场。要交付 MP4 时,再按仓库渲染说明配置浏览器与 FFmpeg 等依赖,检查实际导出文件;HTML 不是已经完成的视频。
功能与用途
Search animation styles by code, keyword or series
Choose references in an offline HTML picker
Build editable HTML animations and optionally export deterministic video frames
要求与注意事项
- 概述:code-animation-prompts 是本地技能与代码动画参考库,适合具备终端和文件操作能力的 Claude Code、Codex 用户。它帮助用户先确定视觉方向,再生成可编辑的 HTML、Canvas、SVG 或 CSS 动效。
- 差异:它整理的是可复用的风格提示词与素材,而不是托管的视频生成 API;也允许沿用项目已有的动画技术。安装素材库本身不会自动完成视频渲染、配音或发布。
- 具体能力:通过 scripts/styles.py 按关键词、系列或精确编号检索风格,只读取选中的参考材料。
- 具体能力:离线 HTML 挑选器支持浏览风格与导出选择清单,交给助手后可保留选中的编号。
- 具体能力:把主画风、运动方式和版式组合成可编辑动画;可选的确定性逐帧渲染流程用于稳定导出视频。
- 每种风格都有预览图吗?没有。核实的目录包含 341 份提示词、196 张参考静帧,其余 145 项只有文字参考。B6 是原始示例,不在 341 项索引中。
- 只复制 SKILL.md 可以吗?不可以。应安装整个技能目录,保留素材、脚本和索引的相对路径。安装脚本也不会自动安装视频渲染依赖。
- 如何更新?安装脚本拒绝覆盖已有目录。先把自己的修改备份到技能扫描目录之外,再拉取仓库重新安装;不要在用户级与项目级同时留下同名技能。
- 许可证有什么限制?主要素材按免费使用、修改和分享并保留来源的约定提供,不得重新打包成付费课程或付费 skill 售卖。部分第三方素材保留独立的 MIT 条款;不能把整个仓库统称为 MIT,分发前应阅读 LICENSE.md 与来源说明。
- 费用与核实范围:素材库不是付费托管 API;助手账号及可选外部资源、服务另有各自要求。2026-11-18 按官方文档核实,本文不声称已经实测生成或导出视频。
参考来源
已于 2026-11-18 对照源仓库核实。
设计与 UI分类下的其他 Skills
frontend-design
anthropics / skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
grill-me
mattpocock / skills
A relentless interview to sharpen a plan or design.
web-design-guidelines
vercel-labs / agent-skills
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
grill-with-docs
mattpocock / skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-event
larksuite / cli
Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM messages/reactions/chat changes, Task updates, VC meeting started/joined/ended, Minutes generated, Whiteboard updated, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.
prototype
mattpocock / skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
评论