# AGENTS.md

Rust-based platform for the Web

## Setup

```
cargo build
```

## Commands

```
cargo test   # run the test suite
```

## Layout

- `crates/`   33393 source files
- `bindings/` 69 source files

## Conventions

- Tests live alongside the code they cover, following `.github/swc-ecosystem-ci/tests/concurrently.ts`.
- CI defines what passing means. See `.github/workflows/CI.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `crates/swc/benches/assets/vue-id.ts` is 13772KB. 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.
