--- name: notes description: Manage the project's local .notes/ dir (design docs, work handoffs, parked questions). Use whenever writing a design doc, plan, proposal, research or review for local use; starting, handing off or closing out work that spans sessions (brief, plan, report); parking something for later, out of scope or a follow-up; picking up or settling a parked question; preparing a document for someone else; or when the user mentions .notes, handoffs, open questions or asks what is pending. --- # Notes The policy is `~/.config/claude/rules/notes.md`: layout, numbering, status lines, close-out, what doesn't belong. This skill holds the procedures. Every step that changes `.notes/` ends with `commit`, which also regenerates `index.html`, `notes.css`, the markdown pages under `_pages/` and the portable copies under `_out/`. Change the look only in this skill's `notes.css`, never in a project. ``` N=~/.config/claude/skills/notes/notes.py python3 $N init # create .notes/ if missing (idempotent) python3 $N next d|w|q # next free id, counts deleted items too python3 $N commit "" # regenerate the generated pages, commit all of .notes/ python3 $N index # regenerate index.html, notes.css, _pages/ and _out/ only python3 $N serve # every project's notes on http://127.0.0.1:8765/: hub filters projects, each project page searches its notes (the user runs this) ``` All commands take `--root `; the default is the git toplevel of the current dir. Never pick an id by hand or from `ls`; deleted ids live only in git history. ## New doc 1. `init`, then `next d` 2. write `docs/dNNN-slug.html` (or `docs/dNNN-slug/index.html` with its assets next to it, then every `../` below becomes `../../`) on this skeleton, using only the components documented at the top of `notes.css` (callout, tag, cards, grid-2, table, figure.diagram with its svg classes); no `