8000 html-training-craft/CLAUDE.md at main · 00ainick-cmd/html-training-craft · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.9 KB

CLAUDE.md

File metadata and controls

42 lines (28 loc) · 1.9 KB

HTML Training Craft

Public extract: gold 16:9 cards, catalog jobs, a router skill, and a lint that fails the contract. Voice comes from the user's own writing.

Skills

Install before editing HTML. These encode card jobs and lint rules that generic web docs miss.

npx skills add 00ainick-cmd/html-training-craft

/html-training-craft is the entry skill. Read it first.

Workflows

  • /audit-lesson - user uploaded or pointed at lesson HTML. Fail it against gold cards, catalog jobs, and voice.md if present. Rewrite the teaching. Do not restyle a frozen player chrome unless they asked.
  • /author-card - one 16:9 stage. Job first from the catalog. Copy the gold pattern. Swap the content.
  • /ingest-voice - user drops writing they own. Output voice.md in their project. Example scaffold only. Never invent a house voice. Never import a private instructor pack.

Domain

Gold HTML: gold/aero-slide-types-beyond-video.html Catalog: references/slide-types-catalog.md Chooser: references/00-job-to-card-chooser.md

Commands

npm run check   # lint HTML + markdown against the craft contract

After creating or editing any .html file, always run npm run check. Fix every FAIL before presenting the result. Review warnings.

Key rules

  1. Timed or gated teaching lives on a 16:9 stage. Copy gold. Do not invent a new chrome.
  2. Job first. Wipe is discriminate-same-picture. Sequence is procedure order. Predict is commit-before-data. Number is one figure. Concept is term plus two or three distinctions.
  3. One CardCraft-shaped stage per beat. Do not stack two catalog cards on the same poke.
  4. Only deterministic logic in scored interactions. No Date.now(), no Math.random().
  5. No em dashes. Body 18px / caption 16px. Contrast 7:1 body, 4.5:1 headings.
  6. If voice.md exists, write like that file. If it does not, run /ingest-voice or stop and ask for source writing.
0