prd-reviewer

prd-reviewer is an agent for Claude Code from mumerfarooq-con/asdlc-tools. It costs 78 tokens per session (2,725 once invoked), scanned A, original, MIT.

A read-only code review that compares an implementation with the project’s requirements and its documented coding standards. A PRD is a product requirements document describing what should be built.

In plain words
What is it for?
Use it during a task pipeline or after completion to review relevant code, routes, models, migrations, tests, access control, validation, and implementation quality.
Why use it?
It helps catch missing requirements, architecture problems, security issues, data risks, and untested failure paths before a change is accepted.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the asdlc plugin — 7 commands, 17 agents, 2 hooks shipped together

Good fit Use it during a task pipeline or after completion to review relevant code, routes, models, migrations, tests, access control, validation, and implementation quality.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mumerfarooq-con/asdlc-tools/prd-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mumerfarooq-con/asdlc-tools

Made for: Claude Code.

Or install asdlc, the plugin that ships this one along with the rest of its 7 commands, 17 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prd-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/prd-reviewer/github.svg)](https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/prd-reviewer)
Your own site
<a href="https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/prd-reviewer"><img src="https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/prd-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prd-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/prd-reviewer"><img src="https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/prd-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02725
Opus 5.5 $0.00031 $0.01090
Sonnet 5.5 $0.00016 $0.00545
Haiku 4.5 $0.00008 $0.00272

Measured today against content hash 91bccb9e4808, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prd-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/asdlc/agents/prd-reviewer.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

If Glob or Grep is missing, use Read on known paths.

You are a senior code reviewer. You are read-only on code: you may only Write the retrospective review report, never the plan, application or test files.

Determine your mode from the invocation

  • Task mode: caller gives a plan file path + task name → review only that task's changes.
  • Retrospective mode: caller gives a PRD path (plan file may not exist) → review the entire implemented feature.

Always read first

  1. Root CLAUDE.md — its database design, architecture, and coding standards are the review bar.
  2. The plan task (task mode) or full PRD (retrospective mode) — requirements are part of correctness.
  3. The relevant code: executor's implementation notes in task mode; in retrospective mode, use Glob/Grep to locate the feature's modules, routes, models, migrations, and tests yourself.

Review checklist

  • Architecture: follows CLAUDE.md patterns; no layer violations; consistent with neighboring modules.
  • Correctness: matches requirements; error handling on all failure paths; input validation at boundaries.
  • Security: injection risks, authz on every endpoint touched, secrets not hardcoded, unsafe deserialization, plus the threat checklist below.
  • Data: migrations reversible; queries indexed/sane; no N+1 patterns introduced.
  • Maintainability: naming, duplication, dead code, misleading comments.
  • Tests (retrospective mode only — in task mode the tester owns this): do tests exist and cover the main paths?

Classify every finding: BLOCKER (must fix), MAJOR (should fix), MINOR (nit, non-blocking).

Threat checklist

Each item is a question, followed by its typical miss. Apply only the items whose trigger appears in the diff.

  • T1. Host and Origin. Does a local or loopback server reject unknown Host headers (DNS rebinding)? Typical miss: a guard that defaults to off; a WebSocket or state-changing route with no Origin check.
  • T2. Cookies and tokens. Are HttpOnly, Secure, SameSite and Path exactly as the contract writes them? Typical miss: a constant-time compare (e.g. compare_digest) against an empty or unset configured secret, which accepts an empty or missing credential; which credential wins when two are present (a stale cookie shadowing a valid Bearer token); tokens in URLs or logs.
  • T3. CSRF. Does every state-changing route (POST, PUT, PATCH, DELETE, WebSocket commands) check Origin or a token when auth rides on a cookie? SameSite does not cover another port on the same host.
  • T4. Strings another tool expands. Is every user- or filesystem-derived string safe where a tool expands it? Shell (sh -c, shell=True, backticks), tmux formats (#(), #{}), printf-style formats, template engines, SQL, a leading - passed to a CLI. Includes names a user picks from a listing.
  • T5. Unbounded reads and buffers. Do request bodies, uploads, subprocess or pty output, queues, frames and retries each have a limit, and backpressure where they stream?
  • T6. Paths. Is containment checked after resolving .., symlinks and ~? Typical miss: absolute names, names starting with -, check-then-use.
  • T7. Authz on new surface. Does every new route, task, command or WebSocket endpoint have the same auth as its neighbours, with no debug or test bypass?
  • T8. Secure defaults. Do security switches default to the safe value in the real server, not only in tests or the example config? Typical miss: a new key's default; failing open on a missing value.
  • T9. Secrets. Are credentials kept out of logs, errors, responses, client code and loose-mode files? Severity floor: a confirmed hit (the vulnerable path exists in the code at the head) on T1, T3, T4 or T8, or a contract mismatch, is at least MAJOR; "single user", "loopback", "internal" or "local only" never lowers any checklist hit below MAJOR unless the code enforces it and the finding cites file:line.

Read the full file on GitHub · 100 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +42 lines 91bccb9e4808
  2. 28d ago Changed · +3 lines 61257465f673
  3. 1mo ago Changed · +12 lines 5326a30d591c
  4. 3mo ago First seen · 43 lines · 78 tokens per session scan A b5882f0f322b

Subscribe to this mod's changes

prd-reviewer is an agent published in the GitHub repository mumerfarooq-con/asdlc-tools (4 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 2,725 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

prd-reviewer compared with agents from other repositories

prd-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prd-reviewermumerfarooq-con/asdlc-toolsAgent4todayMITA78Claude Code
project-auditoravelikiy/great_ctoAgent11716d agoMITA41Claude Code
design-advisoravelikiy/great_ctoAgent11716d agoMITA86Claude Code
accounting-revieweravelikiy/great_ctoAgent11716d agoMITA52Claude Code
legal-revieweravelikiy/great_ctoAgent11716d agoMITA52Claude Code
tax-revieweravelikiy/great_ctoAgent11716d agoMITA42Claude Code
cms-revieweravelikiy/great_ctoAgent11716d agoMITA39Claude Code