[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBMR12AAHSXDNZNDQ492F5":3,"skill-same:01M7FBMR12AAHSXDNZNDQ492F5":101},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":13,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7FBMR12AAHSXDNZNDQ492F5","problem-based-srs",null,"Complete Problem-Based Software Requirements Specification methodology following Gorski & Stadzisz research. Use when you need to perform requirements engineering from business problems to functional requirements with full traceability.","hienpham0344\u002FAgent-kit","hienpham0344","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F202117481?v=4","01M7FAXAHS9A2VJ6F0AF1W8EY7","01M7FAXAJDAEP8NEG7B0KFTS90",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: problem-based-srs\ndescription: Complete Problem-Based Software Requirements Specification methodology following Gorski & Stadzisz research. Use when you need to perform requirements engineering from business problems to functional requirements with full traceability.\nlicense: MIT\nmetadata:\n  author: rafael-gorski\n  version: \"1.3\"\n  methodology: problem-based-srs\n---\n\n# Problem-Based SRS\n\n> The key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\", \"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"NOT RECOMMENDED\", \"MAY\", and \"OPTIONAL\" in this document are to be interpreted as described in BCP 14 [RFC 2119](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc2119) [RFC 8174](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc8174) when, and only when, they appear in all capitals, as shown here.\n\nOrchestrate requirements engineering using the Problem-Based SRS methodology (Gorski & Stadzisz). This skill coordinates a structured process (Step 0 through Step 5) that ensures every requirement traces back to a real business problem.\n\n## Methodology Overview\n\n> **Diagram standard:** Use Mermaid UML diagrams as the preferred format for all visual artifacts. Mermaid is **mandatory** for Software Glance (Step 2) and Software Vision (Step 4), and **preferred** for other steps where diagrams add value.\n\n```\nStakeholder Input\n       ↓\n┌──────────────────┐\n│ Step 0: BC       │ → \u002Fproblem-based-srs business-context\n│ Business Context │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 1: CP       │ → \u002Fproblem-based-srs problems\n│ Customer Problems│\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 2: SG       │ → \u002Fproblem-based-srs software-glance\n│ Software Glance  │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 3: CN       │ → \u002Fproblem-based-srs needs\n│ Customer Needs   │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 4: SV       │ → \u002Fproblem-based-srs software-vision\n│ Software Vision  │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 5: FR\u002FNFR   │ → \u002Fproblem-based-srs functional-requirements\n│ Requirements     │\n└──────────────────┘\n```\n\n**Traceability Chain:** FR → CN → CP (every requirement traces back to a problem)\n\n**Domain Mapping (WHY → WHAT → HOW):**\n| Domain | Artifact | Question Answered |\n|--------|----------|-------------------|\n| **WHY** | Customer Problems (CP) | Why is the solution needed? (Business justification) |\n| **WHAT** | Customer Needs (CN) | What outcomes must the software provide? |\n| **HOW** | Functional Requirements (FR) | How will the system behave? |\n\n## Available Actions\n\nThe Problem-Based SRS methodology is driven by a **single command** — `\u002Fproblem-based-srs` —\nthat dispatches to a step via an **action** argument. Run `\u002Fproblem-based-srs` with no\naction (or `full`) to orchestrate the complete methodology end-to-end.\n\n| Action | Command | Purpose |\n|--------|---------|---------|\n| `business-context` | `\u002Fproblem-based-srs business-context` | Step 0: Establish structured business context and principles |\n| `problems` | `\u002Fproblem-based-srs problems` | Step 1: Identify and classify customer problems |\n| `software-glance` | `\u002Fproblem-based-srs software-glance` | Step 2: Create high-level solution view |\n| `needs` | `\u002Fproblem-based-srs needs` | Step 3: Specify customer needs (outcomes) |\n| `software-vision` | `\u002Fproblem-based-srs software-vision` | Step 4: Define software vision and architecture |\n| `functional-requirements` | `\u002Fproblem-based-srs functional-requirements` | Step 5: Generate functional requirements |\n| `validate` | `\u002Fproblem-based-srs validate` | Validate traceability across domains (ZigZag) |\n| `complexity` | `\u002Fproblem-based-srs complexity` | Optional: Axiomatic Design quality analysis |\n| `full` | `\u002Fproblem-based-srs` | Run the complete methodology (Step 0 → Step 5) |\n\n### How actions are dispatched\n\nEach action's detailed, step-specific instructions live in a reference file next to\nthis skill: **`reference\u002F\u003Caction>.md`** (the file name IS the action). When the user\ninvokes an action, you MUST read the matching reference file **before** producing any\nartifact, and follow it exactly:\n\n| Action | Reference file |\n|--------|----------------|\n| `business-context` | [`reference\u002Fbusiness-context.md`](reference\u002Fbusiness-context.md) |\n| `problems` | [`reference\u002Fproblems.md`](reference\u002Fproblems.md) |\n| `software-glance` | [`reference\u002Fsoftware-glance.md`](reference\u002Fsoftware-glance.md) |\n| `needs` | [`reference\u002Fneeds.md`](reference\u002Fneeds.md) |\n| `software-vision` | [`reference\u002Fsoftware-vision.md`](reference\u002Fsoftware-vision.md) |\n| `functional-requirements` | [`reference\u002Ffunctional-requirements.md`](reference\u002Ffunctional-requirements.md) |\n| `validate` | [`reference\u002Fvalidate.md`](reference\u002Fvalidate.md) |\n| `complexity` | [`reference\u002Fcomplexity.md`](reference\u002Fcomplexity.md) |\n| `live` | [`reference\u002Flive.md`](reference\u002Flive.md) — opens the SRS Navigator canvas (`\u002Flive`) |\n\nFor a **full** run (bare `\u002Fproblem-based-srs`), work through the steps in order,\nreading each `reference\u002F\u003Caction>.md` as you reach that step.\n\n## 🔖 Identifier Notation (CANONICAL)\n\nEvery artifact ID uses **dotted notation**, which encodes the traceability chain in\nthe ID itself — reading an ID tells you what it descends from:\n\n| Artifact | Format | Example | Reads as |\n|----------|--------|---------|----------|\n| Customer Problem | `CP.{n}` | `CP.01` | the first customer problem |\n| Sub-problem | `CP.{n}.{m}` | `CP.01.1` | first facet of `CP.01` |\n| Sub-sub-problem (rare) | `CP.{n}.{m}.{k}` | `CP.01.2.1` | first facet of `CP.01.2` |\n| Customer Need | `CN.{cp}.{n}` | `CN.01.1` | first need addressing `CP.01` |\n| Functional Requirement | `FR.{cp}.{cn}.{n}` | `FR.01.1.1` | first FR implementing `CN.01.1` |\n| Non-Functional Requirement | `NFR.{n}` | `NFR.01` | the first quality requirement |\n\n**Rules:**\n\n1. **Always emit dotted IDs.** `CP.01`, `CN.01.1`, `FR.01.1.1` — never `CP.1.1` for a\n   need or other ad-hoc shapes.\n2. **An ID must state its parent.** `FR.01.1.1` implements `CN.01.1`, which addresses\n   `CP.01`. If you cannot name the parent, the artifact is not ready to be written.\n3. **Hyphen IDs (`CP-001`, `FR-002`) are legacy.** Existing specs that use them stay\n   valid and the tooling still reads them, but do NOT produce new ones.\n4. **Reference IDs verbatim in prose** (e.g. \"Addresses CP.01\") so traceability can be\n   extracted automatically.\n\n## 📁 Saving Progress (CRITICAL)\n\n**IMPORTANT:** At each step, you MUST save the produced artifacts to files. Progress is NOT automatically saved between sessions.\n\n### ⚠ File Creation Rule: ONE FILE AT A TIME\n\n**NEVER create multiple artifact files in parallel.** Always create files **one at a time, sequentially** — wait for each file to be saved before creating the next one. Batch\u002Fparallel file creation causes JSON serialization errors in tool calls when the combined content is too large.\n\n### First Time Setup\n\nWhen starting a new project, save artifacts to `.spec\u002F` by default (a hidden folder at the project root). If the user specifies a different folder or an existing artifact folder is detected (e.g., `docs\u002Fsrs\u002F`, `requirements\u002F`), use that location instead.\n\n### Artifact File Structure\n\nCreate the following folder structure as you progress through each step:\n\n```\n.spec\u002F\n├── 00-business-context.md            # Step 0: Business context, principles, and constraints\n├── 01-customer-problems.md           # Step 1: CPs (WHY)\n├── 02-software-glance.md             # Step 2: High-level solution view\n├── 03-customer-needs.md              # Step 3: CNs (WHAT)\n├── 04-software-vision.md             # Step 4: Architecture and scope\n├── functional-requirements\u002F          # Step 5: Individual FR files\n│   ├── _index.md                     # FR summary and traceability matrix\n│   ├── FR.01.1.1-[short-name].md     # Individual FR file\n│   ├── FR.01.1.2-[short-name].md     # Individual FR file\n│   └── ...                           # One file per FR\n├── non-functional-requirements\u002F      # NFR files (quality attributes)\n│   ├── _index.md                     # NFR summary\n│   ├── NFR.01-[short-name].md        # Individual NFR file\n│   └── ...                           # One file per NFR\n└── traceability-matrix.md            # CP → CN → FR complete mapping\n```\n\n### Why Individual FR\u002FNFR Files?\n\nEach Functional Requirement and Non-Functional Requirement is saved as a **separate file** so that:\n\n1. **Engineers can work independently** on different requirements\n2. **Version control** tracks changes to individual requirements\n3. **Code reviews** can focus on specific requirements\n4. **Traceability** is maintained at the file level\n5. **Status tracking** is easier (draft, approved, implemented, tested)\n\n### FR and NFR File Templates\n\nBoth templates live in the Step 5 action file — see **Individual FR File Template**\nand **Individual NFR File Template** in `reference\u002Ffunctional-requirements.md`.\nLoad that file before writing any requirement file so every FR\u002FNFR has the same\nshape, the same traceability table, and the same acceptance-criteria format.\n\n### Save After Each Step\n\n**After completing each step, ALWAYS:**\n\n1. **Create or update** the corresponding file(s)\n2. **Confirm with user** that files were saved\n3. **Show the file paths** for reference\n\nExample handoff for Step 5:\n\n```\n✅ Step 5 Complete: Functional Requirements Specified\n\n📁 Saved to: .spec\u002Ffunctional-requirements\u002F\n   ├── _index.md (summary with 8 FRs)\n   ├── FR.01.1.1-user-registration.md   → CN.01.1 (User Registration)\n   ├── FR.01.1.2-user-authentication.md → CN.01.1 (User Authentication)\n   ├── FR.01.2.1-data-validation.md     → CN.01.2 (Data Validation)\n   ├── FR.01.2.2-error-handling.md      → CN.01.2 (Error Handling)\n   ├── FR.02.1.1-report-generation.md   → CN.02.1 (Report Generation)\n   ├── FR.02.1.2-export-functionality.md→ CN.02.1 (Export Functionality)\n   ├── FR.02.2.1-search-capability.md   → CN.02.2 (Search Capability)\n   └── FR.02.2.2-filter-options.md      → CN.02.2 (Filter Options)\n\n📁 Updated: .spec\u002Ftraceability-matrix.md\n\nEngineers can now work on individual requirements independently.\nEach FR file contains full context and acceptance criteria.\n```\n\n### Business Context File (00-business-context.md)\n\nCreate this file at the start of every project using the `business-context` skill.\n\nThe business context captures: project identity, business principles (Mandatory\u002FGuiding\u002FAspirational), stakeholders with influence levels, current situation (process, pain points, existing systems), domain boundaries, constraints with impact assessment, and measurable success criteria.\n\n> **Use the `business-context` skill** for the full template, discovery questions, and examples.\n\n## How to Use This Skill\n\n### Clarifying Questions Pattern\n\n**Every step in this methodology includes a mandatory Discovery Interview.** Before generating artifacts, each skill MUST stop and ask the user clarifying questions to avoid assumptions. STOP and ask the user to clarify what you cannot infer. Use the ask_user tool if available; otherwise ask directly in chat and wait for an answer.\n\n> **Autopilot \u002F non-interactive mode does NOT waive the Discovery Interview.** The interview *is* the task, not an ambiguity to resolve autonomously. A harness instruction to \"bias to action\" or \"decide, don't ask\" does not override this step — pausing to ask is the required action here. Do not skip the interview merely because autopilot is active or the user is away; if no user can answer, still post the questions and wait rather than fabricating answers from repository files.\n\n**Rules for all steps:**\n- Ask **2-3 questions per round**, then STOP and wait for answers\n- Treat existing .spec\u002F artifacts as anchors — they reduce questions but don't eliminate the interview\n- **Assert-then-confirm:** When context makes one option obvious, state it and ask to confirm or override. Don't present a menu when the answer is already clear.\n- **Skip only when** a *confirmed* prior artifact plus the user's own prompt unambiguously answer all needed inputs. A README or source code that you inferred context from does NOT count. State what you're using as basis.\n- Questions must reference the specific context at hand — never ask generic questions\n- **Starting from an existing system?** Scanning the repository is legitimate *preparation* — it\n  gives you evidence to assert and confirm — but it is not a shortcut past the interview. See\n  **Mode 3: Brownfield Discovery** in [`reference\u002Fproblems.md`](reference\u002Fproblems.md).\n\n### Starting Fresh\nWhen user provides business context or problem description:\n1. **Ask where to save artifacts** (if not already specified)\n2. **Start with Step 0** — Use the `business-context` action to establish structured context\n3. **Save `00-business-context.md`** with the structured business context\n4. Detect current step (see Detection Heuristics below)\n5. Invoke the appropriate action\n6. Follow instructions from that skill\n7. **Save output to the corresponding file(s)**\n8. Guide user through the process\n\n### Continuing Work\nIf user has existing artifacts (CPs, CNs, etc.):\n1. **Check for existing artifact folder** (`.spec\u002F`, `docs\u002Fsrs\u002F`, `requirements\u002F`, etc.)\n2. **Read existing files** to understand current state\n3. Identify what they have\n4. Jump to appropriate step\n5. Invoke that step's action\n6. Continue from there, **updating files as needed**\n\n### Validation\nAt any point, use `\u002Fproblem-based-srs validate` to check consistency.\n\n## Detection Heuristics\n\nDetermine current step by checking what artifacts exist:\n\n| If user has... | Current Step | Action | Save To |\n|----------------|--------------|--------|---------|\n| Nothing \u002F business idea only | 0 | `business-context` | 00-business-context.md |\n| Business Context (BC) | 1 | `problems` | 01-customer-problems.md |\n| Customer Problems (CPs) | 2 | `software-glance` | 02-software-glance.md |\n| CPs + Software Glance | 3 | `needs` | 03-customer-needs.md |\n| CPs + CNs + Software Glance | 4 | `software-vision` | 04-software-vision.md |\n| CPs + CNs + Software Vision | 5 | `functional-requirements` | functional-requirements\u002F*.md |\n\n## The Steps (Quick Reference)\n\n### Step 0: Business Context (BC)\n**Purpose:** Establish structured business context and project principles\n**Input:** Stakeholder conversations, project briefs, existing documentation\n**Output:** Business context document with identity, principles, stakeholders, boundaries, constraints, success criteria\n**Save to:** `00-business-context.md`\n**Action:** `\u002Fproblem-based-srs business-context`\n\n### Step 1: Customer Problems (CP)\n**Purpose:** Identify and document business problems\n**Input:** Business Context (Step 0)\n**Output:** List of CPs classified as Obligation\u002FExpectation\u002FHope\n**Syntax:** `[Subject] [must\u002Fexpects\u002Fhopes] [Object] [Penalty]`\n**Save to:** `01-customer-problems.md`\n**Action:** `\u002Fproblem-based-srs problems`\n\n### Step 2: Software Glance (SG)\n**Purpose:** Create initial abstract solution view  \n**Input:** Customer Problems  \n**Output:** High-level system description with boundaries and components  \n**Save to:** `02-software-glance.md`  \n**Action:** `\u002Fproblem-based-srs software-glance`\n\n### Step 3: Customer Needs (CN)\n**Purpose:** Specify outcomes software must provide  \n**Input:** CPs + Software Glance  \n**Output:** CNs with outcome classes (Information\u002FControl\u002FConstruction\u002FEntertainment)  \n**Syntax:** `[Subject] needs [system] to [Verb] [Object] [Condition]`  \n**Save to:** `03-customer-needs.md`  \n**Action:** `\u002Fproblem-based-srs needs`\n\n### Step 4: Software Vision (SV)\n**Purpose:** Define high-level scope and positioning  \n**Input:** CNs + Software Glance  \n**Output:** Vision document with stakeholders, features, architecture  \n**Save to:** `04-software-vision.md`  \n**Action:** `\u002Fproblem-based-srs software-vision`\n\n### Step 5: Functional Requirements (FR) & Non-Functional Requirements (NFR)\n**Purpose:** Generate detailed requirements  \n**Input:** CNs + Software Vision  \n**Output:** Individual FR and NFR files with traceability  \n**Syntax FR:** `The [System] shall [Verb] [Object] [Constraint] [Condition]`  \n**Save to:** `functional-requirements\u002FFR.[CP].[CN].[N]-[short-name].md` and `non-functional-requirements\u002FNFR.[N]-[short-name].md`  \n**Action:** `\u002Fproblem-based-srs functional-requirements`\n\n## Quality Gates\n\n**IMPORTANT:** Zigzag validation using the `\u002Fproblem-based-srs validate` action is **MANDATORY** after Steps 3 and 5 to verify traceability and identify gaps.\n\n### After Step 0 (BC)\n- [ ] Project identity complete (name, domain, purpose)\n- [ ] Business principles defined and classified (Mandatory\u002FGuiding\u002FAspirational)\n- [ ] Stakeholders identified with roles and influence\n- [ ] Current situation documented\n- [ ] Domain boundaries defined\n- [ ] Constraints documented\n- [ ] Success criteria measurable\n- [ ] **File saved:** `00-business-context.md`\n\n### After Step 1 (CPs)\n- [ ] All CPs use structured notation\n- [ ] Classifications assigned (Obligation\u002FExpectation\u002FHope)\n- [ ] No solutions embedded in problem statements\n- [ ] **File saved:** `01-customer-problems.md`\n\n### After Step 2 (SG)\n- [ ] System boundaries defined\n- [ ] Main actors and interfaces identified\n- [ ] High-level components described\n- [ ] Mermaid UML diagram included (mandatory)\n- [ ] **File saved:** `02-software-glance.md`\n\n### After Step 3 (CNs)\n- [ ] Every CP has at least one CN\n- [ ] All CNs use structured notation\n- [ ] Outcome classes assigned\n- [ ] **File saved:** `03-customer-needs.md`\n- [ ] **MANDATORY: Run zigzag validation** (CP → CN mapping)\n\n### After Step 4 (SV)\n- [ ] Positioning statement clear\n- [ ] All stakeholders identified\n- [ ] Major features listed\n- [ ] Mermaid UML architecture diagram included (mandatory)\n- [ ] Cross-reference to Software Glance present\n- [ ] **File saved:** `04-software-vision.md`\n\n### After Step 5 (FRs\u002FNFRs)\n- [ ] Every CN has at least one FR\n- [ ] All FRs use \"shall\" or \"should\"\n- [ ] Each FR saved as individual file in `functional-requirements\u002F`\n- [ ] Each NFR saved as individual file in `non-functional-requirements\u002F`\n- [ ] Index files created (`_index.md`)\n- [ ] Traceability matrix complete (FR → CN → CP)\n- [ ] No code snippets or programming examples in FR\u002FNFR files\n- [ ] Construction details in separate `design\u002F` folder (not in FR\u002FNFR files)\n- [ ] **File saved:** `traceability-matrix.md`\n- [ ] **MANDATORY: Run zigzag validation** (full chain verification)\n\n## Problem-First Enforcement\n\nIf user attempts to skip to solutions, redirect:\n\n**Detect:** User mentions specific technology, feature, or implementation before CPs exist\n\n**Redirect:**\n```\nI notice you're describing a solution. Let's first understand the problem.\n\nBefore we design [mentioned solution], help me understand:\n1. What is the business context? (→ `business-context` action)\n2. What business obligation, expectation, or hope drives this need?\n3. What negative consequences occur without this?\n4. Who is impacted?\n\n→ Loading: `business-context` action (if no BC exists)\n→ Loading: `problems` action (if BC exists)\n```\n\n## Quick Syntax Reference\n\n| Artifact | Syntax Pattern |\n|----------|----------------|\n| **CP** | [Subject] [must\u002Fexpects\u002Fhopes] [Object] [Penalty] |\n| **CN** | [Subject] needs [system] to [Verb] [Object] [Condition] |\n| **FR** | The [System] shall [Verb] [Object] [Constraint] [Condition] |\n| **NFR** | The [System] shall [quality attribute with measurable criteria] |\n\n## Handoff Protocol\n\nWhen completing each step:\n\n1. **Save** outputs to the appropriate file(s)\n2. **Summary** of outputs produced\n3. **Validation** that gate criteria are met\n4. **Next step** recommendation\n5. **Required inputs** for next step\n\nExample:\n```\n✅ Step 3 Complete: Customer Needs Specified\n\n📁 Saved to: .spec\u002F03-customer-needs.md\n\nOutputs:\n- CN.01.1: [Information] User needs system to display...\n- CN.01.2: [Control] Admin needs system to manage...\n- CN.02.1: [Information] Manager needs system to report...\n\nGate Check:\n- [x] All CNs use structured notation\n- [x] Outcome classes assigned\n- [x] Every CP has at least one CN\n- [x] File saved\n\n→ Next: Step 4 - Software Vision\n→ Loading: reference\u002Fsoftware-vision.md\n→ Will save to: .spec\u002F04-software-vision.md\n→ Input: The CNs documented above\n```\n\n## Usage Patterns\n\n### Pattern 1: Full Process (New Project)\nStart with Step 0 (Business Context) and progress through all steps sequentially.\n**Remember:** Ask where to save files, establish business context first.\n\n### Pattern 2: Jump In (Existing Artifacts)\nDetect what artifacts exist, skip completed steps, resume at current step.\n**Remember:** Check for existing `.spec\u002F` folder and read current files.\n\n### Pattern 3: Iterative Refinement\nComplete initial pass, then iterate on specific steps as understanding improves.\n**Remember:** Update existing files rather than creating new ones.\n\n### Pattern 4: Validation Only\nUse the `\u002Fproblem-based-srs validate` action to check existing artifacts without generating new ones.\n\n### Pattern 5: Independent Development\nAfter Step 5, engineers can pick up individual FR files and develop independently.\nEach FR file contains all context needed (traceability, acceptance criteria).\n\n### Pattern 6: Agile\u002FSprint Integration\nUse Problem-Based SRS iteratively within agile workflows:\n- **Sprint 0:** Steps 0-2 (BC + CPs + Software Glance) for product vision\n- **Sprint 1+:** Steps 3-5 for specific feature sets\n- **Per Feature:** Complete CP→CN→FR chain for one feature at a time\n- **Validation:** Run `\u002Fproblem-based-srs validate` after each sprint to ensure traceability\n\n### Pattern 7: Minimal Viable SRS\nFor quick prototypes or MVPs:\n1. Identify 2-3 core CPs (Obligations only)\n2. Create minimal Software Glance\n3. Derive essential CNs\n4. Generate only critical FRs\n5. Skip detailed validation until expansion\n\n## When to Use Each Action\n\n- **`business-context`:** User is starting a new project and needs to establish structured context\n- **`problems`:** User has business context but no structured problems\n- **`software-glance`:** User has CPs and needs high-level solution view\n- **`needs`:** User has CPs + SG and needs to specify outcomes\n- **`software-vision`:** User has CNs and needs detailed vision document\n- **`functional-requirements`:** User has CNs + SV and needs functional requirements\n- **`validate`:** User needs to check traceability or consistency\n- **`complexity`:** User explicitly requests Axiomatic Design analysis\n\n## Optional: Complexity Analysis\n\nFor deeper quality analysis, users can explicitly invoke the `\u002Fproblem-based-srs complexity` action for Axiomatic Design-based specification quality analysis. Use for critical systems, large specifications, or formal reviews. This is **NOT** part of the standard flow.\n\n## Examples\n\nFor complete walkthroughs, see:\n- [CRM Example](reference\u002Fcrm-example.md) — Business domain (Customer Relationship Management)\n- [MicroER Example](reference\u002Fmicroer-example.md) — Technical domain (Renewable Energy System)\n\n**Run actions individually** based on current step to minimize context usage.","# Problem-Based SRS\n\n> The key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\", \"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"NOT RECOMMENDED\", \"MAY\", and \"OPTIONAL\" in this document are to be interpreted as described in BCP 14 [RFC 2119](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc2119) [RFC 8174](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc8174) when, and only when, they appear in all capitals, as shown here.\n\nOrchestrate requirements engineering using the Problem-Based SRS methodology (Gorski & Stadzisz). This skill coordinates a structured process (Step 0 through Step 5) that ensures every requirement traces back to a real business problem.\n\n## Methodology Overview\n\n> **Diagram standard:** Use Mermaid UML diagrams as the preferred format for all visual artifacts. Mermaid is **mandatory** for Software Glance (Step 2) and Software Vision (Step 4), and **preferred** for other steps where diagrams add value.\n\n```\nStakeholder Input\n       ↓\n┌──────────────────┐\n│ Step 0: BC       │ → \u002Fproblem-based-srs business-context\n│ Business Context │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 1: CP       │ → \u002Fproblem-based-srs problems\n│ Customer Problems│\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 2: SG       │ → \u002Fproblem-based-srs software-glance\n│ Software Glance  │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 3: CN       │ → \u002Fproblem-based-srs needs\n│ Customer Needs   │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 4: SV       │ → \u002Fproblem-based-srs software-vision\n│ Software Vision  │\n└────────┬─────────┘\n         ↓\n┌──────────────────┐\n│ Step 5: FR\u002FNFR   │ → \u002Fproblem-based-srs functional-requirements\n│ Requirements     │\n└──────────────────┘\n```\n\n**Traceability Chain:** FR → CN → CP (every requirement traces back to a problem)\n\n**Domain Mapping (WHY → WHAT → HOW):**\n| Domain | Artifact | Question Answered |\n|--------|----------|-------------------|\n| **WHY** | Customer Problems (CP) | Why is the solution needed? (Business justification) |\n| **WHAT** | Customer Needs (CN) | What outcomes must the software provide? |\n| **HOW** | Functional Requirements (FR) | How will the system behave? |\n\n## Available Actions\n\nThe Problem-Based SRS methodology is driven by a **single command** — `\u002Fproblem-based-srs` —\nthat dispatches to a step via an **action** argument. Run `\u002Fproblem-based-srs` with no\naction (or `full`) to orchestrate the complete methodology end-to-end.\n\n| Action | Command | Purpose |\n|--------|---------|---------|\n| `business-context` | `\u002Fproblem-based-srs business-context` | Step 0: Establish structured business context and principles |\n| `problems` | `\u002Fproblem-based-srs problems` | Step 1: Identify and classify customer problems |\n| `software-glance` | `\u002Fproblem-based-srs software-glance` | Step 2: Create high-level solution view |\n| `needs` | `\u002Fproblem-based-srs needs` | Step 3: Specify customer needs (outcomes) |\n| `software-vision` | `\u002Fproblem-based-srs software-vision` | Step 4: Define software vision and architecture |\n| `functional-requirements` | `\u002Fproblem-based-srs functional-requirements` | Step 5: Generate functional requirements |\n| `validate` | `\u002Fproblem-based-srs validate` | Validate traceability across domains (ZigZag) |\n| `complexity` | `\u002Fproblem-based-srs complexity` | Optional: Axiomatic Design quality analysis |\n| `full` | `\u002Fproblem-based-srs` | Run the complete methodology (Step 0 → Step 5) |\n\n### How actions are dispatched\n\nEach action's detailed, step-specific instructions live in a reference file next to\nthis skill: **`reference\u002F\u003Caction>.md`** (the file name IS the action). When the user\ninvokes an action, you MUST read the matching reference file **before** producing any\nartifact, and follow it exactly:\n\n| Action | Reference file |\n|--------|----------------|\n| `business-context` | [`reference\u002Fbusiness-context.md`](reference\u002Fbusiness-context.md) |\n| `problems` | [`reference\u002Fproblems.md`](reference\u002Fproblems.md) |\n| `software-glance` | [`reference\u002Fsoftware-glance.md`](reference\u002Fsoftware-glance.md) |\n| `needs` | [`reference\u002Fneeds.md`](reference\u002Fneeds.md) |\n| `software-vision` | [`reference\u002Fsoftware-vision.md`](reference\u002Fsoftware-vision.md) |\n| `functional-requirements` | [`reference\u002Ffunctional-requirements.md`](reference\u002Ffunctional-requirements.md) |\n| `validate` | [`reference\u002Fvalidate.md`](reference\u002Fvalidate.md) |\n| `complexity` | [`reference\u002Fcomplexity.md`](reference\u002Fcomplexity.md) |\n| `live` | [`reference\u002Flive.md`](reference\u002Flive.md) — opens the SRS Navigator canvas (`\u002Flive`) |\n\nFor a **full** run (bare `\u002Fproblem-based-srs`), work through the steps in order,\nreading each `reference\u002F\u003Caction>.md` as you reach that step.\n\n## 🔖 Identifier Notation (CANONICAL)\n\nEvery artifact ID uses **dotted notation**, which encodes the traceability chain in\nthe ID itself — reading an ID tells you what it descends from:\n\n| Artifact | Format | Example | Reads as |\n|----------|--------|---------|----------|\n| Customer Problem | `CP.{n}` | `CP.01` | the first customer problem |\n| Sub-problem | `CP.{n}.{m}` | `CP.01.1` | first facet of `CP.01` |\n| Sub-sub-problem (rare) | `CP.{n}.{m}.{k}` | `CP.01.2.1` | first facet of `CP.01.2` |\n| Customer Need | `CN.{cp}.{n}` | `CN.01.1` | first need addressing `CP.01` |\n| Functional Requirement | `FR.{cp}.{cn}.{n}` | `FR.01.1.1` | first FR implementing `CN.01.1` |\n| Non-Functional Requirement | `NFR.{n}` | `NFR.01` | the first quality requirement |\n\n**Rules:**\n\n1. **Always emit dotted IDs.** `CP.01`, `CN.01.1`, `FR.01.1.1` — never `CP.1.1` for a\n   need or other ad-hoc shapes.\n2. **An ID must state its parent.** `FR.01.1.1` implements `CN.01.1`, which addresses\n   `CP.01`. If you cannot name the parent, the artifact is not ready to be written.\n3. **Hyphen IDs (`CP-001`, `FR-002`) are legacy.** Existing specs that use them stay\n   valid and the tooling still reads them, but do NOT produce new ones.\n4. **Reference IDs verbatim in prose** (e.g. \"Addresses CP.01\") so traceability can be\n   extracted automatically.\n\n## 📁 Saving Progress (CRITICAL)\n\n**IMPORTANT:** At each step, you MUST save the produced artifacts to files. Progress is NOT automatically saved between sessions.\n\n### ⚠ File Creation Rule: ONE FILE AT A TIME\n\n**NEVER create multiple artifact files in parallel.** Always create files **one at a time, sequentially** — wait for each file to be saved before creating the next one. Batch\u002Fparallel file creation causes JSON serialization errors in tool calls when the combined content is too large.\n\n### First Time Setup\n\nWhen starting a new project, save artifacts to `.spec\u002F` by default (a hidden folder at the project root). If the user specifies a different folder or an existing artifact folder is detected (e.g., `docs\u002Fsrs\u002F`, `requirements\u002F`), use that location instead.\n\n### Artifact File Structure\n\nCreate the following folder structure as you progress through each step:\n\n```\n.spec\u002F\n├── 00-business-context.md            # Step 0: Business context, principles, and constraints\n├── 01-customer-problems.md           # Step 1: CPs (WHY)\n├── 02-software-glance.md             # Step 2: High-level solution view\n├── 03-customer-needs.md              # Step 3: CNs (WHAT)\n├── 04-software-vision.md             # Step 4: Architecture and scope\n├── functional-requirements\u002F          # Step 5: Individual FR files\n│   ├── _index.md                     # FR summary and traceability matrix\n│   ├── FR.01.1.1-[short-name].md     # Individual FR file\n│   ├── FR.01.1.2-[short-name].md     # Individual FR file\n│   └── ...                           # One file per FR\n├── non-functional-requirements\u002F      # NFR files (quality attributes)\n│   ├── _index.md                     # NFR summary\n│   ├── NFR.01-[short-name].md        # Individual NFR file\n│   └── ...                           # One file per NFR\n└── traceability-matrix.md            # CP → CN → FR complete mapping\n```\n\n### Why Individual FR\u002FNFR Files?\n\nEach Functional Requirement and Non-Functional Requirement is saved as a **separate file** so that:\n\n1. **Engineers can work independently** on different requirements\n2. **Version control** tracks changes to individual requirements\n3. **Code reviews** can focus on specific requirements\n4. **Traceability** is maintained at the file level\n5. **Status tracking** is easier (draft, approved, implemented, tested)\n\n### FR and NFR File Templates\n\nBoth templates live in the Step 5 action file — see **Individual FR File Template**\nand **Individual NFR File Template** in `reference\u002Ffunctional-requirements.md`.\nLoad that file before writing any requirement file so every FR\u002FNFR has the same\nshape, the same traceability table, and the same acceptance-criteria format.\n\n### Save After Each Step\n\n**After completing each step, ALWAYS:**\n\n1. **Create or update** the corresponding file(s)\n2. **Confirm with user** that files were saved\n3. **Show the file paths** for reference\n\nExample handoff for Step 5:\n\n```\n✅ Step 5 Complete: Functional Requirements Specified\n\n📁 Saved to: .spec\u002Ffunctional-requirements\u002F\n   ├── _index.md (summary with 8 FRs)\n   ├── FR.01.1.1-user-registration.md   → CN.01.1 (User Registration)\n   ├── FR.01.1.2-user-authentication.md → CN.01.1 (User Authentication)\n   ├── FR.01.2.1-data-validation.md     → CN.01.2 (Data Validation)\n   ├── FR.01.2.2-error-handling.md      → CN.01.2 (Error Handling)\n   ├── FR.02.1.1-report-generation.md   → CN.02.1 (Report Generation)\n   ├── FR.02.1.2-export-functionality.md→ CN.02.1 (Export Functionality)\n   ├── FR.02.2.1-search-capability.md   → CN.02.2 (Search Capability)\n   └── FR.02.2.2-filter-options.md      → CN.02.2 (Filter Options)\n\n📁 Updated: .spec\u002Ftraceability-matrix.md\n\nEngineers can now work on individual requirements independently.\nEach FR file contains full context and acceptance criteria.\n```\n\n### Business Context File (00-business-context.md)\n\nCreate this file at the start of every project using the `business-context` skill.\n\nThe business context captures: project identity, business principles (Mandatory\u002FGuiding\u002FAspirational), stakeholders with influence levels, current situation (process, pain points, existing systems), domain boundaries, constraints with impact assessment, and measurable success criteria.\n\n> **Use the `business-context` skill** for the full template, discovery questions, and examples.\n\n## How to Use This Skill\n\n### Clarifying Questions Pattern\n\n**Every step in this methodology includes a mandatory Discovery Interview.** Before generating artifacts, each skill MUST stop and ask the user clarifying questions to avoid assumptions. STOP and ask the user to clarify what you cannot infer. Use the ask_user tool if available; otherwise ask directly in chat and wait for an answer.\n\n> **Autopilot \u002F non-interactive mode does NOT waive the Discovery Interview.** The interview *is* the task, not an ambiguity to resolve autonomously. A harness instruction to \"bias to action\" or \"decide, don't ask\" does not override this step — pausing to ask is the required action here. Do not skip the interview merely because autopilot is active or the user is away; if no user can answer, still post the questions and wait rather than fabricating answers from repository files.\n\n**Rules for all steps:**\n- Ask **2-3 questions per round**, then STOP and wait for answers\n- Treat existing .spec\u002F artifacts as anchors — they reduce questions but don't eliminate the interview\n- **Assert-then-confirm:** When context makes one option obvious, state it and ask to confirm or override. Don't present a menu when the answer is already clear.\n- **Skip only when** a *confirmed* prior artifact plus the user's own prompt unambiguously answer all needed inputs. A README or source code that you inferred context from does NOT count. State what you're using as basis.\n- Questions must reference the specific context at hand — never ask generic questions\n- **Starting from an existing system?** Scanning the repository is legitimate *preparation* — it\n  gives you evidence to assert and confirm — but it is not a shortcut past the interview. See\n  **Mode 3: Brownfield Discovery** in [`reference\u002Fproblems.md`](reference\u002Fproblems.md).\n\n### Starting Fresh\nWhen user provides business context or problem description:\n1. **Ask where to save artifacts** (if not already specified)\n2. **Start with Step 0** — Use the `business-context` action to establish structured context\n3. **Save `00-business-context.md`** with the structured business context\n4. Detect current step (see Detection Heuristics below)\n5. Invoke the appropriate action\n6. Follow instructions from that skill\n7. **Save output to the corresponding file(s)**\n8. Guide user through the process\n\n### Continuing Work\nIf user has existing artifacts (CPs, CNs, etc.):\n1. **Check for existing artifact folder** (`.spec\u002F`, `docs\u002Fsrs\u002F`, `requirements\u002F`, etc.)\n2. **Read existing files** to understand current state\n3. Identify what they have\n4. Jump to appropriate step\n5. Invoke that step's action\n6. Continue from there, **updating files as needed**\n\n### Validation\nAt any point, use `\u002Fproblem-based-srs validate` to check consistency.\n\n## Detection Heuristics\n\nDetermine current step by checking what artifacts exist:\n\n| If user has... | Current Step | Action | Save To |\n|----------------|--------------|--------|---------|\n| Nothing \u002F business idea only | 0 | `business-context` | 00-business-context.md |\n| Business Context (BC) | 1 | `problems` | 01-customer-problems.md |\n| Customer Problems (CPs) | 2 | `software-glance` | 02-software-glance.md |\n| CPs + Software Glance | 3 | `needs` | 03-customer-needs.md |\n| CPs + CNs + Software Glance | 4 | `software-vision` | 04-software-vision.md |\n| CPs + CNs + Software Vision | 5 | `functional-requirements` | functional-requirements\u002F*.md |\n\n## The Steps (Quick Reference)\n\n### Step 0: Business Context (BC)\n**Purpose:** Establish structured business context and project principles\n**Input:** Stakeholder conversations, project briefs, existing documentation\n**Output:** Business context document with identity, principles, stakeholders, boundaries, constraints, success criteria\n**Save to:** `00-business-context.md`\n**Action:** `\u002Fproblem-based-srs business-context`\n\n### Step 1: Customer Problems (CP)\n**Purpose:** Identify and document business problems\n**Input:** Business Context (Step 0)\n**Output:** List of CPs classified as Obligation\u002FExpectation\u002FHope\n**Syntax:** `[Subject] [must\u002Fexpects\u002Fhopes] [Object] [Penalty]`\n**Save to:** `01-customer-problems.md`\n**Action:** `\u002Fproblem-based-srs problems`\n\n### Step 2: Software Glance (SG)\n**Purpose:** Create initial abstract solution view  \n**Input:** Customer Problems  \n**Output:** High-level system description with boundaries and components  \n**Save to:** `02-software-glance.md`  \n**Action:** `\u002Fproblem-based-srs software-glance`\n\n### Step 3: Customer Needs (CN)\n**Purpose:** Specify outcomes software must provide  \n**Input:** CPs + Software Glance  \n**Output:** CNs with outcome classes (Information\u002FControl\u002FConstruction\u002FEntertainment)  \n**Syntax:** `[Subject] needs [system] to [Verb] [Object] [Condition]`  \n**Save to:** `03-customer-needs.md`  \n**Action:** `\u002Fproblem-based-srs needs`\n\n### Step 4: Software Vision (SV)\n**Purpose:** Define high-level scope and positioning  \n**Input:** CNs + Software Glance  \n**Output:** Vision document with stakeholders, features, architecture  \n**Save to:** `04-software-vision.md`  \n**Action:** `\u002Fproblem-based-srs software-vision`\n\n### Step 5: Functional Requirements (FR) & Non-Functional Requirements (NFR)\n**Purpose:** Generate detailed requirements  \n**Input:** CNs + Software Vision  \n**Output:** Individual FR and NFR files with traceability  \n**Syntax FR:** `The [System] shall [Verb] [Object] [Constraint] [Condition]`  \n**Save to:** `functional-requirements\u002FFR.[CP].[CN].[N]-[short-name].md` and `non-functional-requirements\u002FNFR.[N]-[short-name].md`  \n**Action:** `\u002Fproblem-based-srs functional-requirements`\n\n## Quality Gates\n\n**IMPORTANT:** Zigzag validation using the `\u002Fproblem-based-srs validate` action is **MANDATORY** after Steps 3 and 5 to verify traceability and identify gaps.\n\n### After Step 0 (BC)\n- [ ] Project identity complete (name, domain, purpose)\n- [ ] Business principles defined and classified (Mandatory\u002FGuiding\u002FAspirational)\n- [ ] Stakeholders identified with roles and influence\n- [ ] Current situation documented\n- [ ] Domain boundaries defined\n- [ ] Constraints documented\n- [ ] Success criteria measurable\n- [ ] **File saved:** `00-business-context.md`\n\n### After Step 1 (CPs)\n- [ ] All CPs use structured notation\n- [ ] Classifications assigned (Obligation\u002FExpectation\u002FHope)\n- [ ] No solutions embedded in problem statements\n- [ ] **File saved:** `01-customer-problems.md`\n\n### After Step 2 (SG)\n- [ ] System boundaries defined\n- [ ] Main actors and interfaces identified\n- [ ] High-level components described\n- [ ] Mermaid UML diagram included (mandatory)\n- [ ] **File saved:** `02-software-glance.md`\n\n### After Step 3 (CNs)\n- [ ] Every CP has at least one CN\n- [ ] All CNs use structured notation\n- [ ] Outcome classes assigned\n- [ ] **File saved:** `03-customer-needs.md`\n- [ ] **MANDATORY: Run zigzag validation** (CP → CN mapping)\n\n### After Step 4 (SV)\n- [ ] Positioning statement clear\n- [ ] All stakeholders identified\n- [ ] Major features listed\n- [ ] Mermaid UML architecture diagram included (mandatory)\n- [ ] Cross-reference to Software Glance present\n- [ ] **File saved:** `04-software-vision.md`\n\n### After Step 5 (FRs\u002FNFRs)\n- [ ] Every CN has at least one FR\n- [ ] All FRs use \"shall\" or \"should\"\n- [ ] Each FR saved as individual file in `functional-requirements\u002F`\n- [ ] Each NFR saved as individual file in `non-functional-requirements\u002F`\n- [ ] Index files created (`_index.md`)\n- [ ] Traceability matrix complete (FR → CN → CP)\n- [ ] No code snippets or programming examples in FR\u002FNFR files\n- [ ] Construction details in separate `design\u002F` folder (not in FR\u002FNFR files)\n- [ ] **File saved:** `traceability-matrix.md`\n- [ ] **MANDATORY: Run zigzag validation** (full chain verification)\n\n## Problem-First Enforcement\n\nIf user attempts to skip to solutions, redirect:\n\n**Detect:** User mentions specific technology, feature, or implementation before CPs exist\n\n**Redirect:**\n```\nI notice you're describing a solution. Let's first understand the problem.\n\nBefore we design [mentioned solution], help me understand:\n1. What is the business context? (→ `business-context` action)\n2. What business obligation, expectation, or hope drives this need?\n3. What negative consequences occur without this?\n4. Who is impacted?\n\n→ Loading: `business-context` action (if no BC exists)\n→ Loading: `problems` action (if BC exists)\n```\n\n## Quick Syntax Reference\n\n| Artifact | Syntax Pattern |\n|----------|----------------|\n| **CP** | [Subject] [must\u002Fexpects\u002Fhopes] [Object] [Penalty] |\n| **CN** | [Subject] needs [system] to [Verb] [Object] [Condition] |\n| **FR** | The [System] shall [Verb] [Object] [Constraint] [Condition] |\n| **NFR** | The [System] shall [quality attribute with measurable criteria] |\n\n## Handoff Protocol\n\nWhen completing each step:\n\n1. **Save** outputs to the appropriate file(s)\n2. **Summary** of outputs produced\n3. **Validation** that gate criteria are met\n4. **Next step** recommendation\n5. **Required inputs** for next step\n\nExample:\n```\n✅ Step 3 Complete: Customer Needs Specified\n\n📁 Saved to: .spec\u002F03-customer-needs.md\n\nOutputs:\n- CN.01.1: [Information] User needs system to display...\n- CN.01.2: [Control] Admin needs system to manage...\n- CN.02.1: [Information] Manager needs system to report...\n\nGate Check:\n- [x] All CNs use structured notation\n- [x] Outcome classes assigned\n- [x] Every CP has at least one CN\n- [x] File saved\n\n→ Next: Step 4 - Software Vision\n→ Loading: reference\u002Fsoftware-vision.md\n→ Will save to: .spec\u002F04-software-vision.md\n→ Input: The CNs documented above\n```\n\n## Usage Patterns\n\n### Pattern 1: Full Process (New Project)\nStart with Step 0 (Business Context) and progress through all steps sequentially.\n**Remember:** Ask where to save files, establish business context first.\n\n### Pattern 2: Jump In (Existing Artifacts)\nDetect what artifacts exist, skip completed steps, resume at current step.\n**Remember:** Check for existing `.spec\u002F` folder and read current files.\n\n### Pattern 3: Iterative Refinement\nComplete initial pass, then iterate on specific steps as understanding improves.\n**Remember:** Update existing files rather than creating new ones.\n\n### Pattern 4: Validation Only\nUse the `\u002Fproblem-based-srs validate` action to check existing artifacts without generating new ones.\n\n### Pattern 5: Independent Development\nAfter Step 5, engineers can pick up individual FR files and develop independently.\nEach FR file contains all context needed (traceability, acceptance criteria).\n\n### Pattern 6: Agile\u002FSprint Integration\nUse Problem-Based SRS iteratively within agile workflows:\n- **Sprint 0:** Steps 0-2 (BC + CPs + Software Glance) for product vision\n- **Sprint 1+:** Steps 3-5 for specific feature sets\n- **Per Feature:** Complete CP→CN→FR chain for one feature at a time\n- **Validation:** Run `\u002Fproblem-based-srs validate` after each sprint to ensure traceability\n\n### Pattern 7: Minimal Viable SRS\nFor quick prototypes or MVPs:\n1. Identify 2-3 core CPs (Obligations only)\n2. Create minimal Software Glance\n3. Derive essential CNs\n4. Generate only critical FRs\n5. Skip detailed validation until expansion\n\n## When to Use Each Action\n\n- **`business-context`:** User is starting a new project and needs to establish structured context\n- **`problems`:** User has business context but no structured problems\n- **`software-glance`:** User has CPs and needs high-level solution view\n- **`needs`:** User has CPs + SG and needs to specify outcomes\n- **`software-vision`:** User has CNs and needs detailed vision document\n- **`functional-requirements`:** User has CNs + SV and needs functional requirements\n- **`validate`:** User needs to check traceability or consistency\n- **`complexity`:** User explicitly requests Axiomatic Design analysis\n\n## Optional: Complexity Analysis\n\nFor deeper quality analysis, users can explicitly invoke the `\u002Fproblem-based-srs complexity` action for Axiomatic Design-based specification quality analysis. Use for critical systems, large specifications, or formal reviews. This is **NOT** part of the standard flow.\n\n## Examples\n\nFor complete walkthroughs, see:\n- [CRM Example](reference\u002Fcrm-example.md) — Business domain (Customer Relationship Management)\n- [MicroER Example](reference\u002Fmicroer-example.md) — Technical domain (Renewable Energy System)\n\n**Run actions individually** based on current step to minimize context usage.",{"name":5,"license":14,"metadata":24,"description":7},{"author":25,"version":26,"methodology":5},"rafael-gorski","1.3","main","98e910e6f821daa03a9eebb76d4c12b94fdb2699","skills\u002Fplanning-grilling\u002Fproblem-based-srs","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit","https:\u002F\u002Fgithub.com\u002Fhienpham0344","2026-11-13 02:55:47",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add hienpham0344\u002FAgent-kit --skill problem-based-srs",{"tool":39,"command":40},"bunx","bunx skills add hienpham0344\u002FAgent-kit --skill problem-based-srs",{"tool":42,"command":43},"pnpm","pnpm dlx skills add hienpham0344\u002FAgent-kit --skill problem-based-srs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FSKILL.md",true,[47,51,57,61,65,69,73,77,81,85,89,93,97],{"path":48,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":15},"LICENSE","许可证",1104,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"reference\u002Fbusiness-context.md","REFERENCE","参考文档",17858,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fbusiness-context.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"reference\u002Fcomplexity.md",8282,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fcomplexity.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"reference\u002Fcrm-example.md",9348,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fcrm-example.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Ffunctional-requirements.md",16323,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Ffunctional-requirements.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"reference\u002Flive.md",4509,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Flive.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"reference\u002Fmicroer-example.md",11969,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fmicroer-example.md",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"reference\u002Fneeds.md",9437,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fneeds.md",{"path":82,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":83,"sourceHtmlUrl":84},"reference\u002Fproblems.md",17419,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fproblems.md",{"path":86,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":87,"sourceHtmlUrl":88},"reference\u002Fsoftware-glance.md",13409,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fsoftware-glance.md",{"path":90,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":91,"sourceHtmlUrl":92},"reference\u002Fsoftware-vision.md",12083,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fsoftware-vision.md",{"path":94,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":95,"sourceHtmlUrl":96},"reference\u002Fvalidate.md",10882,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002Freference\u002Fvalidate.md",{"path":98,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":99,"sourceHtmlUrl":100},"UPSTREAM.md",142,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FUPSTREAM.md",[102,110,119,127,135,143],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7FBMYVF3BFPBVFC5W2VYX14","spec-forge","Specification system for creating, auditing, and propagating requirements docs (PRD, IEEE 830 SRS, tech design, feature specs, and test plans).","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fspec-forge\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fspec-forge\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":114,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7FBD7K79CF2R0SFYK18M6TG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":114,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7FBCCE5QWSQ1SG4NXJQX5V1","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fmcp-builder\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":114,"licenseFileUrl":131,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7FBBDDQNKYEXDGHSEKY94XN","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdocuments-media\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdocuments-media\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":139,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M7FB8SXSJ8XF8QD5HQHKWJT7","ui-styling","Build accessible user interfaces using shadcn\u002Fui (Radix UI + Tailwind CSS), utility-first styling, dark mode themes, and consistent design system tokens.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7FB7K5DEAQS82EWV9Y7E1NQ","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fdesign-system\u002FSKILL.md",[],[]]