Contributing
Local setup, conventions, and the PR flow.
The canonical contributor guide lives in the repo at
CONTRIBUTING.md. Highlights:
Setup
bun install
bun run check # typecheck + lint + test (the CI gate)Conventions
- Errors:
neverthrowResult/ResultAsyncfor failable business logic. - Validation: Zod for all I/O; shared schemas in
@printr/sdk. - TSDoc: required on public SDK exports and
register*Toolfunctions. - Commits: Conventional Commits; no
Co-Authored-Bytrailers.
This page summarizes the canonical
CONTRIBUTING.md — defer to
the repo for the authoritative version.