Skip to main content

1. Broad wiki for the whole project

If you initialized Davia with your coding agent (for example davia init --agent=cursor), the agent already knows it should use Davia to generate the wiki.
In that case, even a very broad prompt like this will work:
Your agent will use its tooling to scan the project, generate an initial wiki, and create interactive docs and whiteboards.
If you did not run davia init —agent=<your-agent>, make sure your prompt explicitly mentions Davia and that you want a local wiki. For example: Use Davia to generate a local wiki that documents this project.

2. Focused wiki for a specific part (e.g. schemas)

You can also guide your agent to document only a specific area of the codebase and structure the output in a particular way.
For example, to document only your schemas/classes and organize them in a table:
This kind of prompt narrows the scope and gives your agent a clear output structure, resulting in a more targeted, immediately useful wiki page.

3. API spec wiki with custom components

You can also ask your agent to use custom UI components when generating documentation.
For example, to turn an API spec into a browsable gallery of endpoints using your own card and modal components:
Behind the scenes, Davia’s custom bundler lets your agent wire these prompts into real components, so your API documentation becomes an interactive interface instead of a static list.

4. Authentication flow architecture diagram

You can also use Davia to generate clean architecture diagrams for critical flows like authentication:
Your agent will produce a visual, end‑to‑end diagram of the auth flow (client, API server, auth service, and database), which you can refine directly in Davia’s interactive canvas.