Guidance for the automated Claude PR reviewer (.github/workflows/claude-review.yml).
- [Critical] — bug, a backward-incompatible change to the public API, or a type error.
- [Important] — a real problem to fix before merge.
- [Nit] — minor/style. Skip what
ruffalready enforces.
- Backward compatibility — public classes/functions/kwargs are a published contract (PyPI is immutable). Flag any breaking change.
- Types — passes
pyright; accurate annotations; noAnyleakage in public signatures. - httpx / pydantic — correct async/sync usage, error handling, model validation.
- API parity — the SDK matches the documented SharpAPI surface (endpoints, params, response models).
- Don't flag pre-existing code this PR didn't touch.
- You MAY run
ruff check/pyrightto confirm a concern; otherwise don't speculate — citefile:lineor omit. "LGTM" is valid.