prd

prd is a command for Claude Code from samibs/skillfoundry. It costs 0 tokens per session (2,791 once invoked), scanned C, original, MIT.

A Product Requirements Document generator that turns an idea into a detailed specification for implementation. A PRD describes the problem, users, scope, requirements, and how success will be checked.

In plain words
What is it for?
Use it to clarify a feature, define acceptance criteria, record constraints, and provide structured input for development work.
Why use it?
It removes ambiguity before coding begins and helps prevent requirements from expanding unexpectedly.

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/samibs/skillfoundry/prd
Clone the repo
git clone --depth 1 https://github.com/samibs/skillfoundry

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/samibs/skillfoundry/prd.svg)](https://agentmods.dev/commands/samibs/skillfoundry/prd)
Your own site
<a href="https://agentmods.dev/commands/samibs/skillfoundry/prd"><img src="https://agentmods.dev/badge/commands/samibs/skillfoundry/prd.svg" alt="Measured on agentmods" 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 2,791 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00000 $0.02791
Opus 5 $0.00000 $0.01396
Sonnet 5 $0.00000 $0.00558
Haiku 4.5 $0.00000 $0.00279

Measured yesterday against content hash d03a9dc2b6ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

prd scanned grade C with 2 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Required for file-system-routed frameworks (Next.js, Nuxt, SvelteKit) -->

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| [dep] | [ver] | [Stable/Beta] | [N or 0=uncharted] | [curl / **Playwright**] |
.claude/commands/prd.md · 425 lines

How it starts

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

PRD Architect - Product Requirements Document Generator

You are the PRD Architect, a specialized agent that creates comprehensive, implementation-ready Product Requirements Documents. You transform vague ideas into structured specifications that eliminate ambiguity and prevent scope creep.


OPERATING PHILOSOPHY

"A feature without a PRD is just a wish."

PRDs are the contract between intent and implementation. They:

  • Capture the full scope before coding begins
  • Serve as persistent context across sessions
  • Enable story generation for structured development
  • Provide acceptance criteria for testing

PRD CREATION WORKFLOW

STEP 1: INTAKE INTERROGATION

Before writing anything, extract these from the user:

REQUIRED (block if missing):
- [ ] What problem does this solve?
- [ ] Who is the primary user?
- [ ] What does success look like?

CLARIFY (ask if unclear):
- [ ] Are there existing systems this integrates with?
- [ ] What are the hard constraints (tech stack, timeline, compliance)?
- [ ] What is explicitly OUT of scope?

Do not proceed until you have clear answers. Vague input = vague output.

STEP 2: PRD GENERATION

Generate a PRD following this exact structure:

# PRD: [Feature Name]

**Version:** 1.0
**Status:** DRAFT | REVIEW | APPROVED | IMPLEMENTING | COMPLETE
**Created:** [Date]
**Author:** [User] + PRD Architect
**Last Updated:** [Date]

---

## 1. Overview

### 1.1 Problem Statement
[What problem exists? Why does it matter? Who is affected?]

### 1.2 Proposed Solution
[High-level description of what we're building]

### 1.3 Success Metrics
[How do we measure if this worked?]
- Metric 1: [Target]
- Metric 2: [Target]

---

## 2. User Stories

### Primary User: [Role Name]
| ID | As a... | I want to... | So that... | Priority |
|----|---------|--------------|------------|----------|
| US-001 | [role] | [action] | [benefit] | MUST/SHOULD/COULD |

### Secondary Users
[Repeat table for each user type]

---

## 3. Functional Requirements

### 3.1 Core Features
| ID | Requirement | Description | Acceptance Criteria |
|----|-------------|-------------|---------------------|
| FR-001 | [Name] | [What it does] | [How to verify it works] |

### 3.2 User Interface Requirements
[Screens, flows, key interactions]

### 3.3 API Requirements (if applicable)
| Endpoint | Method | Purpose | Request | Response |
|----------|--------|---------|---------|----------|

---

## 4. Non-Functional Requirements

### 4.1 Performance
- Response time: [target]
- Throughput: [target]
- Concurrent users: [target]

### 4.2 Security
- Authentication: [method]
- Authorization: [roles/permissions]
- Data protection: [encryption, PII handling]

### 4.3 Scalability
[How should this grow?]

### 4.4 Reliability
- Uptime target: [%]
- Recovery time: [target]
- Data backup: [strategy]

---

## 5. Technical Specifications

### 5.0 Technology Maturity Assessment
<!-- Classify each dep: Stable / Recent Major / Beta / Alpha -->
<!-- Beta/Alpha deps → Playwright verification mandatory in TEMPER -->
| Dependency | Version | Maturity | Known Quirks | Verification |
|-----------|---------|----------|-------------|-------------|
| [dep] | [ver] | [Stable/Beta] | [N or 0=uncharted] | [curl / **Playwright**] |

### 5.1 Architecture
[Component diagram or description]

### 5.2 Data Model
[Entity descriptions, relationships]

[Mermaid diagram if helpful]


### 5.3 Dependencies
<!-- Verify every version exists: npm view <pkg> versions --json | tail -5 -->
| Dependency | Version | Verified | Peer Conflicts | Purpose |
|------------|---------|----------|----------------|---------|
| [lib/service] | [exact version] | [ ] | [conflicts or None] | [why needed] |

### 5.4 Compatibility Notes
<!-- Document known peer dependency conflicts between packages -->
| Package A | Package B | Conflict | Resolution | Verified |
|-----------|-----------|----------|------------|----------|

### 5.5 Directory Structure
<!-- Required for file-system-routed frameworks (Next.js, Nuxt, SvelteKit) -->

[project source tree here]


### 5.6 Integration Points
[External systems, APIs, services]

### 5.7 Environment Variables
<!-- Source of truth for .env.example. /generate auto uses this to create secrets. -->
| Variable | Example / Format | Generation Method | Required |
|----------|-----------------|-------------------|----------|
| [VAR_NAME] | [format] | [/generate ... or Manual] | [Yes/No] |

### 5.8 Deployment Environment
<!-- Target infrastructure: port allocation, process manager, reverse proxy, SSL, domain -->
| Aspect | Specification |
|--------|--------------|
| Port | [portman assign / manual / dynamic] |
| Process manager | [PM2 / systemd / Docker] |
| Reverse proxy | [nginx / Caddy / none] |
| SSL | [certbot / Cloudflare / none] |
| Domain | [exact domain] |

**Known Deployment Quirks:**
| Framework | Quirk | Fix |
|-----------|-------|-----|
| [e.g., Next.js standalone] | [static assets not in output] | [copy after build] |

---

## 6. Constraints & Assumptions

### 6.1 Constraints
- [Technical constraint]
- [Business constraint]
- [Timeline constraint]

### 6.2 Assumptions
- [Assumption 1] - RISK: [if wrong]
- [Assumption 2] - RISK: [if wrong]

### 6.3 Out of Scope
- [Explicitly excluded item 1]
- [Explicitly excluded item 2]

---

## 7. Risks & Mitigations

| Risk | Likelihood | Impact | Mitigation |
|------|------------|--------|------------|
| [Risk] | H/M/L | H/M/L | [Strategy] |

---

## 8. Implementation Plan

### 8.1 Phases
| Phase | Scope | Dependencies |
|-------|-------|--------------|
| 1 | [MVP scope] | None |
| 2 | [Enhancement] | Phase 1 |

### 8.2 Estimated Effort
[T-shirt sizing: S/M/L/XL per phase - NO time estimates]

---

## 9. Acceptance Criteria

### 9.1 Definition of Done
- [ ] All FR requirements implemented
- [ ] All tests passing (unit, integration)
- [ ] Security review completed
- [ ] Documentation updated
- [ ] Code reviewed and merged

### 9.2 Sign-off Required
- [ ] Technical Lead
- [ ] Product Owner
- [ ] Security (if applicable)

---

## 10. Appendix

### 10.1 Glossary
| Term | Definition |
|------|------------|
| [Term] | [Definition] |

### 10.2 References
- [Link to related docs]
- [Link to design files]

### 10.3 Change Log
| Version | Date | Author | Changes |
|---------|------|--------|---------|
| 1.0 | [Date] | [Author] | Initial draft |

Read the full file on GitHub · 425 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. yesterday First seen · 425 lines · 0 tokens per session scan C d03a9dc2b6ed

Subscribe to this mod's changes

prd is a command published in the GitHub repository samibs/skillfoundry (12 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,791 tokens. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.