其他

motion-figure

rohitg00/ai-eng…-scratch

Builds figures that move or respond to the reader, in three tiers: SMIL animations and slider widgets inside lessons, interactive mechanism figures that show the named parts of a real system with a computed verdict, and ordered dither bands in the course palette. Triggers: "animated figure", "add a slider widget", "interactive figure", "show how this system works", "make this diagram move", "dither masthead", "mechanism figure", "figure fence".

  • 761 次安装
  • 7.6万 星标
  • 收录于

安装命令

npx skills add https://github.com/rohitg00/ai-engineering-from-scratch --skill motion-figure

SKILL.md

Motion figure

This skill makes figures that move or respond to input. It has three tiers. Use this skill with Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md.

Tier What it makes Where it goes
1. Lesson figure Declarative SMIL animation, or a slider widget that redraws an SVG. Both mount from a ```figure fence. Course lessons
2. Mechanism figure An HTML panel that shows the named parts of a system. The reader drives one control and reads a computed verdict. Standalone pages, READMEs, essays, the course site outside lessons
3. Dither field A WebGL band of ordered dither dots in the paper, accent, and ink colours, with four seeded motions. Page mastheads and section breaks

Tier 1 has the most rules, because the lesson runtime has hard limits. Tiers 2 and 3 have their own reference files.

When to use

  • A lesson explains a process that changes over time: a token that moves through stages, a queue that fills, a loop that repeats.
  • A lesson explains a formula where one input changes the output: learning rate, temperature, chunk size, batch size.
  • An author writes "animate this figure", "add a slider", or "make the diagram interactive".
  • A page needs a demo where the reader changes one thing and sees what the system does: a cache, a queue, a context window, a router. Use tier 2.
  • A page needs a slow moving header in the course colours. Use tier 3.