Browse the docs
Docs for AI
AI coding tools work better with small, accurate sources. Nook publishes four.
| URL | What it is |
|---|---|
/llms.txt | A short index of the docs, following the llms.txt convention |
/llms-full.txt | Everything in one file: concepts, CLI, every component with its props and accessibility notes |
/r/index.json | The registry index, and /r/<name>.json for the full source of each item |
/prompts/<name>.txt | A ready prompt for one component or block, for example /prompts/button.txt |
Prompts you can paste
Every component and every block has a Copy prompt button. Paste the prompt into your assistant and it adds that exact item, the same way the CLI does, then uses it where you ask. Nothing is written from memory, so you get the same code every time.
Each prompt comes in two forms.
| Form | Use it when | Plain text |
|---|---|---|
| With the CLI | Your assistant can run commands in the project (an editor agent or a terminal agent) | /prompts/<name>.txt |
| Source included | You are in a chat tool that cannot run commands or open links | /prompts/<name>.source.txt |
After pasting, add what you want in your own words, for example: "Use it for the sign in page at app/login/page.tsx and call signIn on submit."
MCP server and skill
For assistants that support them, the MCP server and skill do this work for you: the assistant searches Nook, reads how an item is used and adds it with the CLI.
Tips
- Point your tool at
/llms-full.txtwhen you ask it to build a screen with Nook. - Tell it to install components with
nook addinstead of writing them from memory. - Tell it to use semantic tokens (
bg-primary,text-muted-foreground) and never raw colors.