> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quality

> The tools and checks that protect the quality of every change, locally and in CI.

> [!NOTE]
>
> This section is under construction. For now it summarizes the essentials.

| Tool | What it covers | Where it runs |
| - | - | - |
| **Biome** | Lint, formatting and imports | Pre-push hook and the CI static lane |
| **TypeScript** | Types for each project | Pre-push hook and the static lane |
| **Vitest** | Unit tests with coverage thresholds | Pre-push hook (affected projects) and the test lane |
| **Playwright** | E2E tests for the apps | The CI E2E lane |
| **commitlint** | Commit messages and PR titles | `commit-msg` hook and the **Validate PR Title** check |
| **Initiative policy** | Declared initiative, tracker and documentation | Pre-push hook and the **Initiative declared** check |
| **AI reviews** | Initiative, code and release | PR checks, through the **Review gate** |

## Useful commands

```bash theme={null}
pnpm check         # Biome: lint, formatting and imports
pnpm check-types   # types across the whole monorepo
pnpm test          # unit tests
pnpm test:e2e      # E2E tests
pnpm docs:check    # documentation and initiatives
```

See also [CI and cost per PR](https://docs.bbrands.io/bbrands-lab/pull-requests/ci-cost.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.