Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Principles Entry Template (Shared Explanation Shape)

Every principle entry under principles/<category>.md MUST be a full section in this order. Keep entries scannable; diagrams are optional and only where they clarify. See content/MAPPING.md for single-source rules.

N. Name (example: ## 1. Single Responsibility Principle (SRP))

Scope note (one line, only when the name overlaps another entry or pillar): state the scope and link the counterpart — e.g. distributed-services vs BEAM supervision, or “canonical treatment: architecture page”.

Definition. One or two sentences: the rule in your own words.

Rationale. Why the rule exists; what trade-off it manages and what happens without it.

Example. One concrete, minimal scenario (code, config, or team practice).

Anti-pattern / failure mode. One misuse symptom plus one review signal.

Related. Links to neighboring principles plus at least one cross-pillar link (pattern, architecture, or practice) where the principle is applied. For topics taught canonically in architecture/ (Hexagonal, Clean, Onion, CQRS, Event Sourcing), keep this entry a summary and link the canonical page (e.g. Hexagonal architecture) instead of re-teaching it.