sprite-animation
它能做什么
创建一张带有复古电子游戏(像素艺术)风格的动画幻灯片。它包含一个像素艺术角色或物体、一个大号年份数字,以及一条移动的时间线,背景为奶油色。
适用场景
- ✓用来快速制作一张用于演示的视觉幻灯片。
- ✓当你想要复古或电子游戏风格时。
- ✓用来说明时间线上的某个具体观点。
技能链接
https://github.com/nexu-io/open-design/blob/main/design-templates/sprite-animation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
📦 包含此技能的技能包
可以这样问 AI
“创建一张关于 1985 年的动画幻灯片,画面中有像素艺术风格的马里奥角色。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用代码生成一张静态图片,其中包含循环播放的动画元素,比如角色、年份和时间线。它的设计目标,是看起来像教学视频中的某一帧画面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Sprite Animation Skill
Produce a single animated frame of an educational explainer — the kind you might screen-record into a vertical video. Pixel-art mascots, big year display, looping CSS animations, kinetic Japanese / English display type.
Workflow
- Read the active DESIGN.md (injected above). Pick the loudest serif token for the year, a sturdy sans for headlines, and a mono token for timeline / index labels.
- Pick the topic from the brief (e.g. "Nintendo · 1889 — Hanafuda"). You always need: a year, a one-line headline, an animated subject (a pixel sprite — character, object, or icon), and a short caption.
- Stage — full-bleed cream / off-white background (
#f5efe2) with a subtle paper grain. Keep margins generous; this is one beat of a video. - Top bar — small mono row:
- Left: title slug ("名次の/番組" or "EP. 01 / NINTENDO")
- Right: progress dots ("01 / 12") and a "REC" stamp
- Subject animations — at least three independent looping animations
on the page:
- Big year: the headline year (e.g. "1889年") fills the lower-left, in a serif display weight. It has a subtle vertical glitch / scanline animation (clip-path keyframes), and a 1-frame "pop" every loop.
- Pixel sprite card: a 96×128 pixel-art card or character (use an
inline SVG with crisp
shape-rendering: crispEdgesrectangles, or abox-shadowpixel grid). Subtle bobbing animation (±4px, 1.6s). - Kinetic kana: 1–2 Japanese / kanji characters that fade-and-slide in sync with the bob (e.g. "花" — hana — flower).
- Tick ribbon: bottom of the stage, a tape/ribbon with year ticks (1889 · 1907 · 1949 · 1977 · 1985 · 2006 · 2017) sliding left at a slow constant speed.
- Caption block — small mono caption explaining the trivia: "Nintendo started as a Hanafuda playing-card maker in Kyoto, 1889. Mario didn't show up for another ninety-six years."
- Write a single HTML document:
<!doctype html>through</html>, CSS inline, no external JS.- All animations use
@keyframes+animation: ... infinite. - Stage uses a fixed canvas ratio (e.g. 16:9 letterboxed) so the loop reads as a single frame from a video.
data-od-idon stage, year, sprite, caption, and tick ribbon.
- Self-check:
- The page is one cohesive scene, not a collage. The eye lands on the year first, then the sprite, then the caption.
- At least 3 independent looping animations are visible.
- The color palette is restrained (cream + a single accent red + ink).
- No external assets — all sprites are inline SVG or CSS.
Output contract
Emit between <artifact> tags:
<artifact identifier="sprite-anim-slug" type="text/html" title="Sprite animation — Title">
<!doctype html>
<html>...</html>
</artifact>
One sentence before the artifact, nothing after.
常见问题
什么是“像素艺术”?
这是一种数字艺术风格,每个点(像素)都清晰可见,类似早期的电子游戏。
什么是“循环动画”?
这是持续重复的动作,比如一个角色不停地走路。
我可以选择任意角色吗?
可以,你可以要求使用像素艺术风格的角色、物体或图标。
详情
作者的原始描述
A pixel / sprite-style animated explainer slide — full-bleed cream stage, bold display year, animated pixel-art mascot (e.g. Hanafuda card, mushroom, or 8-bit console), kinetic Japanese display type, ticking timeline ribbon. Reads like a single frame of an educational motion video — looping CSS keyframes, no JS, ready to be screen-recorded into a vertical video. Use when the brief asks for a "spri
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #960
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …