---
title: Coding & Docs Guidelines
---
# Coding & Docs Guidelines
Code
- Follow TypeScript strictness and ESLint rules.
- Prefer TSDoc comments for public APIs with `@example` where useful.
- Keep modules cohesive and avoid unrelated changes.
Docs
- Write in Markdown under `/docs`.
- Add pages to VitePress sidebar via `.vitepress/config.ts`.
- For API docs, rely on TypeDoc output under `/docs/api/reference`.