Logo: Diataxis Writer

Diataxis Writer

Communautéit
tronghieu
diataxis-writer

Schreift, strukturéiert, klasséiert an iwwerpréift Dokumentatioun mam Diataxis-Framework. Benotzt dëse Skill, wann de Benotzer Dokumentatioun vun iergendenger Aart erstellen, verbesseren, auditéieren oder nei organiséieren wëll: Wëssensbasen, Help-Centeren, Onboarding-Guiden, Prozessdokumenter, Handbicher, Runbooks, Produkt- oder API-Dokumentatioun, Tutorials, Schrëtt-fir-Schrëtt-Uleedungen, Referenzmaterial an Erklärungen. Benotzt en och, wann de Benotzer Diataxis, eng Docs-Taxonomie oder d'Architektur vun enger Dokumentatioun ernimmt oder freet, firwat en Dokument verwirrend wierkt. Benotzt en och fir Simplified Technical English (ASD-STE100) oder kontrolléiert Ëmschreiwunge vun englescher technescher Dokumentatioun. Net fir Marketing-, juristesch, Verkafs- oder Presse-Texter oder Fiktioun, ausser de Benotzer wëll eng Analyse am Diataxis-Stil.

Add to TypingMind

Iwwersiicht

Editeurtronghieu
Repositoryagent-skills
Skill-Nummdiataxis-writer
Stären
98
Forks
32
Matgeliwwert Dateien
7
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 7 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    tronghieu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Diataxis Writer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/tronghieu/agent-skills/tree/main/skills/diataxis-writer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tronghieu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/diataxis-writer .claude/skills/diataxis-writer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Diataxis Writer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Diataxis Writer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Diataxis Writer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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 needDiataxis typeDocument promise
Learn by doingTutorial"Follow this path and you will gain basic competence."
Complete a taskHow-to guide"Follow these steps to achieve this outcome."
Look up factsReference"Find accurate, complete information quickly."
Understand contextExplanation"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, constraints, evidence, and important exceptions. Concision must not remove required meaning.
  • Keep the certainty of each claim. Do not turn "may fail" into "fails". Do not add a cause, frequency, or fact that the source does not state.
  • Use one term for one concept. Do not rotate synonyms such as "check", "verify", and "confirm" for the same action.
  • Keep noun clusters to three words or fewer.
  • Give each paragraph one topic and at most six sentences. Use a list for three or more steps or conditions.
  • Do not apply sentence-length limits to code, commands, paths, tables, headings, quotations, or generated identifiers.
  • Vary sentence length naturally. Do not turn every sentence into the same short pattern. Text under Simplified Technical English is the exception.

Treat word counts as review signals, not mechanical pass/fail rules. For Vietnamese, count space-separated tokens consistently even though they do not always correspond to lexical words. For languages without space-delimited words, rely on the one-idea and clause-count rules instead.

Simplified Technical English

ASD-STE100 Simplified Technical English (STE) is a controlled language for technical text that must have one meaning. Its language-neutral rules are already in Reader-First Prose and the how-to guidance. Its English-only rules live in references/ste-rules.md.

Read that file and apply it when the output is English and either:

  • the page is a how-to guide or reference page, or the text is tutorial steps, warnings, or error messages, or
  • the user asks for STE, ASD-STE100, Simplified Technical English, or a controlled-language rewrite.

Do not apply the English-only rules to other languages. Do not call the result STE-compliant. The official STE dictionary is not included, so the result is STE-style.

Type Guidance

Tutorial

Use a tutorial when the reader needs a guided learning experience.

  • Give the reader a safe, repeatable path from zero to a concrete result.
  • Prefer one reliable route over a catalog of options.
  • Include enough explanation to keep the learner oriented, but do not interrupt the lesson with deep theory or exhaustive reference material.
  • Make success visible with checkpoints, expected outputs, and recovery notes.
  • Avoid assuming the reader can make expert decisions before the lesson teaches the relevant concepts.

How-to Guide

Use a how-to guide when the reader already has context and wants a task done.

  • Start with the outcome, prerequisites, and when to use the guide.
  • Write action-oriented steps in the order the user should perform them.
  • Give each step one action. Use active voice and name who acts.
  • Start each warning or caution with the command or condition, then give the reason.
  • Include decision points, warnings, rollback/recovery guidance, and verification.
  • Keep conceptual background brief; link to explanations when the "why" would distract from completing the task.
  • Avoid turning the guide into a beginner lesson.

Reference

Use reference when the reader needs accurate lookup material.

  • Organize by the natural structure of the subject: commands, fields, endpoints, options, states, errors, schemas, components, policies, or glossary terms.
  • Be complete, consistent, and predictable. Reference users scan; they do not want narrative buildup.
  • Use tables, signatures, examples, defaults, limits, and cross-references.
  • Keep interpretation minimal. If the reader needs rationale, link to an explanation.

Explanation

Use explanation when the reader needs understanding, context, or rationale.

  • Explain concepts, mental models, design decisions, tradeoffs, history, and consequences.
  • Prefer clear prose, diagrams, comparisons, and examples over procedural steps.
  • Show why alternatives exist and why one choice was made.
  • Do not promise task completion. If the reader needs steps, link to a how-to.

Mixed Documents

Real documentation sets often need all four types, but a single page should still have one dominant job. When a page mixes types:

  1. Name the dominant reader need.
  2. Extract unrelated material into separate pages or clearly marked sections.
  3. Add links between the pages so readers can move from learning to doing, from doing to lookup, or from lookup to understanding.

Useful split patterns:

  • A long "getting started" page often becomes a tutorial plus a reference page.
  • A troubleshooting article often becomes a how-to guide plus an explanation of the underlying failure mode.
  • A product overview often becomes an explanation plus task-specific how-to guides.
  • API docs often become reference pages with separate tutorials and how-to guides.

Helper Script

Use the classifier as a quick heuristic when reviewing an existing document. It does not replace editorial judgment, but it can surface mixed signals quickly.

Run it from the skill directory:

bash
bash ./scripts/classify-doc.sh path/to/doc.md

The script also accepts stdin:

bash
cat path/to/doc.md | bash ./scripts/classify-doc.sh

Output Format

When writing a new document, return:

  1. A brief classification note: document type, reader job, and key assumption.
  2. The document itself.
  3. A short verification checklist if the task involves review, restructuring, or a high-stakes knowledge base.

When reviewing an existing document, return:

  1. Current dominant Diataxis type.
  2. Mixed-type problems, with section-level examples.
  3. Recommended target structure.
  4. Concrete rewrite plan or rewritten sections, depending on the user's request.

If the humanizer skill ran, include only its final text inside the document. Do not include its draft or its list of remaining patterns. The classification note, document, and checklist stay as described above.

Quality Checklist

  • The page has one primary reader job.
  • The title and opening promise match that reader job.
  • Tutorial content teaches through doing instead of explaining everything first.
  • How-to content helps a competent reader finish a task without detours.
  • Reference content is complete, scannable, and consistently structured.
  • Explanation content develops understanding without pretending to be a procedure.
  • Related-but-different material is linked or separated rather than blended.
  • The output matches the user's language unless they request otherwise.
  • Most prose sentences contain one main clause and one main idea.
  • Sentences longer than 25 words have been reviewed and are necessary.
  • No sentence contains nested qualifications that could be stated separately.
  • Concision has not removed contracts, constraints, evidence, or exceptions.
  • Each claim keeps its original certainty, and no new facts were added.
  • English how-to, reference, and tutorial steps follow references/ste-rules.md.
  • The prose has been checked for common AI writing tells, either with the humanizer skill or with references/ai-prose-tells.md.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Diataxis Writer?

Schreift, strukturéiert, klasséiert an iwwerpréift Dokumentatioun mam Diataxis-Framework. Benotzt dëse Skill, wann de Benotzer Dokumentatioun vun iergendenger Aart erstellen, verbesseren, auditéieren oder nei organiséieren wëll: Wëssensbasen, Help-Centeren, Onboarding-Guiden, Prozessdokumenter, Handbicher, Runbooks, Produkt- oder API-Dokumentatioun, Tutorials, Schrëtt-fir-Schrëtt-Uleedungen, Referenzmaterial an Erklärungen. Benotzt en och, wann de Benotzer Diataxis, eng Docs-Taxonomie oder d'Architektur vun enger Dokumentatioun ernimmt oder freet, firwat en Dokument verwirrend wierkt. Benot...

Firwat Diataxis Writer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Diataxis Writer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Diataxis Writer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/tronghieu/agent-skills/tree/main/skills/diataxis-writer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Diataxis Writer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Diataxis Writer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Diataxis Writer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Diataxis Writer gratis?

Jo. tronghieu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇