Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

docs: the README shows how to add the skill to an AI assistant, and CLAUDE.md and CONTRIBUTING.md run tools/make-skill.mjs after a page is added or its prompt, settings, description or tags change

matin95123d6dff6f
diff --git a/CLAUDE.md b/CLAUDE.md
index 2eb650e3..2be269aa 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -226,8 +226,13 @@ inside an entry's "Production notes" section, never as their own entry.
pill: with the repo served, run `node tools/make-social-image.mjs --base http://127.0.0.1:<port>`, which draws it
again from the home page. The home check needs no edit: it reads its totals from `CATS` and `PLACES`.
8. Run `node tools/update-sitemap.mjs`: it writes every card into `sitemap.xml`, dated by the last commit to its
- folder (today for a folder with changes not yet committed). Run the tests and the page check on the new folder
- and on every page you edited. Run the home page check (`home`) too: the new card's Copy prompt is compared there.
+ folder (today for a folder with changes not yet committed). Run `node tools/make-skill.mjs` too: it writes every
+ page's prompt and settings into the AI skill (`skills/animation-handbook/`) and every card into `llms.txt`. Run the
+ tests and the page check on the new folder and on every page you edited. Run the home page check (`home`) too: the
+ new card's Copy prompt is compared there.
+
+Changing any page's prompt, settings, description or Good for and Avoid on tags also means running
+`node tools/make-skill.mjs` again: the skill test (`tests/skill.test.js`) fails until then.
## When asked to refactor
- Preserve every demo's behavior exactly. Visual parity matters more than
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a5d48a63..8bafd116 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -96,10 +96,16 @@ problem goes privately, as [SECURITY.md](SECURITY.md) describes, not into a publ
`node tools/make-social-image.mjs --base http://127.0.0.1:<port>`, which draws it again from
the home page. The home check needs no edit: it reads its totals from `CATS` and `PLACES`.
7. Run `node tools/update-sitemap.mjs`: it writes every card into `sitemap.xml`, dated by the
- last commit to its folder (today for a folder with changes not yet committed). Then run the
- tests and the page check (see [Tests and the page check](#tests-and-the-page-check)) on the
- new page and on every page you edited. Run the home page check (`home`) too: the new card's
- Copy prompt is compared there.
+ last commit to its folder (today for a folder with changes not yet committed). Run
+ `node tools/make-skill.mjs` too: it writes every page's prompt and settings into the AI skill
+ (`skills/animation-handbook/`) and every card into `llms.txt`. Then run the tests and the
+ page check (see [Tests and the page check](#tests-and-the-page-check)) on the new page and on
+ every page you edited. Run the home page check (`home`) too: the new card's Copy prompt is
+ compared there.
+
+Changing any page's prompt, settings, description or Good for and Avoid on tags also means
+running `node tools/make-skill.mjs` again: the skill test (`tests/skill.test.js`) fails until
+then.
## The demo page
diff --git a/README.md b/README.md
index 54893784..246730a1 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,10 @@
[**Open the live handbook →**](https://matinmonshizadeh.github.io/animation-handbook/)
+```bash
+npx skills add matinmonshizadeh/animation-handbook
+```
+
[![Live site](https://img.shields.io/website?url=https%3A%2F%2Fmatinmonshizadeh.github.io%2Fanimation-handbook%2F&label=live%20demo&up_message=online&color=91bdff)](https://matinmonshizadeh.github.io/animation-handbook/) [![Stars](https://img.shields.io/github/stars/matinmonshizadeh/animation-handbook?style=flat&color=79de9d)](https://github.com/matinmonshizadeh/animation-handbook) [![License](https://img.shields.io/github/license/matinmonshizadeh/animation-handbook?color=c6a1ff)](LICENSE) [![Techniques](https://img.shields.io/badge/techniques-166-ff9d5c)](#full-catalog) [![Dependencies](https://img.shields.io/badge/dependencies-0-ff94a9)](#design-principles) [![Build](https://img.shields.io/badge/build-none-62ddcf)](#design-principles)
</div>
@@ -30,6 +34,23 @@ Everything is plain HTML, CSS, and JavaScript: no build step, no frameworks, no
<a href="https://matinmonshizadeh.github.io/animation-handbook/"><picture><source media="(prefers-reduced-motion: reduce) and (max-width: 600px)" srcset="docs/demo-phone-still.webp"><source media="(prefers-reduced-motion: reduce)" srcset="docs/demo-still.webp"><source media="(max-width: 600px)" srcset="docs/demo-phone.webp"><img src="docs/demo.webp" alt="Screen recording of the handbook: on the home page, pressing Buttons brings up cards with live previews, Success Confetti opens and plays its demo, and Copy prompt shows Copied" width="820"></picture></a>
</div>
+## Use it from your AI assistant
+
+The handbook is also an Agent Skill, with every page's prompt and settings in it. Add it to Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, or any other agent that reads Agent Skills:
+
+```bash
+npx skills add matinmonshizadeh/animation-handbook
+```
+
+In Claude Code you can install it as a plugin instead:
+
+```
+/plugin marketplace add matinmonshizadeh/animation-handbook
+/plugin install animation-handbook@animation-handbook
+```
+
+Then ask for an animation in plain words, like "make the cards fade in as they scroll into view": your assistant picks the technique from the handbook and builds it into your project with that page's prompt and settings.
+
## Categories
| # | Category | Count |