nook
Browse the docs

Docs for AI

AI coding tools work better with small, accurate sources. Nook publishes four.

URLWhat it is
/llms.txtA short index of the docs, following the llms.txt convention
/llms-full.txtEverything in one file: concepts, CLI, every component with its props and accessibility notes
/r/index.jsonThe registry index, and /r/<name>.json for the full source of each item
/prompts/<name>.txtA 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.

FormUse it whenPlain text
With the CLIYour assistant can run commands in the project (an editor agent or a terminal agent)/prompts/<name>.txt
Source includedYou 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.txt when you ask it to build a screen with Nook.
  • Tell it to install components with nook add instead of writing them from memory.
  • Tell it to use semantic tokens (bg-primary, text-muted-foreground) and never raw colors.