---
title: "Build with a coding agent"
description: "Hand a nuxt-backend app to a coding agent: the one-paste install, the skills it reads first, keeping them on the installed version, and how the agent checks its own work."
canonical_url: "https://nuxt-backend.dev/docs/develop/agents"
---
# Build with a coding agent

> Hand a nuxt-backend app to a coding agent: the one-paste install, the skills it reads first, keeping them on the installed version, and how the agent checks its own work.

Version: nuxt-backend 0.6.x · Tab: Develop · 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)

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

A coding agent such as Claude Code, Codex, Cursor or Copilot builds a `nuxt-backend` app well once it knows the app's rules: the neutral names, the scaffold contract, the CLI and the env. The package hands it those rules, and the tools to check its own work.

- **What powers it natively:** the [skills CLI](https://skills.sh), which installs skills where most agents read them (`.agents/skills/`), and the [Model Context Protocol](https://modelcontextprotocol.io) (MCP), which any agent client speaks.
- **What the package adds:** agent skills shipped inside the package and generated from its code, the agent files `init` writes, their checks in `doctor`, and these docs as Markdown and over MCP.

## What an agent gets

<table>
<thead>
  <tr>
    <th>
      Piece
    </th>
    
    <th>
      What it gives the agent
    </th>
    
    <th>
      How it arrives
    </th>
    
    <th>
      Page
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Agent skills
    </td>
    
    <td>
      A core skill with the ground rules, and a task skill per part of the app
    </td>
    
    <td>
      Inside the package, copied into the project by <code>
        init
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/skills">
        Agent skills
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Agent files
    </td>
    
    <td>
      An <code>
        AGENTS.md
      </code>
      
       section, an MCP server in <code>
        .mcp.json
      </code>
      
      , and the skill copies
    </td>
    
    <td>
      <code>
        npx nuxt-backend init
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/agent-files">
        Agent files
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Docs as Markdown
    </td>
    
    <td>
      Every page as a Markdown twin, <code>
        /llms.txt
      </code>
      
      , <code>
        /sitemap.md
      </code>
      
      , the public names and the rename map
    </td>
    
    <td>
      This site
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/docs-for-agents">
        Docs for agents
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Docs MCP
    </td>
    
    <td>
      Search, every page, and lookups of findings, env names, composables and components
    </td>
    
    <td>
      <code>
        https://mcp.nuxt-backend.dev/mcp
      </code>
      
      , with no sign-in
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/docs-mcp">
        Docs MCP
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Developer MCP server
    </td>
    
    <td>
      <code>
        doctor
      </code>
      
      , the capabilities, the env, the catalog and the functions, the docs, and the Convex, Polar, Resend and Vercel consoles
    </td>
    
    <td>
      A command of the CLI, which <code>
        init
      </code>
      
       wires into <code>
        .mcp.json
      </code>
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/developer-mcp">
        Developer MCP server
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Agent plugin
    </td>
    
    <td>
      The skills and both MCP servers in one install
    </td>
    
    <td>
      Claude Code's plugin manager
    </td>
    
    <td>
      <a href="https://nuxt-backend.dev/docs/develop/agents/plugin">
        Agent plugin
      </a>
    </td>
  </tr>
</tbody>
</table>

The [Feature map](https://nuxt-backend.dev/docs/start/feature-map#developer-tools) lists each piece with its status.

## Install through the agent

The [Installation](https://nuxt-backend.dev/docs/start/installation#install) page holds the prompt: paste it into your agent, or open it in one from the links under it. The agent installs the package's core skill with the skills CLI, then follows the skill's install guide:

- it adds the package to the app you have, or creates one from the [starter](https://nuxt-backend.dev/docs/start/templates#starter);
- it starts the app on a local deployment that needs no account, and checks that the app serves `/login`;
- it asks before it logs in to Convex, changes anything in your accounts or puts a provider key in the project, and it never prints or replaces `AUTH_SECRET`;
- `init` then adds the task skills of the installed version beside the core, and the other [agent files](https://nuxt-backend.dev/docs/develop/agents/agent-files).

## The agent skills

The guidance comes as one small core skill and a task skill per feature. The core holds the rules every task follows and routes to the task skill a change needs; each task skill lists its docs pages and the API each one uses. They ship in the package, so every app already has them at `node_modules/nuxt-backend/skills/`, for exactly the version installed.

[Agent skills](https://nuxt-backend.dev/docs/develop/agents/skills) lists every skill, what each holds in `references/`, and how to install them outside an app.

## Keep them on your version

An app's skills should describe the version it runs, not the newest one:

- The `AGENTS.md` section `init` writes points agents at the skills inside `node_modules`, the core first, and names the installed version.
- After [`npx nuxt-backend upgrade`](https://nuxt-backend.dev/docs/reference/cli#upgrade), run `npx nuxt-backend init --agents`: it rewrites the section for the new version and refreshes the skill copies. The upgrade's own next steps list it.
- `doctor` warns with [`agent-files`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#agent-files) while the section names another version, or a skill copy differs from the installed one.
- Skills you installed with the skills CLI are recorded in the project's `skills-lock.json` and left to that CLI: reinstall the installed version's with `npx skills add ./node_modules/nuxt-backend/skills --skill '*' -y`.

## Let the agent check its work

- **npx nuxt-backend doctor --json** prints every finding with its fix, as one JSON document ([its schema](https://nuxt-backend.dev/schemas/doctor.json)). Each finding's short link, `/d/<id>`, opens its entry on [Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics).
- **Sign in without a mailbox.** On a dev deployment, an agent requests a code for `delivered+agent@resend.dev` and reads it with `npx nuxt-backend inbox delivered+agent@resend.dev --json` ([Read test mail in the dev inbox](https://nuxt-backend.dev/docs/develop/dev-inbox)).
- **Run the tests.** The function and page tests need no deployment, so an agent runs them after every change ([Test your app](https://nuxt-backend.dev/docs/develop/testing)).
- **Read the deployment, not a guess.** The [developer MCP server](https://nuxt-backend.dev/docs/develop/agents/developer-mcp) `init` adds to `.mcp.json` answers `doctor`, each capability's state and the env names, reads the tables, functions and logs through Convex's own tools, and reads your billing, email and hosting accounts.
- **Read the docs as Markdown**: [`/llms.txt`](https://nuxt-backend.dev/llms.txt), a twin of every page, or the [docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp).

The [agent plugin](https://nuxt-backend.dev/docs/develop/agents/plugin) installs the developer MCP server, the docs MCP and the skills in Claude Code in one step.

## How an agent builds an app

1. **It installs the package from one prompt**, and runs the app on a dev deployment.
2. **It reads the rules first.** The `AGENTS.md` section points it at the core skill inside `node_modules`, and the core names the task skill each change needs.
3. **It looks things up instead of guessing.** A page's Markdown twin, the docs MCP, or the public-surface manifest tells it whether a name exists before it writes one.
4. **It checks its own work** with `doctor --json`, the tests and the dev inbox.
5. **It asks before it touches your accounts.** The skills and the developer server confirm with you before anything logs in to a provider, writes to it, or puts a key in the project.

## In this section

<card-group>
<card icon="i-lucide-book-open" title="Agent skills" to="https://nuxt-backend.dev/docs/develop/agents/skills">

The core skill and the task skills it routes to, what each holds, and how to install them outside an app.

</card>

<card icon="i-lucide-file-cog" title="Agent files" to="https://nuxt-backend.dev/docs/develop/agents/agent-files">

What `init` writes for agents: the `AGENTS.md` section, `.mcp.json` and the skill copies.

</card>

<card icon="i-lucide-terminal" title="Developer MCP server" to="https://nuxt-backend.dev/docs/develop/agents/developer-mcp">

One server for your project's state, the docs, and the Convex, Polar, Resend and Vercel consoles, with writes confirmed by you.

</card>

<card icon="i-lucide-file-text" title="Docs for agents" to="https://nuxt-backend.dev/docs/develop/agents/docs-for-agents">

Every page as Markdown, `/llms.txt`, `/sitemap.md`, the skills, the public-surface manifest and the rename map.

</card>

<card icon="i-lucide-search" title="Docs MCP" to="https://nuxt-backend.dev/docs/develop/agents/docs-mcp">

These docs as read-only MCP tools at `mcp.nuxt-backend.dev`, with no sign-in.

</card>

<card icon="i-lucide-package" title="Agent plugin" to="https://nuxt-backend.dev/docs/develop/agents/plugin">

The skills and both MCP servers in one install for Claude Code.

</card>

<card icon="i-lucide-milestone" title="MCP endpoint for your users' agents" to="https://nuxt-backend.dev/docs/develop/agents/mcp">

Why the package ships no `/mcp` for your users' agents, and what to build until a later release brings it.

</card>
</card-group>

## Not covered here

- **AI features your app sells.** Metered model calls, jobs and chat are in [AI](https://nuxt-backend.dev/docs/build/ai).
- **Agents that use your app as a person.** An MCP endpoint your users' agents sign in to waits for a later release: see the [Roadmap](https://nuxt-backend.dev/docs/start/roadmap#service-app-features).
- **API keys.** The package issues none ([Principles](https://nuxt-backend.dev/docs/start/concepts/principles)).
- **The docs site's Ask AI.** It answers readers of these docs from the docs MCP, and shares no key, model or credits with your app.

## Related

- [Agent skills](https://nuxt-backend.dev/docs/develop/agents/skills): every skill and what it holds.
- [Agent files](https://nuxt-backend.dev/docs/develop/agents/agent-files): what `init` writes for agents, and how it merges into files you have.
- [Docs for agents](https://nuxt-backend.dev/docs/develop/agents/docs-for-agents): everything this site serves to agents.
- [Diagnose your setup with doctor](https://nuxt-backend.dev/docs/develop/doctor): the checks the agent runs.
- [Upgrade to a new version](https://nuxt-backend.dev/docs/ship/releases/upgrade): the edit each release since `0.2.0` asks for, with the names the upgrade skill carries.


## Sitemap

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