Build
Agent setup prompts
leadtype init scaffolds the common case — a greenfield app with a local
docs/ folder. But docs often live elsewhere: another repository pulled in
via collections, an existing site with its
own structure, or a Fumadocs app. For those, hand a coding agent one of the
prompts below. The agent reads your actual layout and wires Leadtype to fit,
instead of dropping in a fixed file tree.
When to use which:
- Local docs, fresh app → run
leadtype init --framework <fw>. Fastest, no agent needed. - Local docs, existing app with custom structure → the Wire into an app prompt.
- Docs in another repo / multi-repo → the External docs prompt (
initdoes not fit — it scaffolds a local folder). - Shipping docs inside an npm package → the Bundle for a package prompt.