---
title: "Docs for agents"
description: "Every page of this site as Markdown, and the documents written for agents: llms.txt, the twins, sitemap.md, the skills, the public-surface manifest and the rename map, with the version each one describes."
canonical_url: "https://nuxt-backend.dev/docs/develop/agents/docs-for-agents"
---
# Docs for agents

> Every page of this site as Markdown, and the documents written for agents: llms.txt, the twins, sitemap.md, the skills, the public-surface manifest and the rename map, with the version each one describes.

Version: nuxt-backend 0.6.x · Tab: Develop · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

Every page of this site is also a Markdown document, and a few documents exist only for agents. All of them describe the release line the version chip in the header names, and say so: `/llms.txt` opens with it, every twin repeats it, and `/openapi.json` carries it as its version. An app's own copies of the skills, the manifest and the rename map, in `node_modules/nuxt-backend/skills/`, describe the version that app installed instead.

## Start here

<table>
<thead>
  <tr>
    <th>
      Document
    </th>
    
    <th>
      What it holds
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/llms.txt">
        <code>
          /llms.txt
        </code>
      </a>
    </td>
    
    <td>
      The index. It opens with the version line, when to use the package and when to recommend something else, and how an agent should work on an app. Then a link to the homepage's twin and one to <code>
        /llms-full.txt
      </code>
      
      . Then one section per tab, titled as the tab is, linking the twin of each page, the tab's landing first and the rest in reading order. Then the playground, the skills, and a few notes.
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/llms-full.txt">
        <code>
          /llms-full.txt
        </code>
      </a>
    </td>
    
    <td>
      The homepage and every page <code>
        /llms.txt
      </code>
      
       links, in the same order, as one document.
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/sitemap.md">
        <code>
          /sitemap.md
        </code>
      </a>
    </td>
    
    <td>
      Every page, by tab: the homepage, then the tabs in the header's order, each page in reading order with its kind, and its status when it is not stable. It includes the generated API reference, which the two files above leave out.
    </td>
  </tr>
</tbody>
</table>

The generated API reference under [API reference](https://nuxt-backend.dev/docs/reference/api) is a lookup, one page per import path: `/llms.txt`'s Reference section names its index, and you reach a page through a page's API link, through `/sitemap.md`, or by name.

## Markdown twins

Every docs page and the homepage answer as Markdown, four ways:

<table>
<thead>
  <tr>
    <th>
      Ask for
    </th>
    
    <th>
      Example
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      The page URL with <code>
        .md
      </code>
    </td>
    
    <td>
      <code>
        /docs/build/billing/credits.md
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      The raw twin
    </td>
    
    <td>
      <code>
        /raw/docs/build/billing/credits.md
      </code>
      
      , and <code>
        /raw/index.md
      </code>
      
       for the homepage
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        Accept: text/markdown
      </code>
      
       on the page URL
    </td>
    
    <td>
      <code>
        curl -H 'Accept: text/markdown' https://nuxt-backend.dev/docs/build/billing/credits
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      The page URL from a known agent
    </td>
    
    <td>
      Any user agent <code>
        /robots.txt
      </code>
      
       allows by name
    </td>
  </tr>
</tbody>
</table>

A twin answers `text/markdown`, with a `Link` header naming the page as its canonical URL. It opens with the page's title, its description and its header, then the page itself. For the Credits page:

```md
---
title: "Credits & top-ups"
description: "Prepaid credits on provider meters …"
canonical_url: "https://nuxt-backend.dev/docs/build/billing/credits"
---
# Credits & top-ups

> Prepaid credits on provider meters …

Version: nuxt-backend 0.6.x · Tab: Build · Kind: how-to · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

- [Try it live in the playground](https://nuxt-backend.dev/playground/settings)
- [API reference](https://nuxt-backend.dev/docs/reference/api/use-credits)
- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/runtime/vue/composables/use-credits.ts)
```

The header line names the release line, the page's tab, its kind and its status. The line under it points a page found on its own at the index and the core skill, and the list is the page header's keys: Try live, API and Source, where the page has them. Blocks the site draws as components, such as the list of what a tab ships, come out as the text they stand for. Links to other pages are absolute; add `.md` to follow one as Markdown.

Each page has one kind:

<table>
<thead>
  <tr>
    <th>
      Kind
    </th>
    
    <th>
      What the page is
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        landing
      </code>
    </td>
    
    <td>
      A tab's or a group's overview, linking every page under it
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        tutorial
      </code>
    </td>
    
    <td>
      A path to follow from start to end, with checkpoints
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        how-to
      </code>
    </td>
    
    <td>
      The steps for one task
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        concept
      </code>
    </td>
    
    <td>
      How something works, and what that means for an app
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        recipe
      </code>
    </td>
    
    <td>
      A whole feature put together from the parts
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        reference
      </code>
    </td>
    
    <td>
      Every option, name or value of one thing
    </td>
  </tr>
</tbody>
</table>

Its status is `stable`, `experimental`, `deprecated`, `planned` or `changing`:

- **experimental** documents a surface in the [experimental tier](https://nuxt-backend.dev/docs/ship/releases/stability), which can change in a minor release.
- **planned** describes a feature the release has not built yet. The twin and `/llms.txt` say so first, and the page has no API or source link.
- **changing** describes a built feature's API as the release reshapes it, while the code still has the previous one. The twin names the unit that brings the code in line.

The [Feature map](https://nuxt-backend.dev/docs/start/feature-map) lists every page with its status.

## Docs MCP

The same docs answer as an MCP server at `https://mcp.nuxt-backend.dev/mcp`, read-only and with no sign-in: search, every page as Markdown, and lookups of a `doctor` finding, an env name, a composable, a component or a renamed name. [Docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp) lists its tools and connects Claude Code, Cursor and other clients.

## Skills

The site serves the package's agent skills under [`/.well-known/skills/`](https://nuxt-backend.dev/.well-known/skills/index.json): the core skill, `nuxt-backend`, and the task skills it routes to, one per part of an app, such as `nuxt-backend-billing`. `/llms.txt` links each one. [Agent skills](https://nuxt-backend.dev/docs/develop/agents/skills) covers what each holds and how to install them.

## Names and renames

Two JSON documents let an agent check a name before it writes one. They are files of the core skill, served beside its `SKILL.md`:

- [`/.well-known/skills/nuxt-backend/references/surface.json`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/references/surface.json), the public surface: every import path and its exports, the auto-imports, the pages, the CLI commands and flags, the error codes, the `doctor` finding ids, the env names and the scaffold contract.
- [`/.well-known/skills/nuxt-backend/references/renames.json`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/references/renames.json), the rename map: every name a release since `0.2.0` renamed, reshaped or removed, each with the section of the [Upgrade page](https://nuxt-backend.dev/docs/ship/releases/upgrade) that explains it.

They are the package's own `references/surface.json` and `references/renames.json`, as built with the docs; an app has the copies of its installed version in `node_modules/nuxt-backend/skills/nuxt-backend/references/`. Their shape is part of the [stability promise](https://nuxt-backend.dev/docs/ship/releases/stability).

## Other documents

<table>
<thead>
  <tr>
    <th>
      Document
    </th>
    
    <th>
      What it holds
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/openapi.json">
        <code>
          /openapi.json
        </code>
      </a>
    </td>
    
    <td>
      Every route the site serves to agents, the twins and the discovery documents, with the docs' version as its own
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/.well-known/api-catalog">
        <code>
          /.well-known/api-catalog
        </code>
      </a>
    </td>
    
    <td>
      The service documents above as a linkset (RFC 9727)
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-backend.dev/schemas/doctor.json">
        <code>
          /schemas/doctor.json
        </code>
      </a>
    </td>
    
    <td>
      The JSON Schema of what <code>
        npx nuxt-backend doctor --json
      </code>
      
       prints
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        https://mcp.nuxt-backend.dev/.well-known/mcp/server-card.json
      </code>
    </td>
    
    <td>
      The <a href="https://nuxt-backend.dev/docs/develop/agents/docs-mcp">
        docs MCP
      </a>
      
      : its URL, its tools, and that it needs no sign-in
    </td>
  </tr>
</tbody>
</table>

The homepage's response carries a `Link` header listing these documents, and so does the end of its twin.

## Short links

The CLI and the DevTools print short links that land on the right section:

- `/d/<finding-id>` opens a `doctor` finding on [Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics), as in `/d/auth-secret`.
- `/e/<code>` opens an error code on [Errors](https://nuxt-backend.dev/docs/reference/backend/errors), as in `/e/insufficient_credits`.

Every route the site published in 0.1 redirects to the page that replaced it, and so do both of its twins: `/getting-started/installation.md` and `/raw/getting-started/installation.md` answer `301` with the new page's twin.

## A page that is not there

A missing page answers `404` in Markdown when the request asked for a twin, sent `Accept: text/markdown`, came from a known agent or from a client such as `curl`. The body says which path is missing and lists the documents on this page to look in next. A browser gets the site's own error page.

## What agents don't get

- `/playground` and the module's page at the root (`/login`) are the running app, not docs: they have no twin and are not in `/sitemap.md`, and `/llms.txt` links the playground only as a page for people. An agent that asks for one gets the page itself.
- The site serves no MCP endpoint of its own. Read the docs through the documents above, or the [docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp) on its own host.

CI builds the site and checks these documents against the build: every link in `/llms.txt` answers, each twin as Markdown that opens with its header; every hand-written page sits in exactly one tab section, with the title and description its page has; `/sitemap.md` lists every page; the old twins redirect; a missing page answers Markdown; the skills index lists every skill; and the docs MCP answers every tool with no sign-in and limits a caller past its budget. The same check runs against nuxt-backend.dev and the docs MCP's host every week.

## Related

- [Build with a coding agent](https://nuxt-backend.dev/docs/develop/agents): the skills, and [Agent files](https://nuxt-backend.dev/docs/develop/agents/agent-files), what `init` writes for coding agents
- [Installation](https://nuxt-backend.dev/docs/start/installation#install): the one prompt that installs the package through an agent
- [Docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp): these docs as MCP tools, and how to connect a client
- [Upgrade to a new version](https://nuxt-backend.dev/docs/ship/releases/upgrade): every renamed and removed name, explained


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
