CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
---
|
|
name: api-review
|
|
description: Use when reviewing HTTP or RPC endpoint, request handling, serialization, schema, or API contract changes for correctness, security, and client compatibility.
|
|
---
|
|
|
|
# API Review
|
|
|
|
Use when reviewing an HTTP or RPC API contract, endpoint, serializer, or request-handling change.
|
|
|
|
Load and follow `rules-security-api` and `rules-security-auth` for validation, limits, authentication, authorization, and resource ownership. This skill adds only contract and compatibility checks.
|
|
|
|
## Review
|
|
|
|
- Compare request and response schemas, status codes, error shapes, pagination, identifiers, and nullability with existing consumers and published contracts.
|
|
- Classify each contract change as additive, deprecating, or breaking. A breaking change (removed or renamed fields, new required inputs, changed types, status codes, or semantics) needs a new version or an agreed migration path, and is at least important.
|
|
- Consider older clients, retries, idempotency, concurrency, and versioning when they affect the endpoint.
|
|
- Check serialization defaults, content types, and generated client or schema updates.
|
|
- Confirm documentation and examples match actual behavior.
|
|
|
|
Report findings in the `review-pull-request` finding schema and severity scale. Put the triggering request in the condition field and the consumer impact in the impact field.
|