documentation-writing

Write software documentation using one of four structured types per document.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/databio/ai-sandbox --skill documentation-writing-databio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-writing
Source: https://github.com/databio/ai-sandbox/tree/main/workspaces/.claude/skills/documentation-writing
Command: npx skills add https://github.com/databio/ai-sandbox --skill documentation-writing-databio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Facilitates consistent, high-quality technical writing by enforcing a single documentation type per file and guiding the structure around four distinct formats.

Core Features & Use Cases

  • Tutorial: Teach users by building a complete, real-world example.
  • How-to: Provide goal-oriented, step-by-step instructions to achieve a specific outcome.
  • Reference: Deliver precise API/CLI/configuration details in a stable layout.
  • Explanation: Add context, rationale, and design decisions to inform deeper understanding.

Quick Start

Create a new document by selecting a single type (Tutorial, How-to, Reference, or Explanation) and composing a clear, focused entry.

Frequently Asked Questions about documentation-writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the four-type documentation system for technical writing?

The four-type documentation system structures technical writing into distinct formats: Tutorial, How-to, Reference, and Explanation. It enforces a single documentation type per file to ensure consistent, high-quality output for software projects.

How do I write a tutorial versus a how-to guide for software documentation?

A tutorial teaches users by building a complete, real-world example, while a how-to guide provides goal-oriented, step-by-step instructions to achieve a specific outcome. You must select and adhere to only one type per document.

When should I use a reference document instead of an explanation?

Use a reference document to deliver precise API, CLI, or configuration details in a stable layout. Use an explanation document to add context, rationale, and design decisions that inform deeper understanding.

Can I combine API references and tutorials in a single document?

No, the system enforces a one-type rule per document. You must separate API references and tutorials into different files, ensuring each document maintains a clear, focused structure across software projects.

What is the best way to structure a README for consistent technical documentation?

To structure a README consistently, select a single documentation type from the four-type system and compose a focused entry. Apply clear sectioning based on whether the file is a Tutorial, How-to, Reference, or Explanation.