By RafaelGorski
Guides developers through a structured Problem-Based SRS methodology to capture Customer Problems, Customer Needs, and Functional Requirements with full traceability, from business context to detailed specifications.
Create the first abstract representation of a software solution from Customer Problems. Use after identifying CPs to design high-level system boundaries and components. Step 2 of Problem-Based SRS methodology.
Transform Software Glance and Customer Needs into a detailed Software Vision with positioning, stakeholders, features, and architecture. Use after Customer Needs. Step 4 of Problem-Based SRS methodology.
Validate traceability and consistency across Customer Problems, Customer Needs, and Functional Requirements domains. Use to check completeness, identify gaps, and ensure all requirements trace to real business problems.
Establish structured business context and project principles before problem discovery. Use as Step 0 of Problem-Based SRS to capture project identity, business principles, stakeholders, domain boundaries, and success criteria that feed into Customer Problems identification.
Analyze specification quality using Axiomatic Design principles. Optional advanced validation for critical systems. Evaluates independence, completeness, and information content of requirements.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
AI-guided requirements engineering that traces every feature back to the customer problem it solves. An AgentSkill for GitHub Copilot, Claude Code, and other AI coding assistants.
A stakeholder says: "We need a reporting dashboard with 20 charts."
You build it. Three weeks. Ship it. They use 3 charts. The actual problem was slow data access, not visualization. Two weeks wasted, one frustrated team.
This happens because requirements start with what stakeholders ask for instead of what they need. Problem-Based SRS fixes the order: identify the problem first, then derive the solution.
With this methodology, the same request becomes:
CP.01: "Managers must access sales data within 5 seconds to make decisions."
From that problem, you derive the need (CN: real-time data access), then the requirement (FR: data API + 3 targeted charts). Built in one week. Solves the actual problem.
Your AI assistant walks you through six steps. Each builds on the previous:
graph LR
A[Your input] --> B0[CONTEXT]
B0 --> B[WHY]
B --> C[Glance]
C --> D[WHAT]
D --> E[Vision]
E --> F[HOW]
F --> G[Build]
style B0 fill:#dda0dd,color:#000
style B fill:#c44,color:#fff
style C fill:#3ba,color:#fff
style D fill:#47a,color:#fff
style E fill:#6a8,color:#fff
style F fill:#da6,color:#000
| Step | Command | You answer | You get |
|---|---|---|---|
| 0. Business Context | /business-context | Project identity, constraints, success criteria | Governing principles for all decisions |
| 1. Customer Problems | /customer-problems | What's broken and for whom | Prioritized problems (Obligation / Expectation / Hope) |
| 2. Software Glance | /software-glance | High-level solution direction | Shared understanding of scope and boundaries |
| 3. Customer Needs | /customer-needs | Required outcomes per problem | Measurable success criteria |
| 4. Software Vision | /software-vision | Architecture and technical approach | Technical roadmap with stakeholder alignment |
| 5. Functional Requirements | /functional-requirements | Detailed behavior specs | Testable requirements traced to problems |
Every requirement traces backward: FR → CN → CP. You can always answer "Why are we building this?"
Use /zigzag-validator at any point to verify the chain is complete.
Not all problems are equal. The methodology classifies each by severity:
| Class | Verb | Priority | Consequence if unsolved |
|---|---|---|---|
| Obligation | must | High | Legal, contractual, or operational failure |
| Expectation | expects | Medium | Degraded business outcomes |
| Hope | hopes | Low | Missed improvement opportunity |
This prevents "everything is P1" by grounding priority in the problem's actual impact.
Install (ask your AI assistant):
Install the Problem-Based SRS skills from RafaelGorski/Problem-Based-SRS into .github/skills/
For Claude Code, use .claude/skills/ instead. Skills must go in the agent-specific directory, not a skills/ folder at the repo root.
Run your first session:
/problem-based-srs
Describe your situation. The AI handles the rest:
I need requirements for an inventory management system.
Our warehouse tracks everything in spreadsheets and loses $50k/month due to errors.
The methodology will produce traced artifacts from business context through functional requirements, stored in your project's .spec/ directory.
Here is one pass through the methodology for the warehouse scenario above:
CONTEXT
Project: InventoryPro — warehouse logistics
Principle: "Inventory data must reflect physical reality within 0.1% tolerance" (Mandatory)
Success: "Reduce inventory discrepancy from $50k to $5k/month"
WHY (Customer Problems)
CP.01 Warehouse must track inventory accurately otherwise $50k/month lost to errors
CP.02 Staff expects real-time inventory visibility otherwise delays in fulfillment
WHAT (Customer Needs)
CN.01.1 Warehouse needs system to track inventory with 99.9% accuracy
CN.02.1 Staff needs system to scan items and update inventory within 2 seconds
HOW (Functional Requirements)
FR.01.1.1 System shall maintain 99.9% accuracy in inventory counts
FR.02.1.1 System shall scan barcodes and update inventory database within 2 seconds
npx claudepluginhub rafaelgorski/problem-based-srsComprehensive AI-assisted requirements elicitation. Supports stakeholder interviews (LLMREI pattern), document extraction, stakeholder simulation, domain research, gap analysis, user story mapping, customer journey mapping, JTBD analysis, prioritization (MoSCoW/Kano/WSJF), surveys, workshops, brainstorming, and business rules analysis. Exports to canonical, EARS, and Gherkin formats.
PRDs, user stories, acceptance criteria, and technical specifications.
Spec-driven development methodology for Claude Code. Provides skills for requirements engineering (EARS format), design documentation, task breakdown, AI prompting strategies, quality assurance, and troubleshooting.
AI assistant framework for sphinx-needs projects: change analysis, traceability, MECE, authoring, verification, and release management
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research