create-prd-env

create-prd-env is a command for Claude Code from Yassinello/claude-plugin-prd-workflow. It costs 12 tokens per session (1,672 once invoked), scanned C, original, MIT.

A command that sets up a complete Product Requirements Document (PRD) workflow in a project. It creates the folders, templates, configuration, documentation, and decision log needed to manage features from draft through completion.

In plain words
What is it for?
Use it when starting a project, adopting PRD-based development in an existing project, or moving from the older folder structure to the newer one.
Why use it?
It gives a new or existing project a consistent place and process for planning and tracking features. It can also detect an older PRD layout and offer to migrate it.

Command for Claude Code

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/yassinello/claude-plugin-prd-workflow/create-prd-env
Clone the repo
git clone --depth 1 https://github.com/Yassinello/claude-plugin-prd-workflow

Made for: Claude Code.

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 create-prd-env

README.md
[![agentmods](https://agentmods.dev/badge/commands/yassinello/claude-plugin-prd-workflow/create-prd-env.svg)](https://agentmods.dev/commands/yassinello/claude-plugin-prd-workflow/create-prd-env)
Your own site
<a href="https://agentmods.dev/commands/yassinello/claude-plugin-prd-workflow/create-prd-env"><img src="https://agentmods.dev/badge/commands/yassinello/claude-plugin-prd-workflow/create-prd-env.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,672 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00012 $0.01672
Opus 5 $0.00006 $0.00836
Sonnet 5 $0.00002 $0.00334
Haiku 4.5 $0.00001 $0.00167

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

Security

Grade C, and why

create-prd-env scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf product/prds/02-review # Remove old review folder
.claude/commands/create-prd-env.md · 280 lines

How it starts

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

Create PRD Environment Command

Initialize the complete PRD workflow structure in any project with one command.

Purpose

Set up everything needed for PRD-driven development:

  • Folder structure (01-draft → 04-complete)
  • PRD templates (full, quick, experiment)
  • Configuration files
  • Documentation
  • Decision log

Use cases:

  • New project starting from scratch
  • Existing project adopting PRD workflow
  • Migrate from old PRD structure (v2.x → v0.3)

Workflow

Step 1: Detect Existing Structure

Check for existing PRD folders:

# Check for old v2.x structure
if [ -d "product/prds/02-review" ]; then
  echo "⚠️ Old structure detected (v2.x)"
  echo "Migration needed: 02-review → removed"
  echo "                  03-ready → 02-ready"
  echo "                  04-in-progress → 03-in-progress"  
  echo "                  05-complete → 04-complete"
fi

# Check if already initialized
if [ -f "product/.prd-config.json" ]; then
  echo "ℹ️ PRD environment already initialized"
  echo "Version: $(cat product/.prd-config.json | grep version)"
fi

If existing found, ask user:

📦 Existing PRD Structure Found

Options:
  [1] Migrate to v0.3.0 structure (recommended)
  [2] Clean install (backup existing)
  [3] Validate existing structure
  [4] Cancel

Choose: _

If none found, proceed to create.

Step 2: Create Folder Structure

# Create PRD folders (v0.3 structure)
mkdir -p product/prds/{01-draft,02-ready,03-in-progress,04-complete,99-archived}

# Create supporting folders
mkdir -p product/decisions
mkdir -p product/templates

echo "✅ Folder structure created"

Structure:

product/
├── prds/
│   ├── 01-draft/         # New PRDs
│   ├── 02-ready/         # Ready to code
│   ├── 03-in-progress/   # Being implemented
│   ├── 04-complete/      # Merged to production
│   └── 99-archived/      # Historical reference
├── decisions/            # Architecture Decision Records
├── templates/            # PRD templates
└── WORK_PLAN.md          # Pipeline tracker

Read the full file on GitHub · 280 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 · 280 lines · 12 tokens per session scan C c60cfa332a7e

Subscribe to this mod's changes

create-prd-env is a command published in the GitHub repository Yassinello/claude-plugin-prd-workflow (12 stars, last pushed 9mo ago), licensed MIT. It adds 12 tokens to every session and 1,672 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.