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 launch kit leaves the public repo (kept privately), and the tests, CLAUDE.md, CONTRIBUTING.md and the PR template stop naming it

matin44b08a9afc50
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index e77dce0c..0b5fe01c 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -15,7 +15,7 @@
- [ ] Registered in the root `index.html` `CATS` array (with the page's one-line description) and in `sitemap.xml`
- [ ] Listed in the category `README.md` and the root `README.md` with the same name and description
- [ ] Linked from its neighbors (Next / Previous, each replacing the old link), and the `NN.MM` category line of later pages renumbered
-- [ ] Technique count updated where it is written (root `README.md`, home page, `tests/pages.test.js`, `.github/ISSUE_TEMPLATE/config.yml`, `docs/launch-kit.md`)
+- [ ] Technique count updated where it is written (root `README.md`, home page, `tests/pages.test.js`, `.github/ISSUE_TEMPLATE/config.yml`)
- [ ] Responsive: reflows at 375px, touch targets ≥ 44px, works with touch
- [ ] Respects `prefers-reduced-motion`
- [ ] Animates only `transform` / `opacity`
diff --git a/CLAUDE.md b/CLAUDE.md
index aa2c494b..28c09ac8 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -206,9 +206,8 @@ inside an entry's "Production notes" section, never as their own entry.
7. Update `animations/<category>/README.md` (its list of pages, and any other table there that names pages, such
as 07's Implementation summary) and the root `README.md` list (the card's name and one-line description, in
home page order), and the technique count wherever it is written: the root `README.md` (the total and the
- category's count), the home page (its title and meta tags too), `.github/ISSUE_TEMPLATE/config.yml` and
- `docs/launch-kit.md` (its sitemap line counts the home page as well: the total plus one); the tests compare
- each with `CATS`. The picture `og-image.png` shows the count in the home page's pill: with the repo served, run
+ category's count), the home page (its title and meta tags too) and `.github/ISSUE_TEMPLATE/config.yml`; the
+ tests compare each with `CATS`. The picture `og-image.png` shows the count in the home page's 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 the tests and the page check on the new folder and on every page you edited. Run the home page check
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3ca2b2d3..88432be5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -79,8 +79,7 @@ fix a bug, or improve an explanation are all welcome.
such as 07's Implementation summary) and to the list in the root `README.md`, with the same
name and description, and update the technique count where it is written: the root
`README.md` (the total and the category's count), the home page (its title and meta tags
- too), `.github/ISSUE_TEMPLATE/config.yml` and `docs/launch-kit.md` (its sitemap line counts
- the home page as well: the total plus one); the tests compare each with `CATS`. The picture
+ too) and `.github/ISSUE_TEMPLATE/config.yml`; the tests compare each with `CATS`. The picture
`og-image.png` shows the count too, in the home page's 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`.
diff --git a/docs/launch-kit.md b/docs/launch-kit.md
deleted file mode 100644
index d7c8fb3d..00000000
--- a/docs/launch-kit.md
+++ /dev/null
@@ -1,147 +0,0 @@
-# Launch kit — Animation Handbook
-
-Everything needed to take the repo from 0 stars to a real launch. The website
-quality is already there; this is the distribution layer. Work top to bottom.
-
----
-
-## 1. Repo metadata (do this first — 5 minutes)
-
-GitHub → repo **Settings** (or the ⚙️ next to "About" on the repo home page):
-
-**Description:**
-> 166 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
-
-**Website:** `https://matinmonshizadeh.github.io/animation-handbook/`
-
-**Topics (add all):**
-`web-animation` `css-animation` `animation` `frontend` `web-development`
-`javascript` `motion-design` `ui-animation` `scroll-animation` `microinteractions`
-`webgl` `ai-prompts` `reference` `no-dependencies` `github-pages`
-
-(`awesome` is for curated lists that follow the awesome-list rules; this repo is not one, so leave it off.)
-
-With the GitHub CLI (`gh`), this is one command:
-
-```bash
-gh repo edit matinmonshizadeh/animation-handbook \
- --description "166 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step." \
- --homepage "https://matinmonshizadeh.github.io/animation-handbook/" \
- --add-topic web-animation,css-animation,animation,frontend,web-development,javascript,motion-design,ui-animation,scroll-animation,microinteractions,webgl,ai-prompts,reference,no-dependencies,github-pages \
- --remove-topic awesome
-```
-
-**Social preview:** Settings → General → Social preview → upload `og-image.png`, so links to the repo
-(not only to the site) show the picture.
-
-Also enable: **Discussions** (Settings → Features) — gives people a place to ask
-and share, which drives return visits.
-
----
-
-## 2. Verify SEO is live (after pushing)
-
-- `https://matinmonshizadeh.github.io/animation-handbook/sitemap.xml` → should list 167 URLs
-- `https://matinmonshizadeh.github.io/animation-handbook/robots.txt` → should load
-- Submit the sitemap to **Google Search Console** (add the property, then Sitemaps → submit `sitemap.xml`).
-- Test the social card at https://opengraph.xyz — paste the homepage URL, confirm the og-image shows.
-
----
-
-## 3. Launch posts
-
-Space these out over ~2 weeks; don't fire them all the same day. Lead every one
-with `docs/demo.gif` (find an animation, watch it, copy its prompt) — the visual is
-the hook, and the prompt for your AI assistant is what sets the site apart. Post the
-live site's link first and the repo second. Post from your own account and answer the
-comments yourself in the first hours.
-
-### Show HN (news.ycombinator.com/submit)
-
-**Title:**
-> Show HN: Animation Handbook – 166 web animations, each with a prompt for your AI
-
-**URL:** `https://matinmonshizadeh.github.io/animation-handbook/`
-
-**First comment (post immediately after submitting):**
-> I kept re-googling the same animation techniques and landing on either a
-> library's marketing page or a CodePen with no explanation. So I built a
-> reference: 166 techniques, from scroll effects and page transitions to
-> micro-interactions, text, 3D, and ambient backgrounds. You find one by where it
-> goes on your page (buttons, text, backgrounds, page changes…) or by describing
-> it. Each one plays live, has a few plain settings, and gives you a ready-made
-> prompt for an AI assistant that describes the animation in plain words, with
-> your settings. If you'd rather build it by hand, each page is one self-contained
-> HTML file with a README on the mechanic and the production gotchas — no build
-> step, no framework, no dependencies, and it runs offline. Feedback and PRs welcome.
-
-### Reddit — r/webdev (Showoff Saturday) and r/Frontend
-
-**Title:**
-> I built a handbook of 166 web animations — watch each one live, tweak it, and copy a prompt for your AI assistant
-
-**Body:**
-> 166 techniques in 7 categories (scroll, entrance/exit, page transitions,
-> micro-interactions, text, 3D, ambient). Find one by where it goes on your page or
-> by describing it, try a few plain settings, then copy a prompt that describes it in
-> plain words for ChatGPT, Claude or Cursor. Each technique is also one standalone
-> HTML file with a short writeup of how it works and what to watch for in
-> production. No frameworks, no build, works offline.
-> Live: <link> · Source: <repo> · MIT. What's missing?
-
-*(r/webdev restricts self-promo to "Showoff Saturday" — respect it.)*
-
-### dev.to / Hashnode article
-
-**Title:** `166 web animations you can copy as a prompt for your AI assistant`
-
-**Outline:**
-1. The problem — animation knowledge is scattered across libraries and CodePens, and an AI
- assistant needs the right words to build the effect you have in mind.
-2. The approach — one technique, one file; find it by where it goes; plain settings; a prompt
- that names exactly what you saw.
-3. A tour of the 7 categories with 3–4 embedded GIFs.
-4. Two or three techniques explained in depth (e.g. scroll-driven animations, view transitions API).
-5. It's open source — how to contribute. Link the repo, ask for a star.
-
-*(Canonical-link the article back to your site to avoid SEO cannibalization.)*
-
-### X / Bluesky thread
-
-> 1/ I built Animation Handbook — 166 web animations you can watch live, tweak, and
-> copy as a prompt for your AI assistant. No dependencies, no build step. 🧵 <docs/demo.gif>
->
-> 2/ Find one by where it goes — buttons, text, backgrounds, page changes — or just
-> describe it: "a button that bounces when clicked". <GIF>
->
-> 3/ Every page has a few plain settings and a ready-made prompt that describes the
-> animation in plain words, with your settings. Paste it into ChatGPT, Claude or Cursor.
->
-> 4/ Prefer code? Each technique is one vanilla HTML/CSS/JS file with a README on the
-> mechanic and the gotchas. Open source (MIT): <repo> · Live: <link>
-
-Tag/DM accounts that curate frontend content (e.g. weekly newsletters, "awesome"
-list maintainers). Ask to be added to relevant awesome-lists (awesome-css,
-awesome-web-animation) via PR.
-
-### Product Hunt
-
-**Tagline:** `166 web animations, each with a prompt for your AI assistant`
-Schedule for a Tuesday–Thursday 12:01am PT. Line up 5–10 people to comment/upvote early.
-
----
-
-## 4. Keep it alive
-
-- Add 2–3 new techniques a month; each is a fresh thing to post about.
-- Turn the "New technique" issues into a public roadmap (GitHub Projects).
-- Respond to every issue/PR fast — early responsiveness is what converts
- drive-by visitors into contributors, and contributors bring stars.
-
----
-
-## Realistic expectation
-
-Quality is necessary but not sufficient. A strong Show HN + r/webdev + one good
-article, each led with a GIF, is what moves this from 0 to hundreds of stars.
-Without a deliberate launch it will stay near zero regardless of how good it is.
diff --git a/tests/pages.test.js b/tests/pages.test.js
index 5564790d..ea88eb16 100644
--- a/tests/pages.test.js
+++ b/tests/pages.test.js
@@ -474,21 +474,13 @@ test('the counts written in the root README match the cards', () => {
}
});
-test('the counts written in the issue template and the launch kit match the cards', () => {
- const cats = homeConst('CATS'), cards = totalCards();
+test('the counts written in the issue template and the sitemap match the cards', () => {
+ const cards = totalCards();
const template = read(path.join(ROOT, '.github/ISSUE_TEMPLATE/config.yml'));
assert.equal(numberIn(template, /See all (\d+) techniques/), cards, 'config.yml: the link to the live handbook');
- // The launch kit says the total in many sentences: every "N techniques" or "N web animation techniques" is the total, every
- // "N categories" the number of categories, and the sitemap's URL count is one more than the total (the home page), as many
- // as sitemap.xml lists.
- const kit = read(path.join(ROOT, 'docs/launch-kit.md'));
- const said = [...kit.matchAll(/(\d+) (?:web animation )?techniques\b/g)];
- assert.ok(said.length > 0, 'the launch kit says how many techniques');
- for (const [text, n] of said) assert.equal(Number(n), cards, `launch kit: "${text}"`);
- for (const [text, n] of kit.matchAll(/(\d+) categories\b/g)) assert.equal(Number(n), cats.length, `launch kit: "${text}"`);
+ // The sitemap lists one URL more than the total: the home page.
const urls = count(read(path.join(ROOT, 'sitemap.xml')), '<url>');
assert.equal(urls, cards + 1, 'sitemap.xml lists the home page and every animation');
- assert.equal(numberIn(kit, /should list (\d+) URLs/), urls, 'launch kit: the sitemap URL count');
});
// Where the bracket that opens at HOME[from] ('[' or '{') is closed. It steps over strings and // comments, so a quote or bracket