docs/agent-standards/skills/code-review/SKILL.md
--- name: code-review description: Use when reviewing diffs before PR/review/merge. Produces a systematic review (correctness, patterns, tests, security, contracts) and a short fix list. Review-only: do not change code unless asked. --- # Code Review ## Purpose Perform a systematic code review of the current changeset and report actionable findings. By default this is **review-only**: do not modify code unless explicitly requested. ## When to use Apply this skill: - After implementing changes
npx skillsauth add gravitee-io/gravitee-access-management docs/agent-standards/skills/code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform a systematic code review of the current changeset and report actionable findings. By default this is review-only: do not modify code unless explicitly requested.
Apply this skill:
Scope: Identify the current 'staged' changes or the diff between the current branch and the main branch before reviewing.
Priority: If the changeset is large, prioritize Global Standards and Architecture findings first.
@docs/agent-standards/commands.md (if present); otherwise suggest likely commands and ask before adding/updating commands.md.Return results in this structure:
Verdict: PASS / NEEDS_CHANGES
Top risks (0–3 bullets)
Findings
Recommended validation commands (reference commands.md if available)
Next steps (Task List)
blockingGet in UserService.java:42)mvn openapi-generator:generate)deleteUser)Note: I can execute these tasks for you one by one if you say 'Proceed with Step X'.
Security & Compliance:
Diff Integrity:
Code Quality:
Optional or @NotNull)Layering:
Reactive Integrity (CRITICAL):
blockingGet() or blocking calls in reactive pathsSingle/Maybe for I/O, Completable for side-effectsAudit Trail (MANDATORY for C/U/D):
AuditBuilder per entity typePattern Adherence:
API Contracts:
Data & Persistence:
CrudRepository<T, String> (unless established pattern differs)mongo/ and jdbc/ directoriesTest Coverage:
Implementation Parity:
Validation Commands:
commands.md or proposedDocumentation & Traceability:
Architectural:
blockingGet())Data:
mongo/ and jdbc/ directoriesAPI:
Testing:
Code Quality (Agent-isms):
Optional or @NotNull@docs/agent-standards/commands.md@docs/agent-standards/templates/openapi_change_checklist.template.md@docs/agent-standards/templates/migration_checklist.template.mdtools
Detect breaking changes in schema-form.json plugin descriptors; run the schema compatibility checker, interpret findings, and guide fixes.
development
Detect breaking changes in docs/mapi/openapi.yaml and check whether the committed spec is stale; run the OAS checks, interpret findings, and guide fixes.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.