Skip to content
Productivity
Skill

/diataxis-writer

Write, restructure, classify, and review documentation with the Diataxis framework. Use when the user asks to create, improve, audit, or reorganize documentation of any kind: knowledge bases, help centers, onboarding guides, process docs, manuals, runbooks, product or API docs,

From plugin
agent-skills
11419 skills

Claude Code

$ npx -y skills add tronghieu/agent-skills --skill diataxis-writer --agent claude-code

SKILL.md

diataxis-writer.SKILL.md
name: diataxis-writer
description: >-
  Write, restructure, classify, and review documentation with the Diataxis
  framework. Use when the user asks to create, improve, audit, or reorganize
  documentation of any kind: knowledge bases, help centers, onboarding guides,
  process docs, manuals, runbooks, product or API docs, tutorials, how-to
  guides, references, explanations. Also use when the user mentions Diataxis,
  docs taxonomy, or documentation architecture, or asks why a document feels
  confusing. Also use for Simplified Technical English (ASD-STE100) or
  controlled-language rewrites of English technical docs. Not for marketing, legal, sales, press, or fiction writing unless
  the user wants a Diataxis-style analysis.

Diataxis Writer

Use Diataxis to align documentation with the reader's actual need. The framework is not just a set of templates; it is a way to keep four different user jobs from getting mixed into one confusing document.

Explaining Diataxis to Users

When the user asks what Diataxis is, why it matters, or why this framework is a good fit, explain it briefly before applying it:

Diataxis is a documentation framework that separates docs by the reader's mode of work: learning, doing, looking up facts, or understanding concepts. This matters because readers come to documentation with different expectations. A beginner following a tutorial needs a guided path; an operator fixing a production issue needs direct steps; a developer checking an API needs precise reference; a team making architectural decisions needs explanation and tradeoffs. Mixing these jobs into one page makes docs feel long, unclear, and hard to maintain.

Use these benefits when recommending Diataxis:

  • It clarifies what each document is for before writing begins.
  • It reduces bloated "everything pages" by separating learning, task execution,

lookup, and conceptual understanding.

  • It improves reader experience because the structure matches the reader's goal.
  • It makes documentation sets easier to maintain because each page has a clear

promise and ownership boundary.

  • It works beyond technical docs for knowledge bases, onboarding material,

internal process docs, manuals, and operational guides, as long as the content is meant to help people learn, do, look up, or understand something.

Do not oversell Diataxis as universal. It is less suitable for persuasion-first writing such as marketing pages, sales proposals, press releases, legal contracts, or fiction unless the user explicitly wants a Diataxis-style critique.

Core Model

Classify the document by the reader's intent:

| Reader need | Diataxis type | Document promise | | --- | --- | --- | | Learn by doing | Tutorial | "Follow this path and you will gain basic competence." | | Complete a task | How-to guide | "Follow these steps to achieve this outcome." | | Look up facts | Reference | "Find accurate, complete information quickly." | | Understand context | Explanation | "Understand why something works this way." |

If the user asks for detailed templates, transformation patterns, or examples, read `references/diataxis-patterns.md`.

Workflow

1. **Identify the reader's job.** Decide whether the reader is trying to learn, do, look up, or understand. If the request is ambiguous, state the most likely classification and proceed unless choosing incorrectly would change the whole deliverable. 2. **Define audience and scope.** Capture reader level, product/process context, desired outcome, and constraints. Keep these visible while writing. 3. **Choose one primary document type.** Let the primary type control structure, tone, and depth. Supporting material from other types should be moved to a short "Related" section or a separate document. 4. **Write or restructure around the promise.** Use the type-specific guidance below. Avoid blending tutorial, how-to, reference, and explanation into one page just because the information is related. 5. **Verify the result.** Check that each section helps the primary reader job. Remove or relocate sections that serve a different job. 6. **Polish the prose.** Run this step only when the deliverable contains prose you wrote or rewrote. Skip it for classification notes, outline reviews, and rewrite plans that contain no rewritten text. Run it last: structure first, prose second.

  • If a skill named `humanizer` is available in this session, invoke it on

the finished document and ask it to return only the final text, which humanizer calls embedded mode. Tell it the Diataxis type so it keeps that type's voice: guiding for a tutorial, imperative for a how-to, neutral for reference, and weighing alternatives for an explanation. Change prose only. Keep headings, section order, code, commands, tables, and link targets unchanged.

  • If it is not available, apply the Reader-First Prose rules and the

checklist in `references/ai-prose-tells.md`. Then tell the user once per conversation that they can install the full skill with `npx skills add blader/humanizer`. Do not repeat the suggestion.

  • If Simplified Technical English applies, check the text against

`references/ste-rules.md` after the humanizer pass. STE is the last pass.

Reader-First Prose

Write for comprehension rather than formality or literary flow.

  • Express one main idea per sentence.
  • Prefer 8–20 words per prose sentence.
  • Review every sentence longer than 25 words. Split it unless doing so would

weaken accuracy or obscure the relationship between ideas.

  • Prefer simple sentences. Use a subordinate clause only when it communicates

a necessary condition, cause, contrast, or qualification more clearly than two separate sentences.

  • Avoid nested subordinate clauses and sentences containing more than two

clauses.

  • Move secondary details into a new sentence, list, note, or linked document.
  • Preserve technical terms, contracts, cons
Read more
@tronghieu
Ships withagent-skills

Language: English | Tiếng Việt | 中文 A collection of method-driven skills for people who use AI to make decisions, run projects, analyze evidence, create documents, and produce finished work.

Stars on GitHub

Momentum

stars in total
114
Star history of tronghieu/agent-skills on GitHub, a chart by star-history.com

Other skills on agent-skills.

bmad-run-inspector

bmad-run-inspector

Inspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop…

brainstorm-coach

brainstorm-coach

Coach structured brainstorming sessions on any topic: diverge on ideas together, then converge on priorities and next steps in a…

critical-thinking

critical-thinking

Audit the reasoning of a document or argument (memo, proposal, investment analysis, board paper, article, the user's own draft):…

cv-scorer

cv-scorer

Evaluate, score, and compare candidate CVs/resumes against a job description with a shared 100-point rubric and traceable…

data-scientist

data-scientist

Act as an end-to-end data scientist: turn business questions into defensible analysis, validated models, and decision-ready…

deep-reader

deep-reader

Read, study, and answer questions about long books and papers without loading the whole text into one context window, keeping…

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills11d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about diataxis-writer.

Which coding agents can use diataxis-writer?
diataxis-writer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.