IMPORTANT: Your training data about documentation best practices may be outdated or conflate different frameworks. Diataxis, Google OpenDocs, and the Good Docs Project each have specific structural requirements that are frequently mixed up — especially the critical distinction between tutorials (learning-oriented) and how-to guides (task-oriented). Always rely on this skill's rule files and reference documents as the source of truth. Do not fall back on generic documentation advice when it conflicts with these frameworks.
When to Use This Skill
This skill is for writing, planning, auditing, and improving technical documentation for products that need developer and partner adoption. It synthesizes six proven frameworks into a unified system.
Need
Recommended Approach
Write a specific document
Use content type rules (write- prefix) + templates
Plan documentation strategy
Use architecture rules (arch- prefix) + adoption funnel
Studying or working? Studying → left (tutorials, explanation). Working → right (how-to, reference).
Practical steps or theoretical knowledge? Practical → top (tutorials, how-to). Theoretical → bottom (explanation, reference).
Enterprise Content Types
Content Type
Quadrant
When to Use
Tutorial
Learning
New users need guided first experience
Quickstart
Learning + Task
Experienced devs need fast path to "hello world"
How-to Guide
Task
Users need to accomplish specific goals
Integration Guide
Task
Partners need to connect their systems
Migration Guide
Task
Users need to upgrade between versions
Troubleshooting
Task
Users need to diagnose and fix problems
API Reference
Information
Developers need exact specifications
SDK Reference
Information
Developers need language-specific details
Configuration Reference
Information
Operators need parameter details
Changelog
Information
Users need to track what changed
Explanation
Understanding
Users need to understand "why"
Architecture Guide
Understanding
Engineers need system design context
Glossary
Information
Everyone needs consistent terminology
Runbook
Task
Operators need incident response procedures
Audience Matrix
Audience
Primary Need
Key Content Types
New developers
Get started quickly
Quickstart, Tutorial
Building developers
Complete tasks efficiently
How-to guides, API reference
Evaluating developers
Decide whether to adopt
Explanation, Architecture
Partner integrators
Connect their systems
Integration guide, SDK reference
Internal engineers
Operate and maintain
Runbook, Architecture, Config reference
Decision makers
Understand capabilities
Explanation, Architecture overview
Adoption Funnel
Prioritize content types that unblock the current bottleneck:
Discover → "What is this?" → Explanation, README
Evaluate → "Should I use this?" → Architecture, Comparison
Start → "How do I begin?" → Quickstart, Tutorial
Build → "How do I do X?" → How-to guides, API reference
Operate → "How do I keep it going?" → Runbook, Troubleshooting, Config ref
Upgrade → "How do I move forward?" → Migration guide, Changelog
Documentation Project Archetypes
When planning documentation work (not single documents), use Google OpenDocs archetypes:
Project Type
When to Use
The Manual
Writing new user/developer/admin guides from scratch
The Edit
Improving existing docs for accuracy, style, or goals
The Audit
Reviewing existing docs to assess condition and gaps
The Migration
Changing docs infrastructure (platform, format, hosting)
The Factory
Setting up automation, CI/CD, and tooling for docs
The Translation
Internationalizing and localizing documentation
The Rules
Creating contributor guidelines and style standards
The Study
Investigating user needs and documentation usage patterns
The Diataxis Map
Tutorials
How-to Guides
Reference
Explanation
What they do
Introduce, educate, lead
Guide
State, describe, inform
Explain, clarify, discuss
Answers
"Can you teach me to...?"
"How do I...?"
"What is...?"
"Why...?"
Oriented to
Learning
Goals
Information
Understanding
Purpose
Provide a learning experience
Help achieve a goal
Describe the machinery
Illuminate a topic
Form
A lesson
A series of steps
Austere description
Discursive explanation
Analogy
Teaching a child to cook
A recipe in a cookbook
Info on a food packet
Article on culinary history
Quality Standards
Diataxis distinguishes two categorically different types of quality:
Deep quality (subjective, interdependent, conditional on functional quality): Feels good to use, Has flow, Fits human needs, Anticipates the user
Diataxis addresses deep quality — it cannot fix inaccurate content, but it exposes functional quality problems by making them visible when documentation is properly structured.
How to Apply Diataxis
Don't create empty structures. Getting started does not mean dividing docs into four empty sections labeled tutorials/howto/reference/explanation. That's horrible. Diataxis changes structure from the inside.
Work iteratively. Pick any piece of documentation. Ask: what user need does this serve? How well? What one change would improve it? Do it. Repeat. Small, responsive iterations over top-down planning.
Complete, not finished. Like a living plant, your documentation is never finished (it can always grow) but always complete (nothing is missing at this stage of growth). Every stage from seed to mature tree is whole.
How to Use
Read individual rule files for detailed explanations and examples:
This skill supports pluggable writing styles. The default is Diataxis style — per-quadrant tone that matches each content type's purpose. Override with a specific organization's conventions when needed.
Default: Diataxis style (loaded automatically). Each quadrant has its own voice, person, and tone.
Style
Best For
Key Difference from Default
Diataxis (default)
Any project
Per-quadrant tone: "we" in tutorials, impersonal in reference, opinionated in explanation
Google
Open source, Google ecosystem
Always "you", uniform conversational tone, strict word list, accessibility-first
Microsoft
Enterprise B2B, internal platforms
Warm brand voice everywhere, bias-free communication, UI text conventions
Stripe
API-first products, DX-focused
Outcome-first framing, three-column layout, interactive code, docs as product
Canonical
Infrastructure, open source platforms
Pure Diataxis + engineering discipline, four pillars framework, starter packs
Minimal
Startups, MVPs, internal tools
README-first, auto-generate what you can, ship without perfection
To apply a style override, read references/styles/[style].md and follow its divergences from the default.
References
Priority
Reference
When to read
1
references/content-types.md
Writing any specific content type — purpose, structure, principles, anti-patterns for all 14 types
2
references/templates.md
Starting a new document — ready-to-use skeletons for tutorials, how-to, API ref, migration, runbook, etc.
3
references/style-guide.md
Making writing decisions — formatting, code examples, accessibility, multi-audience patterns
4
references/anti-patterns.md
Reviewing documentation — consolidated checklist of documentation smells and common mistakes