Skip to content
Join free
mcollina

Documentation skill

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure.

$npx alyn-cli add documentation
View this skill on GitHubmcollina/skills/skills/documentation/SKILL.md
Pack stars
1,981
Pack installs
131k
Alyn Score
66/99
Updated
9 days ago
License
MIT

mcollina

Documentation

What is the Documentation skill?

Documentation is a finance skill by mcollina for Claude Code, Cursor, Codex and other AI coding agents. Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure.

Use this skill when you need to create, review, or improve technical documentation following the Diátaxis framework. Examples include: - Creating user guides - API documentation - Tutorial content - Restructuring existing documentation to better serve different user needs and contexts

When to use it

Use when a user needs to write or reorganize docs, structure a tutorial vs.

What the SKILL.md covers

  • When to use
  • Instructions
  • Step 1 — Identify the documentation type
  • Step 2 — Apply type-specific patterns
  • Step 3 — Maintain separation and integration
  • Step 4 — Validate before delivering
Author
mcollina
Pack
mcollina/skills (11 skills)
Category
Finance, #119 of 290
Alyn Score
66 / 99
Files
2
License
MIT
Last updated
9 days ago
Works with
Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot

Documentation compared to similar skills

SkillAlyn ScoreGitHub starsUpdated
Documentation · mcollina662k9 days ago
Stripe Docs · Stripe612.1k2 days ago
How To Tutorial Writer · Affitor6380937 days ago
Academy Guide · Anthropic91200k9 days ago

Install Documentation

Pick your agent. Every command is ready to paste.

$npx alyn-cli add documentation

Detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

$npx skills add mcollina/skills --skill documentation

Or use the open skills CLI directly.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads documentation when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the documentation skill”. In Codex, type $documentation.

The skill itself

SKILL.md

FolderGitHub

When to use

Use this skill when you need to create, review, or improve technical documentation following the Diátaxis framework. Examples include:

  • Creating user guides
  • API documentation
  • Tutorial content
  • Restructuring existing documentation to better serve different user needs and contexts

Instructions

Organize documentation into four distinct types — tutorials, how-to guides, reference material, and explanations — each serving different user needs and contexts.

Always ask clarifying questions about the user's context, audience, and goals before creating documentation.


Step 1 — Identify the documentation type

Use the following decision checklist based on user signals:

User signal Documentation type
"I'm new to X and want to learn it" / "walk me through" Tutorial
"How do I…?" / "I need to accomplish X" How-to guide
"What are the parameters/options/syntax for X?" Reference
"Why does X work this way?" / "Help me understand X" Explanation

Quick decision tree:

  • Is the user learning by doing for the first time? → Tutorial
  • Do they need to solve a specific problem they already understand? → How-to guide
  • Do they need technical facts to look up? → Reference
  • Do they want conceptual background? → Explanation

Step 2 — Apply type-specific patterns

Tutorials (learning-oriented)
  • Title pattern: Start with a verb — "Build your first X", "Create a Y from scratch"
  • Structure: Goal → Prerequisites → Numbered steps → Immediate verifiable result at each step → Final outcome
  • Minimise explanation; maximise doing
  • Every step must produce a visible, testable result
  • Validation: A beginner must be able to complete the tutorial without external help

Example intro:

"In this tutorial, you will build a simple REST API using Express. By the end, you will have a running server that responds to GET requests. No prior Express experience is needed."


How-to guides (problem-oriented)
  • Title pattern: Frame as a task — "How to configure X", "How to deploy Y to Z"
  • Structure: Goal statement → Assumptions/prerequisites → Numbered steps → Expected result
  • Assume baseline knowledge; skip conceptual explanations
  • Allow for variation; note alternatives where they exist
  • Validation: An experienced user can complete the task without confusion or backtracking

Example intro:

"This guide shows how to add JWT authentication to an existing Express app. It assumes you have a working Express server and basic familiarity with middleware."


Reference (information-oriented)
  • Title pattern: Name the thing — "Configuration options", "API endpoints", "CLI flags"
  • Structure: Consistent repeatable format per entry (name → type → default → description → example)
  • State facts; avoid instruction beyond minimal usage examples
  • Keep current; version-stamp if needed
  • Validation: A user can look up a specific fact in under 30 seconds without reading surrounding content

Example entry:

timeout (integer, default: 5000) Maximum time in milliseconds to wait for a response before the request fails. Example: { timeout: 3000 }


Explanations (understanding-oriented)
  • Title pattern: Frame as a concept — "How X works", "Understanding Y", "Why Z is designed this way"
  • Structure: Context → Core concept → Alternatives/trade-offs → Higher-level perspective
  • Avoid step-by-step instruction or technical specification
  • Validation: After reading, the user can explain the concept in their own words and understands the rationale behind design decisions

Example intro:

"Authentication and authorisation are often confused. This page explains the distinction, why both matter, and how common patterns (sessions, tokens, OAuth) approach each concern differently."


Step 3 — Maintain separation and integration

  • Keep each document a single type — don't mix tutorial steps with reference tables or conceptual digressions
  • Cross-link between types: a tutorial can link to the relevant reference page; a how-to guide can link to an explanation for background
  • Use consistent headings and terminology across all types so users can navigate the full documentation system

Step 4 — Validate before delivering

Type Validation check
Tutorial Can a beginner complete it end-to-end without external help?
How-to guide Does it solve the stated problem for an experienced user?
Reference Can the user find a specific fact in under 30 seconds?
Explanation Does the user understand the why, not just the what?

Tips for Documentation

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 11 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Documentation

What does the Documentation skill do?

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure.

How do I install Documentation?

Run "npx alyn-cli add documentation" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Documentation work in Cursor and Codex?

Yes. Documentation uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

When should I use the Documentation skill?

Use when a user needs to write or reorganize docs, structure a tutorial vs.

What is inside the Documentation skill?

The SKILL.md covers When to use, Instructions, Step 1 — Identify the documentation type, Step 2 — Apply type-specific patterns, Step 3 — Maintain separation and integration, Step 4 — Validate before delivering, and the skill folder has 2 files.

What is a good alternative to Documentation?

Stripe Docs by Stripe is the highest-ranked similar skill from another creator, with an Alyn Score of 61 compared to 66 for Documentation.

Is Documentation free?

Documentation is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Documentation?

Documentation is published by mcollina in the mcollina/skills repository, together with 10 other skills.

Similar skills. From other creators.