# AGENTS.md

🎥      Make videos programmatically with React

## Setup

```
bun install
```

## Commands

```
bun build        # produce a build
bun test         # run the test suite, must pass before any commit
bun format       # format
bun ts-build
bun stylecheck
bun formatting
bun build-docs
bun testssr
```

## Layout

- `packages/` 9022 source files
- `scripts/`  1 source file

## Conventions

- Tests live alongside the code they cover, following `.github/scripts/ci.test.ts`.
- 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/changelog.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/lambda/src/test/integration/renders/old-version-bundle/bundle.js` is 2300KB. It will not fit comfortably in context, so read it in parts.

---

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.
