feat(skills): reworked skills and rules
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
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
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -7,15 +7,14 @@ description: Use when reviewing HTTP or RPC endpoint, request handling, serializ
|
||||
|
||||
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
|
||||
|
||||
- Trace the request from routing through authentication, authorization, validation, business logic, and persistence. Check tenant or resource ownership at the point data is accessed.
|
||||
- Compare request and response schemas, status codes, error shapes, pagination, identifiers, and nullability with existing consumers and published contracts.
|
||||
- Check malformed, missing, oversized, duplicated, and unauthorized input where relevant. Ensure validation errors do not disclose sensitive data.
|
||||
- Consider compatibility for older clients, retries, idempotency, concurrency, and versioning when those affect the endpoint.
|
||||
- Review serialization defaults, content types, limits, and generated client or schema updates.
|
||||
- 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.
|
||||
|
||||
## Findings
|
||||
|
||||
Report concrete contract breaks, security weaknesses, or incorrect behavior first. Give location, triggering request, impact on consumers, and a practical correction. Distinguish optional design suggestions from defects.
|
||||
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.
|
||||
Reference in new issue
Block a user