smithery.ai

documentation

Centralizes Diataxis documentation framework guidance so Claude can write, review, or improve documentation following the four distinct types (tutorials, how-to guides, reference, explanation).

First seen Mar 13, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob, Bash, Edit, Write

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,487 B
  • docs SUMMARY.md 214 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 67 installs

SKILL.md

Documentation Skill

Unifies all Diataxis documentation guidance into one Skill. Claude activates this Skill whenever documentation should be written, reviewed, or improved, and then "lazy loads" the exact documentation type guidance by opening the reference docs linked below.

Critical Workflow

REQUIRED: Before writing or reviewing ANY documentation, you MUST load the relevant documentation type reference file(s) using the Read tool.

  1. Use the Compass to identify the documentation type needed (see below)
  2. Read the matching reference file(s) BEFORE writing/reviewing:

- Learning experiences → Read references/tutorials.md - Task-oriented guides → Read references/how-to-guides.md - Information lookup → Read references/reference.md - Understanding & context → Read references/explanation.md

  1. Apply the documentation type's principles from the loaded reference
  2. Write or review documentation according to that type's standards

DO NOT attempt to write or review documentation without first loading the appropriate reference file(s).

The Diataxis Compass

The compass is your primary decision-making tool. Ask two questions:

Question 1: Action or Cognition?

  • Action = Practical steps, doing things, hands-on work
  • Cognition = Theoretical knowledge, thinking, understanding

Question 2: Acquisition or Application?

  • Acquisition = Study, learning something new
  • Application = Work, using skills to accomplish tasks

The Four Quadrants

                    ACQUISITION              APPLICATION
                    (Study)                  (Work)
              ┌─────────────────────┬─────────────────────┐
              │                     │                     │
   ACTION     │     TUTORIALS       │    HOW-TO GUIDES    │
   (Doing)    │   Learning-oriented │    Task-oriented    │
              │   "Teach me"        │    "Help me do X"   │
              │                     │                     │
              ├─────────────────────┼─────────────────────┤
              │                     │                     │
   COGNITION  │    EXPLANATION      │     REFERENCE       │
   (Knowing)  │ Understanding-      │  Information-       │
              │    oriented         │     oriented        │
              │   "Help me          │    "What is the     │
              │    understand"      │     spec for X?"    │
              └─────────────────────┴─────────────────────┘

Quick Decision Guide

User Need Action/Cognition Acquisition/Application → Type
"How do I get started?" Action Acquisition Tutorial
"How do I deploy to prod?" Action Application How-to
"What parameters does X accept?" Cognition Application Reference
"Why does the system work this way?" Cognition Acquisition Explanation

Key Distinctions (Critical!)

Tutorial vs How-to Guide

Both contain steps, but serve fundamentally different purposes:

Aspect Tutorial How-to Guide
User Learner, may not know enough to ask questions Competent practitioner who knows their goal
Responsibility Teacher bears responsibility for success User bears responsibility for outcomes
Approach Concrete, specific, controlled environment General, adaptable to real-world variation
Path Single path, no choices Multiple routes, branching options
Completeness Must be complete end-to-end Can start/end at reasonable points
Safety Must be safe, can always restart Cannot promise safety
Focus Learning through doing Getting work done

Reference vs Explanation

Both provide knowledge, but for different contexts:

Test Question If Yes → If No →
Would someone turn to this while actively working? Reference Explanation
Could you imagine reading this in the bath? Explanation Reference
Is it lists, tables, or technical specs? Reference Explanation
Does it answer "why?" questions? Explanation Reference

Applying Diataxis: Iterative Approach

Do NOT create empty structures. Don't create /tutorials, /how-to, /reference, /explanation folders with nothing in them.

Start small:

  1. Pick any existing documentation
  2. Apply compass to determine what type it should be
  3. Improve it according to that type's principles
  4. Repeat

Let structure emerge: As you improve individual pieces, patterns will emerge that suggest organizational structure. The top-level structure forms from the inside out.

Documentation Type References (load on demand)

  • [Tutorials](references/tutorials.md) - Learning-oriented experiences enabling skill acquisition through guided practice
  • [How-to Guides](references/how-to-guides.md) - Task-oriented directions for accomplishing specific goals
  • [Reference](references/reference.md) - Information-oriented technical descriptions for authoritative lookup
  • [Explanation](references/explanation.md) - Understanding-oriented discussions providing context and answering "why?"

Key Principles

  1. Different contexts need different documentation - Users learning need tutorials; users working need how-to guides or reference; users seeking understanding need explanation
  2. Separation of concerns - Keep documentation types distinct to prevent confusion
  3. User-centered approach - Consider what the user is trying to accomplish and in what context
  4. Iterative improvement - Enhance documentation incrementally by applying Diataxis principles
  5. Purpose-driven structure - Each type has specific characteristics that make it effective for its intended purpose