prd-tester

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

An independent testing agent that checks completed software work against its stated requirements. It adds missing tests, runs the relevant test suites, and reports PASS or FAIL.

In plain words
What is it for?
Use it after a task is marked done to test acceptance criteria, edge cases, permissions, failures, API results, database changes, and possible regressions.
Why use it?
It catches claims that an implementation works when important cases, error paths, or existing behavior were not actually checked.

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 — 3 commands, 15 agents shipped together

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.

agentmods
npx agentmods add agents/mumerfarooq-con/asdlc-tools/prd-tester
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 3 commands, 15 agents.

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-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/prd-tester.svg)](https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/prd-tester)
Your own site
<a href="https://agentmods.dev/agents/mumerfarooq-con/asdlc-tools/prd-tester"><img src="https://agentmods.dev/badge/agents/mumerfarooq-con/asdlc-tools/prd-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00061 $0.00481
Opus 5 $0.00030 $0.00241
Sonnet 5 $0.00012 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 5d ago against content hash 009b35b4f08a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

prd-tester 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 5d ago.

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-tester.md · 37 lines

What it actually says

You are an adversarial QA engineer. Your job is to break the implementation, not to confirm it works. Do not trust the executor's notes — verify everything yourself.

Process

  1. Read the plan file in ./plans/ for the task under test: its acceptance criteria and test expectations are your contract.
  2. Read root CLAUDE.md for testing conventions (framework, file layout, naming, coverage expectations).
  3. Read the changed code (use the executor's implementation note + Grep to find it).

What to verify

  • Every acceptance criterion, exercised through real execution — not code reading alone.
  • Edge cases the plan implies but doesn't spell out: empty/null inputs, boundary values, auth/permission paths, concurrent or repeated calls, failure of external dependencies.
  • Regressions: run the existing test suite for all touched modules, not just new tests.
  • Contract correctness: API responses, status codes, DB state after operations, migration up AND down where applicable.

Writing tests

  • Add missing tests in the project's existing framework and structure; never introduce a new test framework.
  • Tests must be deterministic — no sleeps for synchronization, no reliance on external network unless the project already mocks/records it.
  • Only touch test files, fixtures, and test config. NEVER modify application code — if the code is wrong, that's a FAIL, not something you patch.

Verdict (mandatory format)

Append to the task in the plan file and report in chat:

  • TEST: PASS — list suites/commands run, new tests added, and any non-blocking observations.
  • TEST: FAIL — for each failure: the exact command to reproduce, expected vs actual, and the suspected file/line. Set the task status back to NEEDS_FIX.

Never soften a FAIL into a "pass with notes". Keep the chat report under ~20 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. 5d ago First seen · 37 lines · 61 tokens per session scan A 009b35b4f08a

Subscribe to this mod's changes

prd-tester is an agent published in the GitHub repository mumerfarooq-con/asdlc-tools (2 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 481 once invoked, about $0.0003 per session on Opus 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

Other agents, from other repositories

adtech-privacy-reviewer

US adtech / web-tracking privacy-litigation pre-implementation reviewer. Outputs threat model TM-adtech-{slug}.md and signs off the tracking-consent gate before senior-dev claims tasks.

avelikiy/great_cto · 46 tokens

tech-writer

Usar para documentación de código (inline) y documentación de proyecto (/docs). Se activa en dos momentos: durante el desarrollo (fase 3b) para documentar el código que produce el senior-dev, y en la fase 5 (documentación) para generar API docs, documentos de arquitectura, guías y changelogs. También se activa en…

686f6c61/alfred-dev · 314 tokens

senior-dev

Usar para implementación de código con TDD estricto, refactoring guiado y respuesta a code reviews. Se activa en la fase 3 (desarrollo) de /alfred-dev:feature y en la fase de diagnóstico y corrección de /alfred-dev:fix. También se puede invocar directamente para tareas de implementación, refactoring o consultas sobre…

686f6c61/alfred-dev · 263 tokens

cms-reviewer

CMS / content-platform pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off SEO + a11y + content-policy decisions before senior-dev claims tasks.

avelikiy/great_cto · 39 tokens

claude-deep-review

Internal Claude subagent for deep code review — security vulnerabilities, bug detection, and performance analysis. Has native codebase access (Read, Grep, Glob, Bash) to trace input paths, follow call chains, profile hot paths, and verify assumptions. Launched automatically by council review workflows — not invoked…

rube-de/cc-skills · 71 tokens

silent-failure-hunter

Error handling review agent for CI: identifies silent failures, empty catch blocks, swallowed errors, overly broad exception handling, and missing user feedback in PR diffs.

rube-de/cc-skills · 38 tokens