Ships in the kit
Example feature
The reference plugin: a notes list that touches every slot the seam has, so you can read one small thing instead of a large one. It ships in the kit and exists to be deleted.
Installing it
Nothing to install: it is already in the tree at
apps/web/src/plugins/example-feature/. It exists to be read and then deleted —
pnpm plugin remove example-feature --apply, then a migration.
What it adds
- A table —
example_notes, organisation-scoped with the same row-level-security policy as everything else, and its migration generated by the host. - A gated route —
/api/example-featurebehind a feature flag, on the mount rather than route by route, answering 404 rather than 403 when the flag is off. - A job, an agent tool and two hooks — the shortest job handler in the repository, a tool on every agent run, a welcome note for a new organisation and two more for the demo seed.
- A page and two commands — a nav item and a lazy route sharing one guard with the mount, plus
rocketflare example-feature pingand… notes list. - Its own tests — API, UI and config, discovered by the host, including the one that proves one organisation cannot read another’s notes.
- A skill —
example-feature, which walks your coding agent through the flag, the notes, the queued ping job and the signed public link, so you can see each slot work before you delete it.