# AGENTS.md

Fast, accurate & comprehensive text measurement & layout

## Setup

```
bun install
```

## Commands

```
bun start                       # run the app
bun check                       # lint and type check
bun accuracy-check
bun accuracy-check:firefox
bun accuracy-check:safari
bun accuracy-snapshot
bun accuracy-snapshot:firefox
bun accuracy-snapshot:safari
```

## Layout

- `pages/`   25 source files
- `scripts/` 18 source files
- `src/`     11 source files
- `shared/`  1 source file

## Conventions

- Tests live alongside the code they cover, following `pages/emoji-test.html`.
- TypeScript runs in strict mode. Type errors are the fastest feedback available, so do not weaken it.
- CI defines what passing means. See `.github/workflows/pages.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
