# AGENTS.md

Stable Diffusion web UI

## Setup

```
pip install -r requirements.txt
```

## Commands

```
python lint   # lint
python fix
```

## Layout

- `modules/`            152 source files
- `extensions-builtin/` 42 source files
- `javascript/`         25 source files
- `scripts/`            12 source files
- `test/`               8 source files

## Conventions

- Tests live alongside the code they cover, following `requirements-test.txt`.
- CI defines what passing means. See `.github/workflows/on_pull_request.yaml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- No lockfile is committed, so an install here may not match what CI produced.

---

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.
