Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Diataxis

  • 68 installs
  • 191 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

diataxis is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

Key points

  • diataxis
  • AI & Agent Building
  • AI-coding skill

Diataxis by the numbers

  • 68 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #5,828 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill diataxis

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs68
repo stars191
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do I helps with ai & agent building tasks during ai-assisted development?

Helps with ai & agent building tasks during AI-assisted development.

Who is it for?

Best when you're working on ai & agent building and need structured help with diataxis.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks during ai-assisted development, or when diataxis is a claude code skill for ai & agent building. it helps solo builders move faster with ai-assisted coding.

What you get

Structured output aligned to diataxis: diataxis; AI & Agent Building; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Diátaxis

A runbook for producing and fixing technical documentation with the Diátaxis framework. Diátaxis splits documentation into four modes — tutorials, how-to guides, reference, explanation — because they answer four different user needs that pull in opposite directions. The single idea that makes it work:

Most documentation problems are a single thing: content that tries to serve more than one need at once. Separate the four modes and most confusion dissolves.

Diátaxis is descriptive, not prescriptive — a way to understand documentation, not a template to fill in. Don't wait to understand the whole framework before applying it: pick one small thing, classify it, improve it, publish, repeat.

When to Apply

Use this skill when:

  • Writing or generating new documentation of any kind (README, API docs, guide, onboarding, developer docs) — decide which mode(s) the content needs before writing it.
  • A page is confusing, bloated, or "tries to do everything" — diagnose the type-mixing and split it.
  • *Users can't get started, can't complete a task, can't find a fact, or don't understand why*** — locate the missing or weak mode.
  • Restructuring or auditing an existing doc set — apply the small-step workflow instead of a big rewrite.
  • You're unsure whether something is a tutorial, how-to, reference, or explanation — run the compass.

Do not reach for this skill for pure prose/copy-editing within an already-correct mode (use a copywriting skill), or for design/spec/proposal documents — those are mostly explanation and are better served by dev-rfc or feature-spec.

The four modes

Each mode serves a different user, in a different situation, with a different content style. The quickest way to keep them straight:

ModeServesOriented toAnalogyAnswers
[Tutorial](references/tutorials.md)a beginner learninglearning, studyteaching a child to cook"teach me, by doing"
[How-to guide](references/how-to-guides.md)a user workinga goal, a taska recipe in a cookbook"how do I achieve X?"
[Reference](references/reference.md)a user workinginformationan encyclopaedia entry"what is X exactly?"
[Explanation](references/explanation.md)a user studyingunderstandingan article about cooking"why is X this way?"

Two of them serve practical steps (tutorial, how-to); two serve theoretical knowledge (reference, explanation). Two serve someone acquiring skill / studying (tutorial, explanation); two serve someone applying skill / working (how-to, reference).

The compass — decide what you are writing

When you are unsure which mode a piece of content belongs to, answer two questions. This is the master decision tool; the full tree is in compass-tree.md.

1. Does it inform _action_ or _cognition_? — practical steps (doing) vs theoretical knowledge (thinking). 2. Does it serve _acquisition_ or _application_? — study (learning) vs work (applying what you know).

Action (practical steps)Cognition (theoretical knowledge)
Acquisition (study / learning)TutorialExplanation
Application (work / doing)How-to guideReference

Read as a decision: informs action + serves acquisition → tutorial; informs action + serves application → how-to guide; informs cognition + serves application → reference; informs cognition + serves acquisition → explanation. Apply the compass at any scale — a whole document, a section, or a single sentence that has drifted into the wrong mode.

Common Symptoms

Start here. Match the situation, open its tree. Severity reflects how badly the reader is failed right now (see symptoms.md).

Symptom / triggerLikely problemTree
"Write docs for X" / "document this" — and it's unclear what kind of docNo mode chosen yet — classify firstcompass-tree
A page feels bloated, rambling, or mixes teaching + steps + specs + opinionType-mixing — two needs in one documentwrong-type-tree
Beginners can't get started · competent users can't finish a task · people can't find a fact · users don't understand whyA missing or weak quadrantgaps-tree
"Our docs are a sprawling mess — where do I even start?"Needs the iterative workflow, not a rewriterestructure-tree

How to use

1. Match the symptom in the table above and open its tree in references/. For a large existing corpus, run bash references/queries/scan-docs.sh <docs_root> first — it triages which pages show signals of more than one mode, so you know where to point the compass. 2. Classify with the compass — decide which of the four modes the content serves. When in doubt, open compass-tree.md. 3. Read the matching type guidetutorials, how-to-guides, reference, or explanation — for how to write that mode well, and what to keep out of it. 4. Work in small steps. Follow workflow.md: choose something small → assess it → decide one next action → do it and publish. Never tear everything down to restructure top-down. 5. Assess against quality. Use quality.md to judge functional quality (accuracy, completeness, consistency) and deep quality (does it feel good to use, anticipate the user's needs). 6. Record an audit with assets/templates/report.md when reviewing an existing doc set, so the same gaps don't get re-litigated each time.

Setup

This skill uses an optional config.json to know where your docs live and where to log audits. On first use, if docs_root is empty and you are auditing an existing doc set, ask the user (via AskUserQuestion) for the documentation directory, then save it. The skill works without config — fall back to asking inline. Never block on missing config.

Gotchas

The recurring traps of applying Diátaxis — empty structure-first scaffolding, "balancing" the four types instead of separating them, explaining inside a tutorial — are in gotchas.md. Read it before your first restructure.

Related skills

  • skill-authoring — authoring Agent Skills; their SKILL.md is itself a Diátaxis problem (navigation + reference, not a tutorial).
  • human-copywrite / humanize — once a doc is in the right mode, these tighten the prose so it reads naturally.
  • dev-rfc / feature-spec — design and spec documents are mostly explanation; reach for those when the artifact is a proposal, not user documentation.

Related skills

FAQ

What does diataxis do?

diataxis is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

When should I use diataxis?

When you need to helps with ai & agent building tasks during ai-assisted development, or when diataxis is a claude code skill for ai & agent building. it helps developers move faster with ai-assisted coding.

What are the main capabilities?

diataxis; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.