review-checklist
Work top to bottom. Security first, style last. Anchor every finding to `file:line` with a fix.
$ npx -y skills add vanara-agents/skills --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Work top to bottom. Security first, style last. Anchor every finding to `file:line` with a fix.
Agent definition
review-checklist.mdReview Checklist
Work top to bottom. Security first, style last. Anchor every finding to `file:line` with a fix.
1. Security (do this first)
- [ ] No injection: user input never concatenated into SQL, shell, template, or HTML. Parameterized
queries / escaped output everywhere.
- [ ] Authorization checked per action, not just authentication. Ownership verified (no IDOR — see
`security-review.md`).
- [ ] No hardcoded secrets (API keys, passwords, tokens, connection strings). Pulled from env/secret
manager.
- [ ] No unsafe deserialization of untrusted data (`pickle`, `yaml.load`, native deserializers).
- [ ] No path traversal: file paths derived from input are normalized and confined to a base dir.
- [ ] No SSRF: outbound URLs from user input are allow-listed.
- [ ] Crypto is current: no MD5/SHA1 for passwords, constant-time comparison for secrets, no custom
crypto.
- [ ] Error messages don't leak stack traces, secrets, or internal structure to the client.
2. Correctness
- [ ] Logic does what the PR intends; edge cases (empty, null, zero, max, unicode) handled.
- [ ] Errors handled explicitly — no swallowed exceptions, no empty `catch {}`, no ignored returns.
- [ ] No off-by-one / boundary errors in loops and slicing.
- [ ] No null/undefined dereference on optional paths.
- [ ] No race conditions on shared state; async results awaited; no unhandled promise rejections.
- [ ] Resources released (files, sockets, DB connections, locks) on all paths including errors.
- [ ] No N+1 queries or unbounded loops over external calls.
3. Maintainability
- [ ] Functions < 50 lines and single-purpose.
- [ ] Files < 800 lines; cohesive, organized by feature.
- [ ] Nesting depth ≤ 4; prefer early returns.
- [ ] Names are descriptive; booleans use is/has/should/can.
- [ ] No duplication (DRY) where the repetition is real, not speculative.
- [ ] No dead code, commented-out blocks, or leftover debug logging.
- [ ] No magic numbers — named constants for thresholds/limits.
4. Tests
- [ ] New behavior has tests; bug fixes include a regression test.
- [ ] Tests assert behavior, not implementation details.
- [ ] Error paths and edge cases are covered, not just the happy path.
- [ ] Coverage meets the project threshold (commonly 80%) for changed lines.
- [ ] Tests are deterministic — no sleeps, no order dependence, no shared mutable fixtures.
Read more
Review Checklist
Work top to bottom. Security first, style last. Anchor every finding to `file:line` with a fix.
1. Security (do this first)
- [ ] No injection: user input never concatenated into SQL, shell, template, or HTML. Parameterized
queries / escaped output everywhere.
- [ ] Authorization checked per action, not just authentication. Ownership verified (no IDOR — see
`security-review.md`).
- [ ] No hardcoded secrets (API keys, passwords, tokens, connection strings). Pulled from env/secret
manager.
- [ ] No unsafe deserialization of untrusted data (`pickle`, `yaml.load`, native deserializers).
- [ ] No path traversal: file paths derived from input are normalized and confined to a base dir.
- [ ] No SSRF: outbound URLs from user input are allow-listed.
- [ ] Crypto is current: no MD5/SHA1 for passwords, constant-time comparison for secrets, no custom
crypto.
- [ ] Error messages don't leak stack traces, secrets, or internal structure to the client.
2. Correctness
- [ ] Logic does what the PR intends; edge cases (empty, null, zero, max, unicode) handled.
- [ ] Errors handled explicitly — no swallowed exceptions, no empty `catch {}`, no ignored returns.
- [ ] No off-by-one / boundary errors in loops and slicing.
- [ ] No null/undefined dereference on optional paths.
- [ ] No race conditions on shared state; async results awaited; no unhandled promise rejections.
- [ ] Resources released (files, sockets, DB connections, locks) on all paths including errors.
- [ ] No N+1 queries or unbounded loops over external calls.
3. Maintainability
- [ ] Functions < 50 lines and single-purpose.
- [ ] Files < 800 lines; cohesive, organized by feature.
- [ ] Nesting depth ≤ 4; prefer early returns.
- [ ] Names are descriptive; booleans use is/has/should/can.
- [ ] No duplication (DRY) where the repetition is real, not speculative.
- [ ] No dead code, commented-out blocks, or leftover debug logging.
- [ ] No magic numbers — named constants for thresholds/limits.
4. Tests
- [ ] New behavior has tests; bug fixes include a regression test.
- [ ] Tests assert behavior, not implementation details.
- [ ] Error paths and edge cases are covered, not just the happy path.
- [ ] Coverage meets the project threshold (commonly 80%) for changed lines.
- [ ] Tests are deterministic — no sleeps, no order dependence, no shared mutable fixtures.
🐒 Free agents, skills & packs for Claude Code One subscription. An army of Claude Code agents. 30 production-grade agents, skills, and packs for Claude Code — free, Apache-2.0, install with one command.
Repo: vanara-agents/skills
Other agents on vanara-agents-skills.
- AGENT
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination, filtering, error envelopes, versioning, and idempotency. Produces a reviewable API contract plus an OpenAPI snippet, not
Open agent - review-notes
This shows how the api-designer agent reviews a flawed draft. Findings are severity-ranked so the implementer fixes the contract-breakers first. Severity legend: **CRITICAL** (breaks clients / data risk), **HIGH** (real bug or inconsistency), **MEDIUM** (maintainability),
Open agent - contract-and-openapi
The contract is the deliverable. Express it as an **OpenAPI 3.1** document so it is human-readable *and* machine-checkable. This reference covers how to structure that document and what `scripts/lint-openapi.mjs` enforces.
Open agent - design-checklist
Run through this before declaring an API contract done. It is ordered the way you should *design*: resources first, cross-cutting rules last. Every box is a place real APIs go wrong in production.
Open agent - versioning-and-evolution
APIs are forever once published: a consumer you've never met may depend on any field you expose. Design so you can **add without breaking**, and version explicitly when you must break.
Open agent - pr-comment-template
Copy-paste templates for leaving review comments. Keep each comment to one finding: an anchor, the problem, and the fix.
Open agent

