# AGENTS.md

An AI prompt optimizer for writing better prompts and getting better AI results.

## Setup

```
pnpm install
```

## Commands

```
pnpm dev              # run locally
pnpm build            # produce a build
pnpm test             # run the test suite, must pass before any commit
pnpm lint             # lint
pnpm build:core
pnpm build:ui
pnpm build:parallel
pnpm build:web
```

## Layout

- `packages/` 1012 source files
- `tests/`    41 source files
- `scripts/`  19 source files
- `docker/`   3 source files
- `api/`      1 source file
- `site/`     1 source file

## Conventions

- Tests live alongside the code they cover, following `docs/superpowers/specs/2026-03-31-reference-image-dialog-redesign-design.md`.
- CI defines what passing means. See `.github/workflows/docker.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/ui/src/components/image-mode/ImageText2ImageWorkspace.vue` is 129KB. 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.
