# Introduction

> What Driftless is, and how it keeps docs in step with code.

Driftless is an open-source docs site with agent skills. Your coding agent writes pages from your code and updates them from each pull request. It also keeps draw.io diagrams, screenshots and clips current. You review every change.

<CardGroup>
  <Card title="Set up your site" href="/setup" icon="settings">Create the site in your app repo or a repo of its own, and name it.</Card>
  <Card title="Install the skills" href="/skills" icon="sparkles">Add the skills to Claude Code, Codex or another agent.</Card>
</CardGroup>

## How it works

Each docs page lists the product files it describes. The agent that builds a feature also updates the pages that the feature changes, in the same session. If the docs are in your app repo, the docs change goes in the same pull request. If they are in a repo of their own, the agent drafts a linked docs pull request. On each pull request, a check lists the pages to review. A weekly check finds anything that slipped through.

<Diagram name="docs-loop" alt="A product pull request goes to the docs-update skill, which opens a docs pull request. The docs pull request builds the docs site. Each week a drift check compares written pages with the product code and opens an issue for pages to review." caption="How Driftless keeps docs current" />

## What you get

| Part | What it does |
|---|---|
| Static site | Astro and MDX, with search, light and dark themes, versions and an API reference. |
| Source map | Links each page to the product files it describes. |
| Drift checks | Lists pages that a change can make out of date, on each pull request and each week. |
| Diagrams | Editable draw.io files that the agent updates in place. |
| Screenshots and clips | Captured by a script from seeded demo data, in light and dark. |
| Agent skills | `driftless-init`, `docs-update`, `docs-diagram` and `docs-capture`. |

Driftless has no telemetry and no hosted service. The site is static files on any host.

## Limits

The drift check compares file paths. A changed file means that a page can be out of date. It does not prove that the page is wrong. A person or an agent still reads the page and the change.

These docs are built with Driftless, in a repo of their own, and they describe the Driftless repo. The same drift checks keep them current.
