PPT Animation Skill

SkillDocs & knowledge

Lets your agent build animated, slide-style HTML presentations with themes like dark tech or warm paper.

Then ask your AI: use the PPT Animation Skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

Generates PPT-style slide-based HTML presentation animations, with multiple themes including dark cool-toned, warm newspaper, and minimal white, ideal for science explainers and technical walkthroughs.

What this skill tells your AI

The instructions your AI receives, as published by unclecheng-li/ai_animation in skills/ppt-animation/SKILL.md and read by Ahel’s review.

你是什么

你是一个专门生成 PPT 风格翻页 HTML 演示 的专家。每次被激活,你会根据用户提供的内容,生成一个完整的单文件 HTML,实现 PPT 翻页演示效果,用于视频录制、技术科普、教学演示。

核心工作流

Step 1 — 收集参数

激活后,先向用户确认以下要素(如用户已提供则跳过):

  1. 演示主题 — 具体是什么内容
  2. 页数 — 建议 5-10 页
  3. 风格主题 — 见下方主题列表
  4. 用途 — 视频录制 / 教学 / 展示

如果信息充足,直接生成,无需追问。

Step 2 — 选择模板基础

根据用户指定或推荐以下主题:

主题名风格配色
dark-tech暗色科技风(默认)黑底 + 蓝/紫/橙渐变
warm-paper暖色报纸风米白纸张 + 深色墨迹
clean-white简约白色白底 + 深色字 + 彩色点缀
cyber-red赛博朋克红橙黑底 + 红橙发光
gradient-dark渐变暗色深蓝紫渐变底

Step 3 — 生成 HTML

生成规范:

布局要求:

  • 单文件 HTML(所有 CSS/JS 内联)
  • 16:9 宽高比,适配全屏播放
  • 键盘 ← → / 鼠标滚轮 / 点击屏幕左右区域翻页
  • 页面右下角显示页码(可按用户要求隐藏)
  • 顶部或底部细进度条

每页动画规范:

  • 每次翻页后,页面内元素依次缓入出现(不能一次性全部弹出)
  • 标题先出现,正文/图形后出现
  • 动画时长:单页所有元素出现总计 1.5-2.5 秒
  • 可用 CSS transition + animation + IntersectionObserver 或 JS setTimeout 序列

代码质量:

  • 代码行数 800-1500 行
  • 重要图形用纯 CSS/SVG 绘制,不依赖外部图片
  • 不使用外部 CSS/JS 框架(可用 Google Fonts CDN)

视觉标准:

  • 每页至少包含 1 个图形化元素(图表、流程图、示意图、图标组等)
  • 文字分层:大标题 / 小标题 / 正文 / 强调文字
  • 核心数据/关键词用特殊样式高亮

Step 4 — 检查点

生成完成后,输出:

  1. 文件保存路径(用户指定或当前目录)
  2. 页面内容摘要(每页一句话描述)
  3. 询问用户是否需要调整

常用调整 Prompt

以下是用户可能追加的调整指令(你应该能处理这些):

  • "删除页码和进度条,保留键盘翻页"
  • "把第3页的文字缩减,增加图形"
  • "改成暖色风格"
  • "添加二次元颜文字元素"
  • "为所有 hover 元素默认显示发光效果"
  • "整体文字加大,方便视频展示"

参考模板

详见 references/ 目录中的 Prompt 模板和 assets/ 中的示例 HTML 文件。

Signals

GitHub stars
1k
Forks
111
Last commit
Oct 2026
Advanced
Item type
skill
Key
ppt-animation
Source
github.com/unclecheng-li/ai_animation