/create-prd-from-idea:cl:srsfrom create-prd-from-idea
Generates IEEE 830-compliant Software Requirements Specifications from raw client input. Walks through extraction, gap detection, and clarification before producing a structured SRS document.
Ships in create-prd-from-idea. 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.
Pipeline: Brainstorm → Receive → Extract → Gap Scan → Clarify (P1 → P2 → P3) → Generate → Review Gate → Save
Reference files (load before starting):
.claude/skills/srs-generator/references/srs-template.md.claude/skills/srs-generator/references/gap-detection-guide.mdContext files (load if present — created by .claude/scripts/init_project.py):
projects/{name}/_context/vision.md → pre-fills §1.2 Scope and §2.1projects/{name}/_context/features.md → pre-fills §2.2 and IN/OUT tableprojects/{name}/_context/tech_stack.md → pre-fills §3.5 Design Constraintsprojects/{name}/_context/glossary.md → pre-fills Appendix Aprojects/{name}/_context/quality_standards.md → pre-fills §3.3–§3.6 NFRIf context files exist: skip Brainstorm Gate questions already answered there.
Do NOT ask for raw requirements yet. First understand project context.
Ask these 3 questions in one AskUserQuestion batch:
Wait for answers. Use responses to seed §2.1 Product Perspective, §2.3 User Characteristics, and §1.2 Scope.
After receiving answers, prompt:
Context noted. Now paste your raw requirements — any format works:
client email, bullet list, chat transcript, PRD draft.
Wait for raw input, then proceed to Step 0.
Read full input silently. Emit:
Input received: ~{N} words | type: [email prose | bullet list | partial PRD | mixed]
Output structured block:
[GLOSSARY-GAP: {actor}][CONTEXT-GAP: no out-of-scope boundary stated]Append [Source: {location}] to every item.
Load .claude/skills/srs-generator/references/gap-detection-guide.md. Run all 7 patterns. Output:
| # | Priority | Pattern | Verbatim fragment / missing element |
|---|
Zero gaps → state explicitly, jump to SRS Generation.
If P1 gaps exist, emit AskUserQuestion with ≤7 questions. Label:
Round 1 of 3 — Scope & Actors (P1 — must resolve before writing SRS)
On receipt: integrate, mark resolved gaps. Unanswered P1 → [CONTEXT-GAP: {desc}] → Appendix B.
Block only if zero actors AND zero scope remain. Then proceed to Round 2.
If P2 gaps remain, emit AskUserQuestion with ≤7 questions. Label:
Round 2 of 3 — Functional Details (P2)
Unanswered → log assumed default in SRS and Appendix B. Then proceed to Round 3.
Emit AskUserQuestion with ≤7 questions. Label:
Round 3 of 3 — Non-Functional & Secondary Details (P3 — optional)
Reply 'skip' to use [TBD] placeholders.
On "skip": mark all P3 gaps [TBD: {condition} | owner: {role} | resolve-by: sprint planning].
Proceed to SRS Generation.
Populate .claude/skills/srs-generator/references/srs-template.md with all gathered information.
§1.2 Scope — mandatory IN / OUT table for every feature area.
§3.2 Functional Requirements — each FR block:
FR-NN [Essential|Conditional|Optional]
Requirement: The system shall {verb} {object} when {condition}.
Actor: {role}
Precondition: {state}
Given: {context}
When: {trigger — exactly one}
Then: {externally observable outcome}
Source: [{location}]
Non-observable "Then" → [VERIFIABILITY-FAIL: FR-NN] → Appendix B
§3.3–§3.6 NFR — Quality Attribute Scenario (ISO/IEC 25023):
NFR-NN [{ISO/IEC 25010 characteristic}]
Source / Stimulus / Environment / Artifact / Response / Response Measure: {numeric}
After populating, run IEEE 830 quality checklist from gap-detection-guide.md. Output verdict:
COMPLIANT — all sections present, Appendix B emptyPARTIALLY COMPLIANT — sections present, Appendix B has open itemsNON-COMPLIANT — required sections missingReview complete. SRS is {verdict}.
Open issues: {count} (see Appendix B).
Proceed to save? [Y / n]
Wait for explicit confirmation before writing any file.
docs/srs-{slug}-{YYYYMMDD}.mddocs/ if absent, write file, confirm: "Saved ✓ {absolute_path}"What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skillmds/skillmd --plugin create-prd-from-idea11 skills in this plugin
/ardGuides users through a structured interview to clarify their AI agent idea and produces an Agent Requirement Document (ARD)./brave-manRuns a structured clarifying interview for new project requests before building. Instead of writing code, it outputs a fully specified prompt.md for a fresh agent session to execute, preventing expensive mistakes./five-element-spec-scope-before-codingFive-Element Spec: Scope Before CodingTranslate a vague request or GitHub issue into a concrete, testable spec using five structured elements (problem, scope, acceptance criteria, edge cases, success criterion) before writing any code. Prevents scope creep, PR churn, and mid-implementation pivots./idea-osFive-phase pipeline (triage → clarify → research → PRD → plan) that turns a raw idea into four linked files: clarifying questions, deep research, a PRD with non-goals and metrics, and a phased execution plan with mermaid user journey and kill criteria./make-planCreate a detailed, phased implementation plan with documentation discovery. Use when asked to plan a feature, task, or multi-step implementation — especially before executing with do./pddTransforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative requirements clarification, research, design, and planning.Other plugins' skills for the same job