Guide template
When to use
Section titled “When to use”- Shelf:
learn/guides/<topic>/ kind: guide- Diátaxis mode: tutorial (focused learning unit — study, not ship-whole-workflow)
- Readers served: learners building understanding; agents needing conceptual map before playbooks
Design rationale
Section titled “Design rationale”- What you’ll learn upfront — tutorials state learning outcomes before content (Diátaxis tutorials).
- Before you start gates — prerequisites prevent frustration mid-guide (Google intro patterns).
- Numbered
##sections, not<Steps>for long prose — section-level teaching uses headings; reserve<Steps>for tight procedures (writing-style formatting toolkit). - Summary closes the mental model — three bullets max for retention (learning design — recap).
- Diagram when section maps process or structure — warrant test applies per section (visuals gate).
Copy-paste skeleton
Section titled “Copy-paste skeleton”---title: "Guide title"description: One sentence — what the reader will understand after reading.sidebar: label: "Guide title" order: Ncategory: <topic>kind: guidestatus: currenttags: [guide, topic]---
<p class="eyebrow">Guide · <topic></p>
## What you'll learn
- <Outcome 1>- <Outcome 2>
## Before you start
- **Prerequisites:** <links or one-line reqs>- **Time:** ~<N> min read
## 1. <First major idea>
Short paragraph. If this section maps a **relationship or process**, add a Mermaid block or diagram component.
## 2. <Second major idea>
…
## Summary
Three bullets max — the mental model in plain language.
:::tip[Go deeper][Handbook chapter](/tech-stack/laravel/codecanyon/learn/handbooks/) · [Playbook when ready to execute](/tech-stack/laravel/codecanyon/build/playbooks/setup-new/):::Anti-patterns
Section titled “Anti-patterns”- Do not use full playbook step spine on guides unless the page is truly one executable step.
- Do not ship process/relationship sections without diagrams.
- Do not duplicate entire playbooks — link to Build when ready to execute.
Worked example
Section titled “Worked example”Sources
Section titled “Sources”- Diátaxis — Tutorials — learning-oriented guides with outcomes.
- Diátaxis — Overview — guides vs handbooks vs how-to playbooks.
- Google developer documentation style guide — Introductions — scope and prerequisites.
- NN/g — How users read on the web — scannable sections and summaries.
- Writing style → Doc-type spines