> ## Documentation Index
> Fetch the complete documentation index at: https://kagi.micr.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Development

> Build, test, and maintain *kagi* from a source checkout.

# Development

## Local build

```bash theme={null}
cargo build --release
cargo run -- --help
```

## Tests

```bash theme={null}
cargo test -q
```

Optional checks:

```bash theme={null}
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
```

## Repo notes

* core Rust implementation lives under `src/`
* release installers live under `scripts/`
* npm wrapper lives under `npm/`
* recorded demo assets and regeneration notes live in the existing repo docs material

## Documentation maintenance

When user-facing behavior changes:

* update the Mintlify pages in this repo
* update the README if it still serves as a high-level landing page
* keep `docs/llms.txt` and `docs/skill.md` aligned with the public docs surface
* keep examples aligned with the current `kagi --help` output
* keep removed or deferred features out of the public docs surface
