---
title: Checklist
summary: What to check before you publish an extension.
audience: both
since: protocol 1
---

# Checklist

Go through this before you publish. Each item links to the page that explains it.

## Shape

- [ ] One folder with an entry file (`index.ts` or `index.tsx`) whose default export `{ manifest, View, actions }` satisfies `ExtensionModule`, and `npm run build:extensions` (in `apps/desktop`) builds it. ([Getting started](getting-started.md))
- [ ] The manifest goes through `defineExtension`, with a reverse-DNS id you own, a semver `version` bumped for this release, a `description` and a Lucide `icon`. ([Manifest](../reference/manifest.md))
- [ ] Every declared action has a handler (otherwise the tool fails with "… declares … but doesn't implement it"). ([Actions](../reference/host/actions.md))

## Self-contained

- [ ] No imports from other extension folders, no attempts to reach other extensions' storage, and no `data:<ns>:*` permissions (they grant nothing today). ([Self-contained](self-contained.md))
- [ ] No new npm packages, unless the package is the point of the extension. It builds in the [Studio](studio.md) too.
- [ ] The view imports nothing but the modules the frame provides, and uses `host.net`, `host.storage` and `host.shell` instead of `fetch`, `localStorage` and links.
- [ ] Permissions list only what the code uses. ([Permissions](../reference/permissions.md))

## The assistant

- [ ] Every kind of record the user sees is a collection, or is readable through an action. ([Giving the assistant your data](giving-the-assistant-data.md))
- [ ] Records are in collections; nothing list-shaped is kept in `host.storage`, which is for settings and small state up to 64 KB. ([Giving the assistant your data](giving-the-assistant-data.md#where-data-goes))
- [ ] The view reads and writes through `useCollection` / `host`, not a private store.
- [ ] Every collection, field and action has a description, and id fields say where the id comes from. ([Writing for the model](writing-for-the-model.md))
- [ ] The tool text is lean: the manifest's first sentence fits in about 100 characters, group-wide conventions are said once, nothing repeats the schema, and the tools average about 150 tokens each (a group near 3,000 tokens in all, more for a large integration that keeps that average). ([Clear but lean](writing-for-the-model.md#clear-but-lean))
- [ ] Outward-facing or destructive actions set `requiresApproval`; pure reads set `readOnly`.
- [ ] Errors say how to fix the call; results are small and true.
- [ ] `README.md` lists the assistant tools the extension adds.

## Routes

- [ ] The view keeps its pages (open record, folder, tab, sub-screen) in `useRoute`, not `useState`: clicking through it changes the address, Back and Forward step through it, and a reload reopens the same page. ([Getting started](getting-started.md#pages-and-routes))
- [ ] A route naming something that's gone (deleted record, removed folder) lands on a sensible page and fixes the address with `replace`, but only after the data has loaded.
- [ ] `README.md` has a "Routes" section listing the routes and what each opens.
- [ ] Search can find the extension's things: each collection has a `route` with `{id}`, or the manifest names a read-only `search` action whose results carry routes. That is also what lets people and the assistant add them to [Projects](../reference/projects.md). ([Being found in Search](search.md))

## Notifications and events

- [ ] If the extension sends notifications: every kind is declared in `notifications` with a title and description, `badge: false` on kinds that aren't waiting for the person, plain one-line text, a `target` the view handles with `useLinkTarget`, and `markRead` once the person has seen what a badged notification was about. ([Notifications and events](notifications-and-events.md))
- [ ] Things people would want to react to that collections don't already report are declared in `events` with descriptions and payload schemas, and emitted with a one-line `summary`.
- [ ] An extension that receives events claims each one before doing anything that must happen once.
- [ ] The README lists the notification kinds, what targets mean, and the events.

## Look

- [ ] Colors come from the design tokens (`bg-surface`, `text-muted`, …), nothing hard-coded, and the view works in light and dark. ([UI kit](../reference/ui.md))
- [ ] The root is `h-full` and scrolls inside; nothing has a fixed width, so it works at phone width.
