What problem does it solve?
Audit, write, or revise docs under docs/ (or repo equivalent) when the artifact is a tutorial, how-to, reference, or explanation — anything not already a README, CONTRIBUTING, ADR, or CHANGELOG. Forces a Diátaxis mode pick before writing, then loads mode-specific anti-patterns. Use when creating or editing a tutorial/how-to/reference/explanation doc, or when prose drifts across modes (the canonical case: a how-to growing explanatory paragraphs).
Core Features & Use Cases
- Guide content classification and mode selection to align artifacts with Tutorial, How-to, Reference, and Explanation types.
- Enforce mode-specific writing rules and anti-patterns to improve clarity and consistency across documentation.
- Provide a safe fallback when a document would otherwise drift between modes, ensuring a single-mode approach per document.
Quick Start
Specify the target Diátaxis mode for the document (Tutorial, How-to, Reference, or Explanation) before writing, and draft the document in that mode.