implement-prd

implement-prd is a command for coding agents from mumerfarooq-con/asdlc-tools. It costs 27 tokens per session (661 once invoked), scanned A, original, MIT.

A coordinator for building software from a product requirements document (PRD), a document describing what the product should do. It sends the work through planning, coding, review, and testing, or reviews an already completed PRD implementation.

In plain words
What is it for?
Use it to turn a PRD into an ordered implementation workflow, handle review and test failures, retry limited fixes, and run a retrospective review.
Why use it?
It removes the need to manually manage several specialized coding agents and repeat the handoffs between them.

Command

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 commands/mumerfarooq-con/asdlc-tools/implement-prd
Clone the repo
git clone --depth 1 https://github.com/mumerfarooq-con/asdlc-tools

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 implement-prd

README.md
[![agentmods](https://agentmods.dev/badge/commands/mumerfarooq-con/asdlc-tools/implement-prd.svg)](https://agentmods.dev/commands/mumerfarooq-con/asdlc-tools/implement-prd)
Your own site
<a href="https://agentmods.dev/commands/mumerfarooq-con/asdlc-tools/implement-prd"><img src="https://agentmods.dev/badge/commands/mumerfarooq-con/asdlc-tools/implement-prd.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 661 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 $0.00027 $0.00661
Opus 5 $0.00014 $0.00331
Sonnet 5 $0.00005 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 3d ago against content hash 76aa68afc5f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implement-prd 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 3d 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/commands/implement-prd.md · 43 lines

How it starts

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

You are orchestrating work on the PRD at: $ARGUMENTS

Parse the arguments: if --review-only is present, run Retrospective mode; otherwise run Pipeline mode. You coordinate only — route all planning, coding, review, and testing through subagents to keep your context small.

Pipeline mode (fresh PRD implementation)

  1. Plan — Invoke prd-planner on the PRD. Wait for the plan file path and status.

    • If STATUS: BLOCKED, surface the open questions to the user and STOP.
  2. Execute → Review → Test loop — For each task in dependency order: a. Invoke prd-executor with the plan path and task name.

    • If BLOCKED, surface to the user and pause. b. Invoke prd-reviewer in task mode on the same task.
    • On REVIEW: CHANGES_REQUESTED, re-invoke prd-executor with the findings. Max 2 fix attempts, then escalate to the user. c. On REVIEW: APPROVED, invoke prd-tester on the task.
    • On TEST: FAIL, re-invoke prd-executor with the failure report, then re-run the reviewer ONLY if the fix touched files beyond the original task scope; otherwise go straight back to the tester. Max 2 fix attempts, then escalate. d. On TEST: PASS, proceed to the next task.

    Independent tasks (no shared files, no dependency edge) may execute in parallel; review and test steps still run per task.

  3. Wrap up — When all tasks are DONE + APPROVED + PASS:

    • Run the full test suite once from the main session as a sanity check.
    • Summarize: tasks completed, files changed, tests added, review findings deferred (MINORs), anything flagged.
    • Suggest a commit message (do not commit unless asked).

Retrospective mode (--review-only, already-completed PRD)

  1. Invoke prd-reviewer in retrospective mode with the PRD path (pass the plan file path too if one exists in ./plans/).
  2. Relay the report location (./plans/<slug>.review.md) and a severity summary (counts of BLOCKER/MAJOR/MINOR).
  3. Do NOT auto-invoke the executor on findings — ask the user whether to:
    • turn the "Suggested follow-up tasks" into a fix-up plan via prd-planner, then run the normal pipeline on it, or
    • stop here.

Read the full file on GitHub · 43 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. 3d ago First seen · 43 lines · 27 tokens per session scan A 76aa68afc5f9

Subscribe to this mod's changes

implement-prd is a command published in the GitHub repository mumerfarooq-con/asdlc-tools (2 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 661 once invoked, about $0.0001 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.