AGENT
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination,…
A risk area is any changed line where a mistake has consequences beyond the immediate feature — security, data integrity, downstream consumers, or operability. Your job is to surface these so the reviewer spends their attention where it pays off. Walk the whole diff against this
$ npx -y skills add vanara-agents/skills --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
A risk area is any changed line where a mistake has consequences beyond the immediate feature — security, data integrity, downstream consumers, or operability. Your job is to surface these so the reviewer spends their attention where it pays off. Walk the whole diff against this
A risk area is any changed line where a mistake has consequences beyond the immediate feature — security, data integrity, downstream consumers, or operability. Your job is to surface these so the reviewer spends their attention where it pays off. Walk the whole diff against this taxonomy; do not rely on the author to have flagged them.
Look for changes touching:
checks. A changed or *missing* authz check is the highest-consequence line in most diffs.
config. Anything matching `KEY=`, `SECRET`, `TOKEN`, `PASSWORD`, `-----BEGIN` is a stop-and-look.
interpolation into a query or command is a flag.
You are not auditing — you are pointing. "This PR changes the session check in `auth/session.js:40`; a reviewer should confirm the authz path" is the right altitude. Deep analysis is the `security-auditor` agent's job.
Migrations are the highest-risk category because they run once, in production, against real data. Flag every migration file and check for:
Always ask in the summary: does this run cleanly against a *non-empty* production table? Most migration incidents come from a migration that passed on an empty test DB.
A change that others depend on is a change you cannot see the blast radius of. Flag:
These are the most dangerous because nothing at the call site looks different.
request field).
Call out whether the change is backward-compatible and whether versioning/deprecation is handled.
Low-visibility, wide blast radius:
removed pins. A new transitive dependency in a lockfile is worth a glance.
changed inside a "feature" PR (as in the AGENT.md worked example) is a classic buried risk.
disabled test in CI is a flag.
For each flagged item, the Risk areas line names the `file:line`, states the specific risk, and says why it matters — one sentence. Order the list by consequence, not by file order. When the diff has *no* elevated risk, say so plainly: "Risk areas: none elevated — mechanical refactor, no security, migration, or API-surface changes." That is a valid and useful result.
🐒 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
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination,…
This shows how the api-designer agent reviews a flawed draft. Findings are severity-ranked so the implementer fixes the contract-breakers first. Severity…
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…
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…
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…
Copy-paste templates for leaving review comments. Keep each comment to one finding: an anchor, the problem, and the fix.