# Developer documentation

LLMS index: [llms.txt](/docs/llms.txt)

---

How Xue is built, tested, published and released. For using the data, start
at the [README](../../README.md); for contribution rules, at
[CONTRIBUTING.md](../../CONTRIBUTING.md). Also published at
<https://xue.ringsaturn.me/docs/dev/>.

| File | What it covers |
|---|---|
| [architecture.md](architecture.md) | The three implementations, the delivery contract, container and metadata versions |
| [architecture-rationale.md](architecture-rationale.md) | Why the format looks like this: the size comparison, container vs store |
| [pipeline.md](pipeline.md) | The Python encoder (`xuebuild/`): registries, conversion, assembly |
| [sources.md](sources.md) | Engineering notes per source: fetch stages, grids, quirks |
| [delivery.md](delivery.md) | Zarr stores, the STAC catalog, the data API, R2 uploads |
| [api-origin.md](api-origin.md) | The data API on a self-hosted origin behind a Cloudflare Tunnel |
| [frontend.md](frontend.md) | The shell (`web/src/`): sessions, layers, rail, probe, compare page |
| [building-on-xue.md](building-on-xue.md) | A site of your own on the shell: pinning, the Vite config, build-time variables, the data root, the overlay module |
| [point-products.md](point-products.md) | Tropical cyclones, airports, soundings and the station marks |
| [setup.md](setup.md) | Requirements and building a run locally |
| [testing.md](testing.md) | Test commands, what each suite holds, CI |
| [publishing.md](publishing.md) | Uploading runs, rolling windows, point products, STAC, showcase |
| [releasing.md](releasing.md) | Crate and wheel releases, the `xuepy` floor, deploy order |

Normative specifications ([`docs/README.md`](../README.md) lists them all,
with the versions in use and the compatibility rules), which win over
anything here:

- [`docs/zarr-profile.md`](../zarr-profile.md): the Zarr store profile
- [`docs/bundle.md`](../bundle.md): bundle metadata and codebooks
- [`docs/format.md`](../format.md): the legacy `.xue` container
- [`docs/encoder.md`](../encoder.md): the native encoder and its parity rule
- [`docs/stac.md`](../stac.md): the STAC catalog
- [`docs/satellite.md`](../satellite.md): the satellite fetch stage and producers
- [`docs/api.md`](../api.md): the data API contract (its origin: [api-origin.md](api-origin.md))
- [`docs/river.md`](../river.md): river flow in a showcase case
- [`docs/tc.md`](../tc.md), [`docs/airport.md`](../airport.md),
  [`docs/sounding.md`](../sounding.md): the point products

Rules for coding agents are in [`AGENTS.md`](../../AGENTS.md) and
`.claude/rules/`; agent skills are in `.agents/skills/`.

---

Section pages:

- [Architecture]()
- [Architecture](/docs/dev/architecture/)
- [Why the format looks like this](/docs/dev/architecture-rationale/)
- [Encoder]()
- [Encoder pipeline (`xuebuild/`)](/docs/dev/pipeline/)
- [Sources](/docs/dev/sources/)
- [Point products](/docs/dev/point-products/)
- [Frontend]()
- [Frontend](/docs/dev/frontend/)
- [Building a site on Xue](/docs/dev/building-on-xue/)
- [Delivery]()
- [Delivery: stores, catalog, API, uploads](/docs/dev/delivery/)
- [Publishing](/docs/dev/publishing/)
- [The data API on a self-hosted origin](/docs/dev/api-origin/)
- [Releasing](/docs/dev/releasing/)
- [Working locally]()
- [Setup and local builds](/docs/dev/setup/)
- [Testing](/docs/dev/testing/)
