An Agent Skill for Problem-Based Software Requirements Specification - AI-native methodology for better requirements engineering
An Agent Skill following the Problem-Based Software Requirements Specification (SRS) methodology. Designed for integration with AI agents like GitHub Copilot and Claude Code.
This repository is a continuation of research presented in the paper: "Problem-Based SRS: A Novel Approach for Software Requirements Specification" by Gorski and Stadzisz.
The methodology addresses a critical challenge: accurately capturing business intents of stakeholders, which remains a major factor in software project failures. The Problem-Based SRS methodology consists of five main steps that systematically analyze business context and specify software requirements while considering solution design.
.github/prompts/) and AgentSkills (skills/) for maximum compatibility with AI coding assistants.
Enable software engineers and requirements analysts to leverage AI agents for better requirements engineering by providing:
For each phase of requirements gathering
Methodology ensuring requirements solve real needs
Compatible with Claude Code, Claude.ai, and Claude API
No heavy tooling or frameworks required
Ready for immediate use
The Problem-Based SRS methodology consists of five structured steps that systematically analyze business context and specify software requirements:
Identify the WHY - understand and classify customer problems by severity
/cpDraft the software high-level components and solution approach
/glanceDefine the WHAT - customer needs that should help solve the problems
/cn /zigzag (validate)Detail the software architecture, features, and constraints
/visionDefine the HOW - detailed implementation requirements
/fr /zigzag (validate)
Every requirement traces back to ensure it solves real problems. Each artifact is interconnected:
Customer Problems are classified by severity to prioritize what must be solved:
The prompts are available as .prompt.md files in .github/prompts/. In VS Code, Visual Studio, or JetBrains IDEs:
/cp # Start with Customer Problems
/glance # Create Software Glance
/cn # Generate Customer Needs
/vision # Build Software Vision
/fr # Specify Functional Requirements
/zigzag # Validate traceability
/srs-coordinator # Full methodology orchestration
The methodology works with any LLM (ChatGPT, DeepSeek, Claude, Llama, etc.).
Option 1: AgentSkills (Open Standard)
The skills/ directory follows the AgentSkills standard, compatible with any tool that implements it.
skills/problem-based-srs/ (including the references folder).Simply describe your business context or problem:
I need to create requirements for [feature name]
Business Context: [describe current situation]
The skill will automatically:
Start with Customer Problems:
Help me identify customer problems for my inventory management system
Create Software Glance:
I have customer problems documented, need to create a software glance
Validate Traceability:
Check if my requirements properly trace back to customer problems
When: Building a new feature from business need
Start with: /srs-coordinator
Follow: All 5 steps sequentially
When: You have draft requirements that need structure
Start with: /fr in review mode
Then: Work backwards to validate against CNs and CPs
When: Stakeholders describe solutions, not problems
Start with: /cp in generation mode
Use: Discovery questions to elicit actual problems
When: Validating completeness before implementation
Start with: /zigzag
Verify: All CPs addressed, all CNs trace to CPs, all FRs trace to CNs
/cp to capture user stories as customer problems/cn to define acceptance criteria/fr to break down into technical requirements/glance for high-level approach/vision for architectural decisions/zigzag to ensure design addresses all needs/fr requirements as implementation checklist/fr requirementsThis repository supports multiple formats:
.github/prompts/ - For VS Code, Visual Studio, and JetBrains IDEs
srs-coordinator.prompt.md - Main orchestrator promptcp.prompt.md - Step 1: Customer Problemsglance.prompt.md - Step 2: Software Glancecn.prompt.md - Step 3: Customer Needsvision.prompt.md - Step 4: Software Visionfr.prompt.md - Step 5: Functional Requirementszigzag.prompt.md - Quality validation toolskills/problem-based-srs/ - For Claude Code and Claude.ai
SKILL.md - Main orchestrator skillreferences/ - Detailed instructions for each step
step1-customer-problems.mdstep2-software-glance.mdstep3-customer-needs.mdstep4-software-vision.mdstep5-functional-requirements.mdzigzag-validator.mddocs/ - Full methodology and research paperREADME.md - Quick start guide and examplesCONTRIBUTING.md - Contribution guidelinesReady to improve your requirements engineering with AI-assisted methodology?
View on GitHub Browse Prompts View Skills