Documenting Requirements: SRS, PRD, Design Docs and ADRs

Which requirements document to write and when: PRD, SRS, technical design doc and Architecture Decision Records, with templates and tips to keep them alive.

Published November 27, 2026

Requirements that live only in a meeting or a chat thread are forgotten within weeks. But heavyweight documents nobody reads are not the answer either. Different documents serve different purposes: a PRD explains why and what, an SRS specifies behaviour precisely, a design doc explains how, and ADRs capture individual decisions. This guide explains each and gives lightweight templates.

The concept

A Product Requirements Document (PRD) is written by product management. It describes the problem, target users, goals, success metrics, scope and non-goals. It is the place to anchor functional requirements in user value and to state the quality expectations that matter to the business.

A Software Requirements Specification (SRS) is more formal and detailed, common in regulated industries, government contracts and outsourced projects. It lists numbered functional and non-functional requirements precisely enough to test against. A technical design document (or RFC) is written by engineers to propose how to build something, including alternatives considered. Architecture Decision Records (ADRs) are short documents, one per significant decision, kept in the repository alongside the code.

Which document does what

DocumentOwnerAnswersLengthLifetime
PRDProductWhy are we building this? For whom? What does success look like?2-6 pagesPer feature/initiative
SRSAnalyst / product + engineeringExactly what must the system do and how well?10-100+ pagesPer system or contract
Design doc / RFCEngineeringHow will we build it? What alternatives exist?3-10 pagesPer project
ADREngineeringWhat did we decide, why, and what did we give up?1 pagePermanent, in the repo

How they connect

informsrecordsimplementsPRDwhy + whatDesign dochow + optionsADRseach decisionCode + teststhe truth
Documents flow from intent to implementation.

A lean PRD template

Short enough to be read, structured enough to drive design.

# Feature: Scheduled exports
## Problem
Admins export reports manually every Monday; 30% forget, causing missed reviews.
## Goals / success metrics
- 60% of active workspaces schedule at least one export within 90 days
## Users
Workspace admins on Pro and Enterprise plans
## Functional requirements
FR-1 Admin can schedule CSV/XLSX export of any saved report: daily, weekly or monthly
FR-2 Export is emailed to up to 10 recipients
## Non-functional requirements
NFR-1 Export delivered within 15 minutes of scheduled time, 99% of the time
NFR-2 Files over 25 MB delivered as expiring links (7 days)
## Non-goals
PDF exports; exports to third-party storage

Keeping docs useful

  1. Store docs where engineers work (repo, wiki linked from the repo)
  2. Give every requirement an ID so tests and tickets can reference it
  3. Review docs in pull requests like code
  4. Mark superseded decisions instead of deleting them
  5. Revisit NFRs when scale or business goals change
Habits that keep requirements documents alive.

Practical examples

ADR template (Michael Nygard format)

One file per decision, numbered, in docs/adr/.

# ADR 0007: Use PostgreSQL for the orders service

Status: Accepted (2026-11-20)

## Context
Orders need multi-row transactions and strong consistency (NFR-03). Team has deep PostgreSQL experience.

## Decision
Use PostgreSQL 17 on a managed service with one synchronous standby.

## Consequences
+ ACID transactions, mature tooling
- Vertical scaling limits; revisit if orders exceed ~5K writes/s

Traceability from requirement to test

IDs make it easy to see which requirements are verified.

// checkout.spec.ts
test('FR-12: declined payment keeps cart intact', async ({ page }) => { /* ... */ })
test('NFR-04: checkout p95 < 800ms', async () => { /* load test hook */ })

Tooling for ADRs

adr-tools creates numbered files from the command line.

adr init docs/adr
adr new "Use PostgreSQL for the orders service"
adr new -s 7 "Move orders to CockroachDB"   # supersedes ADR 7

Common mistakes

  • Writing a 60-page SRS for a two-person startup feature.
  • Keeping documents in personal drives nobody else can find.
  • Letting documents drift from reality without marking them outdated.
  • Recording decisions without the context and alternatives, so nobody understands them later.
  • Mixing problem statements and solutions in the PRD, constraining engineers prematurely.

Key takeaways

  • PRDs explain why and what; SRSs specify precisely; design docs explain how; ADRs record decisions.
  • Choose the lightest document that serves its readers.
  • Give requirements IDs and link them to tests and tickets.
  • Keep ADRs in the repo and supersede rather than delete them.

FAQ

Do agile teams need requirements documents?

Yes, lighter ones. User stories plus a short PRD and ADRs give agile teams shared context without heavy upfront specs.

Where should ADRs live?

In the code repository (for example docs/adr/), so they are versioned and reviewed with the code they describe.

What is an RFC in this context?

A Request for Comments: a design doc circulated for feedback before implementation. Many companies use RFC and design doc interchangeably.

More Architecture articles