code-review
Installation
SKILL.md
code-review
Review code changes following pplx-sdk project standards and the layered architecture.
When to use
Use this skill when reviewing pull requests or code changes in the pplx-sdk repository to ensure compliance with project conventions.
Instructions
- Check architecture layer compliance: Verify imports respect
core → shared → transport/domain → clientdependency flow. No circular imports allowed. - Verify type safety: All functions must have complete type annotations. Use
from __future__ import annotationsat the top of every module. - Validate error handling: Custom exceptions from
pplx_sdk.core.exceptionsmust be used — never bareException. Chain exceptions withfrom exc. - Review docstrings: Google-style docstrings required on all public classes and methods, including Args, Returns, Raises sections.
- Check test coverage: Tests follow Arrange-Act-Assert pattern with descriptive names (
test_<module>_<behavior>). - Inspect Pydantic models: Domain models use Pydantic v2
BaseModelwithField()descriptions. - Verify transport protocol: Transport implementations conform to the
Transportprotocol frompplx_sdk.core.protocols.