Guides writing Product Requirements Documents with a 6-step workflow covering problem definition, user stories, functional specs, and success metrics.
Ships in asyrafhussin-agent-skills-1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Step-by-step workflow for writing clear, actionable Product Requirements Documents. Follow the 6-step process below, using the 25 rules across 7 categories as supporting knowledge.
Follow these steps in order. Skip a step only if the user has already provided that information. Do NOT start drafting before completing discovery.
Determine what you're working with:
disc-codebase-exploration.Ask 3-5 targeted questions to fill knowledge gaps. Use lettered options (A/B/C) when there are clear choices, and open-ended questions when you need free-text answers. Focus on:
Mark unknowns as TBD, not assumptions. See disc-clarifying-questions.
Use the template from struct-prd-template and fill in all 12 sections:
Key rules to follow while drafting:
disc-problem-first)metric-no-vague-language)quality-acceptance-criteria)Show the draft to the user. Ask specifically:
Incorporate feedback, resolve open questions, and update the PRD. Add a review history entry if the PRD will be shared with a team.
Save to docs/prd/{feature-name}.md using kebab-case naming. Include frontmatter:
---
title: Feature Name
status: draft
author: Author Name
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
The 25 rules below provide detailed guidance for each step. Read them when you need deeper context.
disc-problem-first - Start with the problem, not the solutiondisc-clarifying-questions - Ask clarifying questions before writingdisc-codebase-exploration - Explore the codebase before draftingdisc-stakeholder-alignment - Align with stakeholders on goals and constraintsstruct-standard-sections - Use standardized PRD sectionsstruct-executive-summary - Write a concise executive summarystruct-prd-template - Provide a ready-to-use PRD templatestruct-output-location - Save PRDs to a consistent file locationstruct-single-source-of-truth - PRD is the definitive reference for a featurereq-user-personas - Define target user personasreq-user-stories - Write user stories with acceptance criteriareq-functional - Define specific functional requirementsreq-non-functional - Define non-functional requirementsscope-out-of-scope - Explicitly define what is out of scopescope-non-goals - List non-goals to protect timelinescope-dependencies - Identify dependencies and blockersmetric-measurable-success - Define measurable success criteriametric-no-vague-language - Replace vague terms with quantifiable benchmarksmetric-kpis - Define 3-5 key performance indicatorstech-data-model - Document the data model and relationshipstech-auth-model - Define authentication and authorizationtech-api-routes - Document API and route structuretech-integration-points - Identify third-party integrationsquality-acceptance-criteria - Write testable acceptance criteriaquality-iterative-review - Iterate with feedback before finalizingFor the complete guide with all rules expanded: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)metadata.json (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/disc-clarifying-questions.md (opens in a new tab)rules/disc-codebase-exploration.md (opens in a new tab)rules/disc-problem-first.md (opens in a new tab)rules/disc-stakeholder-alignment.md (opens in a new tab)rules/metric-kpis.md (opens in a new tab)rules/metric-measurable-success.md (opens in a new tab)rules/metric-no-vague-language.md (opens in a new tab)rules/quality-acceptance-criteria.md (opens in a new tab)rules/quality-iterative-review.md (opens in a new tab)rules/req-functional.md (opens in a new tab)rules/req-non-functional.md (opens in a new tab)rules/req-user-personas.md (opens in a new tab)rules/req-user-stories.md (opens in a new tab)rules/scope-dependencies.md (opens in a new tab)rules/scope-non-goals.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/api-design-patternsRESTful API design, error handling, versioning, and best practices. Use when designing APIs, reviewing endpoints, implementing error responses, or setting up API structure. Triggers on "design API", "review API", "REST best practices", or "API patterns"./clean-code-principlesSOLID principles, design patterns, DRY, KISS, and clean code fundamentals. Use when reviewing architecture, checking code quality, refactoring, or discussing design decisions. Triggers on "review architecture", "check code quality", "SOLID principles", "design patterns", or "clean code"./code-slopDetect AI-generated code patterns ("slop") in PHP/Laravel and TypeScript/React source — comment narration, generic naming, premature interfaces, defensive overdose, mock-everything tests, and the absence of human "scars". Use when reviewing AI-assisted PRs, auditing code for taste/quality (not metrics — that's technical-debt), or hardening a code-review checklist. Triggers on "review for AI slop", "find AI patterns", "check code feels human", "audit code-quality taste"./asyrafhussin-agent-skills-1:prd-writingfrom asyrafhussin-agent-skills-1
asyrafhussin-agent-skills-1@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin asyrafhussin-agent-skills-1Other plugins' skills for the same job