PRD as Persistent Documentation

The Specification Lifecycle Problem

Many teams write detailed specifications, implement features, then try to "maintain" those specifications forever. This creates specification debt - outdated docs that drift from reality.

The correct mental model:

text
PRD (Persistent) → Specification (Temporary) → Implementation → Archive Spec

What persists:

  • 📋 PRD - Business requirements and rationale (lives in docs/prds/)
  • 🏗️ CLAUDE.md - Project constitution
  • 📐 ADRs - Architecture decisions (immutable records)
  • 📖 API Schema - API contracts
  • 💻 Code + Tests - Executable implementation

What's temporary:

  • 📝 Specification - Implementation guide (archived after use)
  • 🔧 Technical Plan - Implementation approach
  • ✅ Task List - Execution checklist

Why Specifications Are Temporary

A specification guides implementation RIGHT NOW. Once implemented + tested → spec's job is done:

  • Behavior captured in code
  • API contract in API schema
  • Business context in PRD

Archive after implementation:

Shell
git mv specs/task-tags/specification.md specs/_archive/2024-01-task-tags-spec.md

If feature needs modification later:

  1. Start from PRD (business requirements still current?)
  2. Generate NEW specification (fresh guide)
  3. Don't try to "update" old specification

What Is a PRD?

A Product Requirements Document defines WHAT and WHY at the business level.

PRD contains:

  • Problem statement (what problem does this solve?)
  • Users and personas
  • Functional requirements
  • Constraints (technical, business, performance)
  • Success metrics (post-deployment)
  • Out of scope

PRD is written for: Product managers, stakeholders, developers, future team members

PRD is NOT: As detailed as specification, implementation guide, or runtime documentation for agents

PRDs Are For Humans, Not Agent Discovery

Critical distinction: PRDs are historical records for human reference, NOT documentation that agents browse during development.

What Agents Read to Understand the System

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal