---
title: "AI agents"
description: "Point your coding agent at these docs."
canonical_url: "https://kukson777.github.io/boneprint/docs/getting-started/ai-agents"
---
# AI agents

> Point your coding agent at these docs.

The module is easy to use from an AI coding agent: the props, slots and functions carry JSDoc, the slot's `data` is typed from your request, and this site serves its content in machine-readable form.

## llms.txt

<table>
<thead>
  <tr>
    <th>
      URL
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://kukson777.github.io/boneprint/llms.txt" rel="nofollow" target="_blank">
        <code>
          /llms.txt
        </code>
      </a>
    </td>
    
    <td>
      An index of every page with a short description.
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://kukson777.github.io/boneprint/llms-full.txt" rel="nofollow" target="_blank">
        <code>
          /llms-full.txt
        </code>
      </a>
    </td>
    
    <td>
      The whole documentation in one Markdown file.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        /raw/docs/<page>.md
      </code>
    </td>
    
    <td>
      Any page as Markdown, e.g. <a href="https://kukson777.github.io/boneprint/raw/docs/guide/states.md" rel="nofollow" target="_blank">
        <code>
          /raw/docs/guide/states.md
        </code>
      </a>
      
      .
    </td>
  </tr>
</tbody>
</table>

## A prompt that works

```md
Add boneprint to this app (docs: https://kukson777.github.io/boneprint/llms-full.txt).
Wrap the list in <file> in <Skeleton :of="..."> with a sample of typical text length,
add #empty and #error slots, and skip requests inside the slot where useInSkeleton() is true.
```

## The cheat sheet

- **Install:** `npm install boneprint`. Nuxt: `modules: ['boneprint/nuxt']`, everything auto-imported. Vue: `import { Skeleton } from 'boneprint'`, or `app.use(boneprint, options)`.
- **Wrap:** `<Skeleton :of="request" :sample>` with `#default="{ data }"`, `#empty` and `#error="{ error }"`. `request` is a `useFetch`, `useAsyncData` or TanStack Query result.
- **By hand:** `:data`, `:loading`, `:empty`, `:error` instead of or on top of `:of`.
- **Sample:** mirrors the response, with text of typical length. It only draws the first visit, after that the remembered shape is used.
- **Memory:** kept per `id`. Set one on a skeleton inside tabs or anything else that remounts; `forgetSkeletons()` on sign-out.
- **Slot runs twice:** once measured, once as content. Fetch outside `<Skeleton>`, or skip it where `useInSkeleton()` is `true`.
- **Steer:** `data-skeleton-block` (one block), `data-skeleton-skip` (left out), `#skeleton` slot with `<SkeletonBox>` for charts and canvases.
- **Style:** `--skeleton-*` CSS variables, see [Theming](https://kukson777.github.io/boneprint/docs/customization/theming).


## Sitemap

See the full [sitemap](https://kukson777.github.io/boneprint/sitemap.md) for all pages.
