Write a Software Requirements Specification
Purpose
Produce a system-level specification that designers, developers, testers and vendors can build and verify against without re-interpreting business documents. Every requirement is singular, verifiable, uniquely identified and traced to its source.
When to use
- Business or functional requirements exist and must be restated as system requirements for one system or subsystem.
- Work is outsourced, regulated or audited and needs a formal, versioned specification.
- Several teams or suppliers build parts of one system and need a shared contract.
When not to use
- The need is still business-level (what the business must achieve). Use
brd-writing or frd-writing.
- Only quality attributes are missing. Use
nfr-specification.
- Only one interface or API must be specified. Use
integration-requirements or api-contract.
Inputs
Required:
- The source requirements (BRD, FRD, stories, use cases) or a description of the system's responsibilities.
- The system boundary: which system is being specified.
Optional, improves quality:
- Context diagram, interface list, data model, existing architecture decisions.
- Regulations and internal standards, organization SRS template.
- Target users, environments and operating constraints.
If the source material or the system boundary is missing, ask for it. Everything else becomes [TBD] or an open issue in the document.
Process
- Fix the system boundary: name the system, list external actors and neighbouring systems, and state what is explicitly outside. Describe the context as a list or diagram-as-code.
- Set conventions: requirement ID scheme (e.g. SRS-FR-###, SRS-NFR-###, SRS-IF-###), priority scale, and the words "shall" (binding), "should" (desired), "may" (optional).
- Derive functional requirements from each source item. Write one behaviour per requirement as "The system shall ..." with trigger, input, processing rule and observable output. Split any statement with "and/or".
- Specify external interfaces: user interfaces (roles, key screens, accessibility to WCAG 2.2 where users are people), system interfaces (partner, direction, protocol, message, frequency, error handling), and hardware or communication constraints.
- Specify data requirements: key entities, attributes that carry rules, retention, archival, and personal data classification with masking or minimization needs under KVKK/GDPR.
- Specify quality attributes with measurable fit criteria: performance, availability, recoverability, security, auditability, operability, scalability. No adjectives without a number or condition; missing numbers become
[TBD] with an owner.
- List design and implementation constraints (mandated platforms, standards, regulations) separately from requirements, and record assumptions and dependencies; label inferred ones
[ASSUMPTION].
- Assign a verification method to every requirement: Test, Demonstration, Inspection or Analysis.
- Trace each requirement back to its source ID and flag source items with no system requirement (coverage gaps) and system requirements with no source (gold plating or missing source).
- Check each requirement against ISO/IEC/IEEE 29148 characteristics: necessary, unambiguous, complete, singular, feasible, verifiable, correct, conforming.
- If the user wants to continue, suggest
traceability-matrix to maintain links, nfr-specification to deepen quality attributes or requirements-review-checklist before sign-off.
Output format
# Software Requirements Specification: <system>
Version: <x.y> · Status: <Draft / Review / Baselined> · Owner: <name or [TBD]>
## 1. Introduction
Purpose · Scope (in / out) · Definitions (link glossary) · References · Conventions (ID scheme, shall/should/may)
## 2. Overall Description
System context (actors, neighbouring systems) · User classes · Operating environment · Constraints · Assumptions and dependencies
## 3. Functional Requirements
| ID | Requirement ("The system shall ...") | Source | Priority | Verification |
|---|---|---|---|---|
## 4. External Interface Requirements
### 4.1 User interfaces ### 4.2 System interfaces ### 4.3 Communication interfaces
| ID | Interface | Direction | Protocol / format | Frequency | Error handling |
## 5. Data Requirements
| Entity | Key rules | Retention | Personal data (Y/N, class) |
## 6. Quality Attributes
| ID | Attribute | Fit criterion | Verification |
## 7. Traceability and Coverage
Unmapped source items · Requirements without source
## 8. Open Issues
| # | Issue | Owner | Needed by |
Quality checklist
Common pitfalls
- Copying business requirements verbatim. "Users can reconcile payments" is not a system requirement; state the trigger, rule and output.
- Writing design as requirements ("store in table X"). Keep solution choices in design documents unless they are genuine constraints.
- Leaving interfaces as a name only. Direction, format, frequency and failure behaviour are what integration teams need.
Example
Input: "FR-12: Finance wants unmatched bank transactions to be visible daily."
Weak: "The system shall show unmatched transactions quickly."
Strong:
| ID |
Requirement |
Source |
Priority |
Verification |
| SRS-FR-031 |
The system shall, after each bank statement import completes, mark every transaction without a matching ledger entry as "Unmatched". |
FR-12 |
Must |
Test |
| SRS-FR-032 |
The system shall list Unmatched transactions to users in the Reconciler role, filterable by value date and account. |
FR-12 |
Must |
Demonstration |
| SRS-NFR-007 |
The Unmatched list shall load within [TBD] seconds for [TBD] transactions. |
FR-12 |
Should |
Test |
1---2name: srs-writing3description: "Writes a Software Requirements Specification aligned with ISO/IEC/IEEE 29148: purpose and scope, system context and interfaces, functional requirements, quality attributes, data, constraints and verification method per requirement, each uniquely identified and traceable. Use when a system or subsystem must be specified for design, build, a vendor or an audit, or when business requirements must be turned into a verifiable system-level specification."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/srs-writing7 version: "1.0.0"8 language: en9 category: 01-business-analysis10 role: system-analyst11 area: specification12 title: "Write a Software Requirements Specification"13 related: "frd-writing, nfr-specification, use-case-spec, integration-requirements, traceability-matrix"14 prompt: "Write an SRS for the payment reconciliation service based on this FRD and the interface list."15---1617# Write a Software Requirements Specification1819## Purpose20Produce a system-level specification that designers, developers, testers and vendors can build and verify against without re-interpreting business documents. Every requirement is singular, verifiable, uniquely identified and traced to its source.2122## When to use23- Business or functional requirements exist and must be restated as system requirements for one system or subsystem.24- Work is outsourced, regulated or audited and needs a formal, versioned specification.25- Several teams or suppliers build parts of one system and need a shared contract.2627## When not to use28- The need is still business-level (what the business must achieve). Use `brd-writing` or `frd-writing`.29- Only quality attributes are missing. Use `nfr-specification`.30- Only one interface or API must be specified. Use `integration-requirements` or `api-contract`.3132## Inputs33Required:34- The source requirements (BRD, FRD, stories, use cases) or a description of the system's responsibilities.35- The system boundary: which system is being specified.3637Optional, improves quality:38- Context diagram, interface list, data model, existing architecture decisions.39- Regulations and internal standards, organization SRS template.40- Target users, environments and operating constraints.4142If the source material or the system boundary is missing, ask for it. Everything else becomes `[TBD]` or an open issue in the document.4344## Process451. Fix the system boundary: name the system, list external actors and neighbouring systems, and state what is explicitly outside. Describe the context as a list or diagram-as-code.462. Set conventions: requirement ID scheme (e.g. SRS-FR-###, SRS-NFR-###, SRS-IF-###), priority scale, and the words "shall" (binding), "should" (desired), "may" (optional).473. Derive functional requirements from each source item. Write one behaviour per requirement as "The system shall ..." with trigger, input, processing rule and observable output. Split any statement with "and/or".484. Specify external interfaces: user interfaces (roles, key screens, accessibility to WCAG 2.2 where users are people), system interfaces (partner, direction, protocol, message, frequency, error handling), and hardware or communication constraints.495. Specify data requirements: key entities, attributes that carry rules, retention, archival, and personal data classification with masking or minimization needs under KVKK/GDPR.506. Specify quality attributes with measurable fit criteria: performance, availability, recoverability, security, auditability, operability, scalability. No adjectives without a number or condition; missing numbers become `[TBD]` with an owner.517. List design and implementation constraints (mandated platforms, standards, regulations) separately from requirements, and record assumptions and dependencies; label inferred ones `[ASSUMPTION]`.528. Assign a verification method to every requirement: Test, Demonstration, Inspection or Analysis.539. Trace each requirement back to its source ID and flag source items with no system requirement (coverage gaps) and system requirements with no source (gold plating or missing source).5410. Check each requirement against ISO/IEC/IEEE 29148 characteristics: necessary, unambiguous, complete, singular, feasible, verifiable, correct, conforming.5511. If the user wants to continue, suggest `traceability-matrix` to maintain links, `nfr-specification` to deepen quality attributes or `requirements-review-checklist` before sign-off.5657## Output format58```markdown59# Software Requirements Specification: <system>60Version: <x.y> · Status: <Draft / Review / Baselined> · Owner: <name or [TBD]>6162## 1. Introduction63Purpose · Scope (in / out) · Definitions (link glossary) · References · Conventions (ID scheme, shall/should/may)6465## 2. Overall Description66System context (actors, neighbouring systems) · User classes · Operating environment · Constraints · Assumptions and dependencies6768## 3. Functional Requirements69| ID | Requirement ("The system shall ...") | Source | Priority | Verification |70|---|---|---|---|---|7172## 4. External Interface Requirements73### 4.1 User interfaces ### 4.2 System interfaces ### 4.3 Communication interfaces74| ID | Interface | Direction | Protocol / format | Frequency | Error handling |7576## 5. Data Requirements77| Entity | Key rules | Retention | Personal data (Y/N, class) |7879## 6. Quality Attributes80| ID | Attribute | Fit criterion | Verification |8182## 7. Traceability and Coverage83Unmapped source items · Requirements without source8485## 8. Open Issues86| # | Issue | Owner | Needed by |87```8889## Quality checklist90- [ ] Every requirement has a unique ID, a source, a priority and a verification method.91- [ ] Each requirement states one behaviour and is observable at the system boundary.92- [ ] No quality attribute uses an adjective without a measurable fit criterion or `[TBD]`.93- [ ] Constraints and assumptions are separated from requirements and inferred items are labeled.94- [ ] Coverage gaps in both directions are listed, not silently filled.95- [ ] Personal data is classified and masking or minimization is stated where it appears.96- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.9798## Common pitfalls99- Copying business requirements verbatim. "Users can reconcile payments" is not a system requirement; state the trigger, rule and output.100- Writing design as requirements ("store in table X"). Keep solution choices in design documents unless they are genuine constraints.101- Leaving interfaces as a name only. Direction, format, frequency and failure behaviour are what integration teams need.102103## Example104Input: "FR-12: Finance wants unmatched bank transactions to be visible daily."105106Weak: "The system shall show unmatched transactions quickly."107108Strong:109| ID | Requirement | Source | Priority | Verification |110|---|---|---|---|---|111| SRS-FR-031 | The system shall, after each bank statement import completes, mark every transaction without a matching ledger entry as "Unmatched". | FR-12 | Must | Test |112| SRS-FR-032 | The system shall list Unmatched transactions to users in the Reconciler role, filterable by value date and account. | FR-12 | Must | Demonstration |113| SRS-NFR-007 | The Unmatched list shall load within `[TBD]` seconds for `[TBD]` transactions. | FR-12 | Should | Test |