claude-dev-workflow: Command for Claude Code

.claude/commands/prd.md

prd is a command for Claude Code from TouheedCode/claude-dev-workflow. It costs 0 tokens per session (405 once invoked), scanned A, original, MIT.

A command that creates a Product Requirements Document, or PRD—a written plan describing what to build, why, for whom, and how it should work.

In plain words
What is it for?
Gathering missing project details and writing a PRD file with an overview, problem, users, features, acceptance criteria, and user experience.
Why use it?
It turns a project idea into a structured specification before implementation begins.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is TouheedCode/claude-dev-workflow's own configuration. It tells Claude Code how to work on claude-dev-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-dev-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TouheedCode/claude-dev-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TouheedCode/claude-dev-workflow/master/.claude/commands/prd.md
Clone the repo
git clone --depth 1 https://github.com/TouheedCode/claude-dev-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 prd

README.md
[![agentmods](https://agentmods.dev/badge/commands/touheedcode/claude-dev-workflow/prd/github.svg)](https://agentmods.dev/commands/touheedcode/claude-dev-workflow/prd)
Your own site
<a href="https://agentmods.dev/commands/touheedcode/claude-dev-workflow/prd"><img src="https://agentmods.dev/badge/commands/touheedcode/claude-dev-workflow/prd/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/touheedcode/claude-dev-workflow/prd"><img src="https://agentmods.dev/badge/commands/touheedcode/claude-dev-workflow/prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 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.00000 $0.00405
Opus 5.5 $0.00000 $0.00162
Sonnet 5.5 $0.00000 $0.00081
Haiku 4.5 $0.00000 $0.00040

Measured 2mo ago against content hash ca5a073a7774, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

.claude/commands/prd.md · 65 lines

What it actually says

/prd — Generate Product Requirements Document

Arguments

  • $ARGUMENTS — Project name and a brief description of what to build

Instructions

You are generating a Product Requirements Document (PRD) for the project described below.

Project input: $ARGUMENTS

Step 1: Gather Context

If the input is vague or missing critical details, ask the user clarifying questions before generating. You need at minimum:

  • A clear project/feature name
  • What problem it solves
  • Who the target users are

Step 2: Generate the PRD

Create a structured PRD file at docs/PRD-{name}.md where {name} is a kebab-cased version of the project name.

The PRD must contain these sections:

# PRD: {Project Name}

## Overview
One paragraph summary of the project. What is it and why does it matter?

## Problem Statement
What problem does this solve? What's the current pain point? Be specific.

## Target Users
Who are the primary users? What are their characteristics and needs?

## Core Features
Numbered list of features. Each feature should have:
- **Feature name** — One-line description
- Acceptance criteria (bulleted)

## User Experience
Describe the key user flows. How does someone use this feature end-to-end?

## Technical Constraints
- What tech stack is being used?
- Are there performance requirements?
- Security considerations?
- Integration requirements?

## Success Metrics
How will we know this is successful? Define measurable outcomes.

## Out of Scope
What are we explicitly NOT building in this iteration?

Step 3: Output

  1. Write the PRD to docs/PRD-{name}.md
  2. Print a summary: the project name, feature count, and file path
  3. Remind the user to run /story next to break the PRD into user stories
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. 2mo ago First seen · 65 lines · 0 tokens per session scan A ca5a073a7774

Subscribe to this mod's changes

prd is a command published in the GitHub repository TouheedCode/claude-dev-workflow (2 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 405 tokens. 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.