From asyrafhussin-agent-skills-1
Step-by-step workflow for writing Product Requirements Documents. Use when creating PRDs, documenting features, writing specifications, or planning new products. Triggers on "write PRD", "create PRD", "document requirements", "feature spec", or "product requirements".
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin asyrafhussin-agent-skills-1This skill uses the workspace's default tool permissions.
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.
AGENTS.mdREADME.mdmetadata.jsonrules/_sections.mdrules/_template.mdrules/disc-clarifying-questions.mdrules/disc-codebase-exploration.mdrules/disc-problem-first.mdrules/disc-stakeholder-alignment.mdrules/metric-kpis.mdrules/metric-measurable-success.mdrules/metric-no-vague-language.mdrules/quality-acceptance-criteria.mdrules/quality-iterative-review.mdrules/req-functional.mdrules/req-non-functional.mdrules/req-user-personas.mdrules/req-user-stories.mdrules/scope-dependencies.mdrules/scope-non-goals.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
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