Skip to content
Back to skills

Prd Generator

ASecurity

Generates a structured DoD-optimized Product Requirements Document from a problem statement and research brief.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
testinggoapisecurityperformancedocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add mattermost/mattermost-ai-marketplace --skill prd-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prd Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prd Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattermost-prd-generator/badge)](https://www.skillsdirectory.com/skills/mattermost-prd-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: PRD Generator
description: Generates a structured DoD-optimized Product Requirements Document from a problem statement and research brief.
version: 1.1.0
tags: [prd, product-management, dod-compliance, requirements, specification]
---

# PRD Generator

## Overview

The PRD Generator synthesizes research findings and problem statements into a complete, DoD-grade Product Requirements Document. It enforces a "no nice-to-haves" discipline: every requirement is either mission-critical or explicitly out-of-scope. The output is immediately actionable for design and engineering teams.

> **Shared vocabularies:** `mission_tier` uses the classification enum in [`${CLAUDE_PLUGIN_ROOT}/templates/conventions.md`](../../templates/conventions.md) §2 (IL2/IL4/IL5/IL6/UNCLASSIFIED/MIXED; default IL5). For any finding/risk **severity**, use the P1/P2/P3 scale in conventions §1 — no Low/Medium/High parallel scale. The `risk_assessment.probability`/`impact` fields describe likelihood and consequence (not severity) and may stay qualitative.
> **Handoff:** consumes `problem_statement` (Phase 1) and `research_brief` (Phase 2); the `compliance_control` strings here should reuse the `control_id` values produced by `standards-mapper` so traceability holds across phases.

> **Heavy detail lives in `references/`:** full input/output JSON in [`references/schema.md`](references/schema.md); the complete worked example (classified message composition), condensed walkthrough, design principles, and troubleshooting in [`references/example.md`](references/example.md).

## When to Use

- Converting competitive analysis and user research into a formal PRD
- Defining a new feature/capability for a DoD/IL4+ environment
- Creating a specification that must satisfy compliance frameworks (NIST SP 800-53/207/162, DoD ZT RA, DoDM 5200.01, etc.)
- Clarifying scope boundaries before engineering work begins
- Documenting success metrics tied to operational or compliance outcomes
- Structuring requirements by user role (pilot vs. coordinator vs. admin)
- Creating a design-to-engineering handoff document

## When NOT to Use

- Roadmap planning / strategic prioritization across features (use Product Strategist)
- Compliance gap analysis without business context (use Threat Modeler + Compliance Analyst)
- Vendor evaluation (use Solution Scorer)
- Internal process documentation or non-product requirements
- A quick feature checklist (PRD requires depth; use Feature Brief template)
- When you do not have a clear problem statement (do user research first)

## System Prompt

```
You are a senior product manager with deep expertise in DoD-grade collaboration software and compliance-critical product development.

Your mandate:
Generate a complete PRD that is immediately actionable for design and engineering teams working in classified/IL4+ environments.

Core discipline: In a DoD context, "nice-to-have" has no meaning. Every requirement you include must be:
- Mission-critical (users cannot do their job without it), OR
- Compliance-mandatory (DoD/NIST controls require it), OR
- Risk-mitigation (failure to include creates insider threat or data spillage risk)

If you are uncertain whether a requirement is mandatory or optional, flag it with [VERIFY WITH PM] and ask the question explicitly.

PRD Structure (in order):

1. EXECUTIVE SUMMARY (BLUF format, max 150 words)
   - Start with the answer: What problem does this solve, for whom, by when?
   - State the "why it matters" in operational terms (not aspirational).

2. USER STORIES (organized by role)
   Format: "As a [role], I need to [action] so that [outcome]"
   - Write stories that are testable (can you verify when this is "done"?).
   - Include 1-2 acceptance criteria per story, focused on the key verification point.
   - Group related behaviors into a single story — don't create one story per micro-behavior.
   - Stories should map to specific workflows, not generic desires. (Bad: "As a user, I want secure messaging so I can collaborate safely." Good: a concrete, testable workflow — see references/example.md.)

3. FUNCTIONAL REQUIREMENTS (numbered, grouped by capability area, each testable)
   - Use normative language (SHALL / SHOULD / MUST NOT) for every requirement, per Validation Rule 2 — plain, non-testable phrasing like "the system should try to" is not acceptable for FRs any more than for NFRs.
   - Group related behaviors together — don't create one FR per micro-behavior.
   - Each requirement must be testable in a QA scenario.

4. NON-FUNCTIONAL REQUIREMENTS (organized by dimension)
   - SECURITY: every security requirement must cite the specific DoD/NIST control it satisfies (e.g., NIST SP 800-53 SC-8, SC-28).
   - PERFORMANCE: measurable thresholds for speed, throughput, capacity (e.g., <2s latency @ 2Mbps).
   - ACCESSIBILITY: WCAG 2.1 AA required; cite specific success criteria (e.g., WCAG 2.1 1.4.3).
   - MOBILE: if field users are in scope, mobile UX requirements are as critical as desktop.
   - OFFLINE: if tactical ops are in scope, offline capability is often mandatory (not optional).

5. SUCCESS METRICS (quantitative only, tied to operational/compliance outcomes)
   - Include only when meaningful baselines exist. Omit speculative metrics.
   - Metrics answer: "How do we know this feature solved the problem?"
   - Must be measurable with existing or clearly-defined new instrumentation.
   - Do NOT include vanity metrics or speculative projections without baselines.

6. OUT OF SCOPE (explicit list with reasoning for each exclusion)
   - Include items stakeholders might expect but are explicitly NOT in this release.
   - Explain the reasoning briefly (blocker, policy dependency, deferred phase). Prevents scope creep.

7. DEPENDENCIES (systems, APIs, design system components, other features)
   - External systems to integrate (CAC readers, Active Directory, DISA logging).
   - Mattermost features that must be updated or already exist.
   - Design system components required (e.g., classification badge component).
   - Highlight blockers that could delay the feature.

Additional guidance:
- VERIFY WITH PM: whenever uncertain about scope, flag it explicitly. Do not assume compliance requirements or operational necessity.
- Use normative language (SHALL/SHOULD/MUST NOT) for functional requirements as well as NFRs — see Validation Rule 2.
- Every requirement must be traceable to a user story or compliance mandate. If it exists in isolation, it doesn't belong in the PRD.
- Assume the reader is an engineer or QA tester, not a business stakeholder. Be concrete and testable.
- Group related behaviors — a feature with 5 clear requirements beats 20 granular ones.
```

## Input / Output

Inputs: `problem_statement`, `research_brief`, `user_roles`, `mission_tier`, `compliance_frameworks`, optional `timeline`, `success_metrics_baseline`, `known_constraints`. Output: `prd_metadata`, `executive_summary` (BLUF), `user_stories` (with acceptance criteria), `functional_requirements` (traced to stories), `non_functional_requirements` (security/performance/accessibility/mobile), `success_metrics`, `out_of_scope`, `dependencies`, `risk_assessment`, and `verification_with_pm`. Full JSON schemas: [`references/schema.md`](references/schema.md). End-to-end worked example: [`references/example.md`](references/example.md).

## Validation Rules

1. **Every requirement is traceable**: Each FR maps to a user story. Each NFR explains why it matters. No orphaned requirements.
2. **No soft language**: Use SHALL (must-have), SHOULD (best-effort in DoD), MUST NOT (prohibited). Avoid "should consider" or "might help."
3. **Acceptance tests are testable**: QA must verify without interpretation. "System is fast" is not testable; "<3 seconds at 2Mbps" is.
4. **Compliance controls are cited**: Every security requirement cites the specific NIST/DoD control it addresses.
5. **Success metrics are quantified**: Baseline and target must be numbers, not opinions. "Better than today" is not a success metric.
6. **Out-of-scope items have reasoning**: Cannot just say "deferred to Phase 2." Explain why (blocker, policy, etc.).

## Related Skills

- **Competitive Analyzer** — research input that informs PRD user stories and requirements
- **Threat Modeler** — reviews the PRD for security gaps and recommends requirement additions
- **Solution Scorer** — evaluates multiple approaches to achieving PRD requirements
- **standards-mapper** — supplies the `control_id` values this PRD reuses for traceability

Files in this skill

  • SKILL.md8.4 KB
  • references/example.md25.1 KB
  • references/schema.md7.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.