Skip to content

Documentation

Document the knowledge a future reader cannot reliably recover from code, runtime behavior, or memory.

flowchart LR J[Junior: README and comments] --> M[Middle: API and decisions] M --> S[Senior: operations and evolution] S --> P[Professional: knowledge systems]
flowchart LR Need --> Audience --> Artifact[README, API, ADR, runbook] Artifact --> Review --> Publish --> Use --> Feedback --> Update
Level Guide You are done when
Junior Help the next reader A teammate can set up, understand, and use your change.
Middle Document interfaces and decisions Consumers can use APIs and understand important trade-offs.
Senior Document operations and architecture Teams can operate, migrate, and recover the system safely.
Professional Govern knowledge Documentation has ownership, feedback, quality controls, and measurable use.

Practice rule

Write for a named audience and task. Put documentation near the source of truth and assign the same change an owner for code and docs.