prd-task-doc

prd-task-doc is a command for coding agents from yaukwan/my-claude-code-workflow. It costs 17 tokens per session (3,273 once invoked), scanned A, original, MIT.

A command that turns a PRD, or product requirements document, into detailed development task documents. It can also ask selected AI models to improve and review the generated plan.

In plain words
What is it for?
Use it to extract requirements, dependencies, workflows, interface agreements, acceptance criteria, and grouped implementation tasks from a PRD.
Why use it?
It turns broad product requirements into an agreed implementation plan before coding begins.

Command

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/yaukwan/my-claude-code-workflow/prd-task-doc
Clone the repo
git clone --depth 1 https://github.com/yaukwan/my-claude-code-workflow

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-task-doc

README.md
[![agentmods](https://agentmods.dev/badge/commands/yaukwan/my-claude-code-workflow/prd-task-doc.svg)](https://agentmods.dev/commands/yaukwan/my-claude-code-workflow/prd-task-doc)
Your own site
<a href="https://agentmods.dev/commands/yaukwan/my-claude-code-workflow/prd-task-doc"><img src="https://agentmods.dev/badge/commands/yaukwan/my-claude-code-workflow/prd-task-doc.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,273 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.00017 $0.03273
Opus 5 $0.00009 $0.01636
Sonnet 5 $0.00003 $0.00655
Haiku 4.5 $0.00002 $0.00327

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

Security

Grade A, and why

prd-task-doc 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 4d 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.

commands/prd-task-doc.md · 309 lines

How it starts

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

PRD Development Task Documentation Generator

Core Workflow

This command generates specification task documents from PRD files. Implementation work begins only after document review and approval.

Usage Examples

/prd-tasks                    # Basic generation
/prd-tasks -zen              # Optimize with o3 (default)
/prd-tasks -zen pro          # Optimize with gemini-pro
/prd-tasks -review           # Review with gemini-pro (default)
/prd-tasks -review o3        # Review with o3
/prd-tasks -zen -review      # Optimize with o3, review with gemini-pro
/prd-tasks -zen pro -review o3  # Optimize with gemini-pro, review with o3

Step 1: Requirements Analysis & Understanding

Execution Actions:

  1. Read and parse PRD document from docs/specs/prd.txt
  2. Parse all requirements in PRD into implementable specifications
  3. Identify interface contracts and system dependencies
  4. Extract acceptance criteria, workflows, and integration requirements
  5. Map specification implementation needs
  6. Check available tools and resources
  7. Group tasks by shared specification context and file dependencies

Step 2: Parameter Processing & Model Collaboration

Tips:

  • Bash(gemini -p "<prompt>"): gemini can be used to generate code snippets, documentation, and other content based on the provided prompt and file paths.
  • Chat with other model using English

Optimization (-zen): If present, collect relevant file content and original PRD first, then:

  • o3 (default): Use mcp__zen chat method with full file paths in files parameter to optimize task specification structure
  • pro: Use gemini -p ”<prompt>“ bash command with file paths as arguments

Review (-review):

  • pro (default): Use gemini -p "<prompt>“ bash command for task specification review
  • o3: Use mcp__zen chat method with full file paths in files parameter

Collaboration Process (-zen parameter):

  1. Collect project-related file content using Glob and Read tools
  2. Organize original PRD content
  3. Prepare task structuring context:
  • Include complete "Task Group Structuring & Splitting Guidelines"
  • Provide "Development Task Specification Template Structure"
  • Share current project file structure and dependencies
  1. Discuss with o3 model or gemini chat:
  • Task decomposition rationality according to grouping guidelines
  • Validate each Task Group represents a self-contained functional module
  • Ensure all changes to the same module are in the same Task Group
  • Check sub-task count (2-4 per group) and naming conventions
  • Interface design best practices
  • Technical architecture recommendations
  • Implementation priority suggestions
  1. Optimize task specification structure based on o3 feedback

Read the full file on GitHub · 309 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. 4d ago First seen · 309 lines · 0 tokens per session scan A 9ab92142175d

Subscribe to this mod's changes

prd-task-doc is a command published in the GitHub repository yaukwan/my-claude-code-workflow (44 stars, last pushed 1y ago), licensed MIT. It adds 17 tokens to every session and 3,273 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-30.