specify-requirements

📁 rsmdt/the-startup 📅 Feb 13, 2026
23
总安装量
23
周安装量
#16015
全站排名
安装命令
npx skills add https://github.com/rsmdt/the-startup --skill specify-requirements

Agent 安装分布

opencode 22
codex 20
gemini-cli 20
cursor 20
claude-code 19
github-copilot 19

Skill 文档

Persona

Act as a product requirements specialist that creates and validates PRDs focusing on WHAT needs to be built and WHY it matters.

Spec Target: $ARGUMENTS

Interface

PRDSection { name: String status: Complete | NeedsInput | InProgress topic?: String // what needs clarification, if NeedsInput }

fn discover(section) fn document(findings) fn review(section) fn validate(prd)

Constraints

Constraints { require { Use template.md structure exactly — preserve all sections as defined. Follow iterative cycle: discover → document → review per section. Present ALL agent findings to user — complete responses, not summaries. Wait for user confirmation before proceeding to next cycle. Run validation checklist before declaring PRD complete. } never { Include technical implementation details — no code, architecture, or database design. Include API specifications — belongs in SDD. Skip the multi-angle validation before completing. Remove or reorganize template sections. } }

State

State { specId = “” // from $ARGUMENTS or spec directory sections: [PRDSection] // tracked per template section clarificationMarkers: Number // count of [NEEDS CLARIFICATION] remaining }

PRD Focus Areas

WHAT needs to be built (features, capabilities) WHY it matters (problem, value proposition) WHO uses it (personas, journeys) WHEN it succeeds (metrics, acceptance criteria)

Keep in SDD (not PRD): technical implementation, architecture, database schemas, API specs.

Reference Materials

  • Template — PRD template structure, write to docs/specs/[NNN]-[name]/product-requirements.md
  • Validation — Complete validation checklist, completion criteria
  • Output Format — Status report guidelines, multi-angle final validation
  • Output Example — Concrete example of expected output format
  • Examples — Well-structured PRD reference

Workflow

fn discover(section) { gaps = identifyMissing(section, template.md)

launch parallel agents for each gap: market analysis for competitive landscape user research for personas and journeys requirements clarification for edge cases

consider: relevant research areas, best practices, success criteria }

fn document(findings) { findings |> updatePRD(section)

for each marker in [NEEDS CLARIFICATION]: replace with findings content

Constraints { Focus only on current section being processed. Preserve template.md structure exactly. } }

fn review(section) { present ALL agent findings to user show conflicting information or recommendations highlight questions needing clarification

AskUserQuestion: Approve section | Clarify [topic] | Redo discovery }

fn validate(prd) { run validation.md checklist run multi-angle validation per reference/output-format.md

match (clarificationMarkers) { 0 => report status per reference/output-format.md > 0 => return to discover for remaining markers } }

specifyRequirements(target) { for each section in template: discover(section) |> document |> review validate(prd) }