Skip to content

Instantly share code, notes, and snippets.

@AvasDream
Created February 9, 2026 12:32
Show Gist options
  • Select an option

  • Save AvasDream/941efb4fe431a6d07064e6b78205eefc to your computer and use it in GitHub Desktop.

Select an option

Save AvasDream/941efb4fe431a6d07064e6b78205eefc to your computer and use it in GitHub Desktop.
example-prd

Product Requirements Document (PRD)

1. Overview

Product Name: Example TS Service
Purpose: Describe what problem this product solves and for whom.
Success Criteria: Measurable outcomes (adoption, performance, revenue, etc).

2. Goals & Non-Goals

Goals

  • Clear business and user goals
  • Technical objectives (scalability, maintainability)

Non-Goals

  • Explicitly out of scope items

3. Stakeholders

  • Product Owner
  • Engineering
  • Design
  • QA
  • External users / customers

4. User Personas

  • Persona A: description, needs, pain points
  • Persona B: description, needs, pain points

5. User Stories

  • As a user, I want to ___ so that ___
  • As an admin, I want to ___ so that ___

6. Functional Requirements

  • FR-1: Feature description
  • FR-2: Feature description
  • FR-3: Edge cases and validations

7. Non-Functional Requirements

  • Performance (latency, throughput)
  • Reliability (uptime, retries)
  • Security (auth, authorization)
  • Accessibility
  • Compliance

8. Technical Scope

Architecture

  • Frontend / Backend / Shared packages
  • High-level data flow

Tech Stack

  • Language: TypeScript
  • Runtime: Node.js / Browser
  • Frameworks: (e.g. Express, React)
  • Tooling: ESLint, Prettier, tsconfig

Code Standards

  • Strict TypeScript enabled
  • Linting and formatting rules
  • Error handling conventions

9. APIs & Data Models

API Contracts

  • Endpoint definitions
  • Request / response examples
  • Error codes

Data Models

interface ExampleEntity {
  id: string
  createdAt: string
}

10. UX / UI Requirements

  • Key flows
  • Wireframes or links
  • Accessibility considerations

11. Analytics & Logging

  • Events to track
  • Metrics to monitor
  • Logging levels and formats

12. Dependencies & Risks

Dependencies

  • External services
  • Internal teams

Risks

  • Technical risks
  • Product risks
  • Mitigations

13. Milestones & Timeline

  • Phase 1: MVP
  • Phase 2: Beta
  • Phase 3: GA

14. Testing Strategy

  • Unit tests
  • Integration tests
  • E2E tests
  • Type-level tests

15. Release & Rollout Plan

  • Feature flags
  • Backward compatibility
  • Rollback strategy

16. Open Questions

  • Unresolved decisions
  • Assumptions to validate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment