Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Divio Documentation

ASecurity

Write or review documentation following the Divio/Diataxis system, which defines four types: tutorials, how-to guides, reference, and explanation. This is the comprehensive reference skill; create-documentation delegates to this for detailed guidance.

10 stars
0 votes
0 copies
0 views
Added 10/6/2026
documentationgosqlapidatabasedocumentation

Works with

api

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add tomzx/agents --skill divio-documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Divio Documentation?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Divio Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomzx-divio-documentation/badge)](https://www.skillsdirectory.com/skills/tomzx-divio-documentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: divio-documentation
description: "Write or review documentation following the Divio/Diataxis system, which defines four types: tutorials, how-to guides, reference, and explanation. This is the comprehensive reference skill; create-documentation delegates to this for detailed guidance."
---

# Write Divio Documentation

Writes or reviews documentation following the Divio/Diátaxis four-type system, ensuring each document serves its intended audience and purpose without mixing concerns.

## Prerequisites

- The subject to document or the document to review provided in context
- Clarity on which documentation type is needed (or ask to determine it)
- Target audience's knowledge level

## Decision Framework

Identify the type before writing:

```
Is the user studying or working?
        /              \
   Studying           Working
      |                   |
      v                   v
Is it practical    Is it practical
or theoretical?    or theoretical?
  /      \           /      \
Pract.  Theor.    Pract.  Theor.
  |       |         |       |
  v       v         v       v
Tutorial Expl.  How-to   Ref.
```

**Quick identification:**
- "I want to learn X" -> **Tutorial**
- "I want to accomplish Y" -> **How-to**
- "What are the parameters of Z?" -> **Reference**
- "Why does X work this way?" -> **Explanation**

## The Four Documentation Types

### 1. TUTORIALS (Learning-Oriented)

**Purpose**: Take a complete beginner through steps to complete a meaningful project and gain confidence.

**Audience**: Absolute beginners with minimal prior knowledge.

**DO:**
- Start from zero, make no assumptions about prior knowledge
- Provide concrete, specific steps that are reliably repeatable
- Make every step produce a visible, comprehensible result
- Keep the learner moving forward at all times
- End each section with a meaningful accomplishment

**DON'T:**
- Explain concepts or theory in depth (link to Explanation instead)
- Provide options or alternatives (one clear path only)
- Allow the learner to encounter errors or confusion
- Discuss edge cases or advanced features

**Structure:**
```markdown
# Tutorial: [Specific Achievement]

## What You'll Build
## Prerequisites
## Step 1: [Action Verb + Specific Task]
## Step 2: [Next Action]
## What You've Learned
## Next Steps
```

### 2. HOW-TO GUIDES (Problem-Oriented)

**Purpose**: Guide users with some experience through solving a specific practical problem.

**Audience**: Users who know what they want to achieve.

**DO:**
- Start with a clear, descriptive title: "How to [specific task]"
- Focus on achieving one specific goal
- Assume the reader has basic knowledge of the system
- Be concise and action-oriented

**DON'T:**
- Try to teach concepts (link to Explanation)
- Provide exhaustive coverage of all options
- Make it tutorial-like with excessive hand-holding

**Structure:**
```markdown
# How to [Specific Task]

## Problem
## Prerequisites
## Steps
## Verification
## Related
```

### 3. REFERENCE (Information-Oriented)

**Purpose**: Provide accurate, complete technical descriptions of the system's parts.

**Audience**: Users actively working with the code who need to look up specifics.

**DO:**
- Structure to mirror the codebase organization
- Maintain absolute consistency in tone, format, and structure
- Include all parameters, return values, exceptions
- Keep descriptions up-to-date with code changes

**DON'T:**
- Include instructions on how to achieve tasks (link to How-to)
- Explain concepts or design decisions (link to Explanation)
- Use conversational or variable tone

**Structure:**
```markdown
# [Class/Function/Module Name]

## Description
## Syntax
## Parameters
## Returns
## Exceptions
## Example
## See Also
```

### 4. EXPLANATION (Understanding-Oriented)

**Purpose**: Clarify, explain, and provide context about a topic to deepen understanding.

**Audience**: Users seeking deeper understanding of concepts, context, or design decisions.

**DO:**
- Take a broader, higher-level view
- Discuss background, context, and design decisions
- Explore connections between concepts
- Write in a discursive, readable style

**DON'T:**
- Give step-by-step instructions (link to Tutorial or How-to)
- Provide technical specifications (link to Reference)

**Structure:**
```markdown
# Understanding [Concept/Topic]

## Overview
## Background
## How It Works
## Why This Approach
## Alternatives
## Common Misconceptions
## Further Reading
```

## The Four Quadrants

```
              PRACTICAL
                 |
    TUTORIALS    |    HOW-TO GUIDES
   (learning)    |    (problem-solving)
                 |
STUDYING --------+-------- WORKING
                 |
   EXPLANATION   |    REFERENCE
  (understanding)|   (information)
                 |
             THEORETICAL
```

## Key Principles

1. **Keep them separate**: Each type has different demands. Don't mix them.
2. **All four are needed**: A complete documentation system includes all types.
3. **Cross-link appropriately**: Link between types but maintain boundaries.
4. **Structure explicitly**: Make it obvious which type each document is.
5. **Resist the tendency to mix**: Types naturally tend to blend - resist this.

## Example Usage

**Scenario 1: New library - "how do I get started?"**
User wants to learn the library from scratch. Write a **Tutorial** that walks through building a small working example, ending with a visible result.

**Scenario 2: Specific task - "how do I switch databases?"**
User knows the system and wants to accomplish a specific goal. Write a **How-to Guide**: "How to Switch from SQLite to PostgreSQL" with numbered steps and a verification step.

**Scenario 3: API documentation**
User is actively writing code and needs parameter details. Write **Reference** documentation mirroring the code structure, covering all parameters, return types, and exceptions.

**Scenario 4: Design question - "why does this use event sourcing?"**
User wants to understand architectural decisions. Write an **Explanation** covering background, trade-offs, and alternatives considered.

**Scenario 5: Reviewing existing docs**
User provides a document to review. Identify which type it is, then flag violations (e.g., a how-to that explains too much theory, or a tutorial that offers choices).

Attribution

tomzxtomzx
View sourceSee grades on GitHubMore from tomzx →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Context Fundamentals

Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.

179001 votes

Architecture Diagram Creator

Create comprehensive HTML architecture diagrams with data flows, business context, and system architecture.

6661 votes

release-notes

Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.

1301 votes

docs-style-guide

Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.

11 votes

Docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in W...

1798860 votes
View all in documentation →