Skip to content

Developer documentation

Living documentation for the RedTeam project — product context, experience evidence, requirements, design, architecture, testing, publishing, and observability. Structured for behavior-driven development so people and AI coding agents have full in-repo context.

User-facing content (install guide, handbook) lives in the repository’s Starlight content directory and is published separately on the docs site. This folder is project documentation only.

Follow this lifecycle rather than treating the filenames as a numbered checklist:

Document Question it answers
PRODUCT.md What is this product, who is it for, and why does it exist?
DESIGN.md What should stay consistent in product, docs, and UX experience?
experience/ What have we learned from users, and what outcomes and behaviors do they need?
REQUIREMENTS.md What must the delivered system demonstrably do as a result?
engineering/ Architecture, testing, publishing, observability, and ADRs

Supporting detail lives in subfolders:

Folder Contents
strategy/ Market, positioning, handbook lineage, roadmap, and strategic bets.
experience/ Continuous discovery, journeys, hypotheses, and behavior scenarios.
engineering/ Lifecycle docs (architecture → observability) and decision records in engineering/adrs/.
Section Source URL path
User Guide src/content/docs/guide/ /guide/
Handbook v10 src/content/docs/handbook/ /handbook/
Developer Docs docs/ (synced at build) /developers/

Build: npm run docs:sitehttps://curatelabs.github.io/RedTeam/

  • Keep docs current. When behavior changes, update the doc in the same change.
  • Link, don’t duplicate. Reference detail in subfolders rather than copying it.
  • Trace evidence through delivery. User evidence should lead to requirements, tests, architecture, telemetry, and production learning.
  • Decisions are recorded. Significant choices get an ADR (see engineering/adrs/).
  • Keep context discoverable. PRODUCT.md and DESIGN.md stay in docs/ so design and coding agents can load them without duplicate root files.
  • Close the loop. Observability should measure both system health and the user outcomes named in product, experience, and requirements docs.