Review API Design

Review a Rust change's public contract from the diff and source: visibility and layering, semver cascade, constructors, builders and defaults, strong types and enums, trait implementability and sealing, macros as public API, and error type, message and panic conventions, including internal errors. Also owns dependency and feature checks. Use for downstream contracts, manifest or error-policy changes, or review-lens's public-surface pass. Complements review-public-api, which audits an existing surface from cargo public-api output without reading source. Not for runtime defects or naming style.

martintmk Updated

File contents

martintmk/copilot-skills/tree/main/plugins/copilot-skills/skills/review-api-design commit c3211ad5c5

Frequently asked questions

npx skillmds@latest add martintmk/review-api-design