Adding a feature note

A feature's how-to is one file, docs/features/<name>.md, and it opens with front matter. The index of notes (/docs/features/README.md, and the terminal's /docs) is built from that front matter, so a pull that adds a note edits no shared list and collides with no other note.

---
topic: Tell the crew        # a `###` heading of docs/features/README.md
row: The crew line on Home  # the words of the note's row in the index
ssh: yes                    # optional: the row shows only while the ssh switch is on
see: anchor | words         # optional: a second row linking #anchor of the same note
order: 1                    # optional: rows with an order come first, lowest first
---

A note with no front matter, no topic or an empty row is not listed, and test/feature-orphans.test.ts fails until it has them. The front matter is never shown to a reader: the page, the terminal, search and /llms-full.txt all read the note without it.

Both doors read the same rows: the web page /docs/features/README.md and the terminal's /docs call one function, docText (src/view/docs.ts), so a note listed on one is listed on the other. bun scripts/features-index.ts prints the built index and names any note it would lack. In git or the forge's file viewer the index file shows its topics and a <!-- notes --> line where the rows go; the rows exist only when the docs are read.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs