
Diataxis writer
Restructure and review docs by reader need: tutorial, how-to, reference, or explanation
Diataxis writer is an open-source agent skill for writing style. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- shell
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 126
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Diataxis writer
Diataxis Writer helps an agent create, restructure, classify and audit documentation of many kinds, including knowledge bases, runbooks, manuals, API docs and onboarding material. It sorts each page by the reader's job (learning, doing a task, looking up facts or understanding a concept) and asks the agent to keep one dominant purpose per page. The skill includes type-specific guidance for each of the four document types and advice on splitting mixed pages and linking related ones.
The workflow starts by identifying the reader's goal and audience, then picks one primary document type that drives structure, tone and depth. After drafting, the agent runs a prose pass that favors short, single-idea sentences, and it can hand the text to a separate humanizer skill when that is installed. For English technical steps and reference text, the skill points to a Simplified Technical English style reference, and it notes that the output is STE-style rather than certified.
The skill includes a bash helper script, classify-doc.sh, that gives a quick heuristic classification of an existing Markdown file and accepts input from stdin. Users supply the documents to review, the intended readers and the outcome they want.
When your agent uses it
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 9 files (55 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the agent-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skillsOr copy only this skill to ~/.claude/skills/diataxis-writer:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/diataxis-writer &&
cp -R "$tmp/skills/diataxis-writer" ~/.claude/skills/diataxis-writer &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/diataxis-writer inside it instead.
Copy the skill folder to ~/.agents/skills/diataxis-writer to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/diataxis-writer &&
cp -R "$tmp/skills/diataxis-writer" ~/.agents/skills/diataxis-writer &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/diataxis-writer inside it instead.
Copy the skill folder to ~/.cursor/skills/diataxis-writer to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/diataxis-writer &&
cp -R "$tmp/skills/diataxis-writer" ~/.cursor/skills/diataxis-writer &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/diataxis-writer inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/diataxis-writerOr copy the folder to ~/.gemini/skills/diataxis-writer yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/diataxis-writer:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/diataxis-writer &&
cp -R "$tmp/skills/diataxis-writer" ~/.copilot/skills/diataxis-writer &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/diataxis-writer inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tronghieu/agent-skills.gitThen copy agent-skills/skills/diataxis-writer into your agent's skills folder as diataxis-writer. Agents that support SKILL.md read one folder per skill.
What it does
- Four-type classification
- Sorts content into tutorial, how-to, reference or explanation based on the reader's intent.
- Mixed-page diagnosis
- Finds sections that serve a different reader job and suggests where to move or split them.
- Type-specific writing guidance
- Gives separate rules for structuring tutorials, task guides, lookup pages and conceptual pages.
- Reader-first prose rules
- Sets sentence length, clause and paragraph limits to make technical text easier to follow.
- Simplified Technical English style
- Applies controlled-language rules to English how-to and reference text, marked as STE-style only.
- Document classifier script
- A bash script that gives a quick heuristic classification of a Markdown document.
Good for
- Reorganize a long getting-started page into a tutorial and a reference page
- Turn a deployment procedure into a task-focused how-to guide with verification steps
- Audit a confusing help center article and propose a target structure
- Write scannable reference docs for CLI options, defaults and constraints
- Rewrite English technical steps in a controlled, simple style for non-native readers
Diataxis writer FAQ
What does the skill need to run?
It needs bash to run the classify-doc.sh helper script, which accepts a file path or stdin. The skill's own guidance does not list other required tools.
Does Diataxis writer change my documents directly?
It returns a classification note, the document or a review, and a verification checklist as described in its output format. The content does not say it edits files in place.
Will Diataxis writer use the humanizer skill?
If a humanizer skill is available in the session, it calls it for a final prose pass. If not, it applies a built-in checklist and suggests installing humanizer once per conversation.
Is the output certified Simplified Technical English?
No. The skill states that the official STE dictionary is not included, so the output is STE-style only.
Which content types should Diataxis writer avoid?
The skill says it is less suitable for marketing, legal, sales, press or fiction writing unless the user wants a Diataxis-style analysis.
How do I install Diataxis writer in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/diataxis-writer to use it in all your projects, or to .claude/skills/diataxis-writer in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add tronghieu/agent-skills, then /plugin install agent-skills@tronghieu-skills.
Does Diataxis writer run scripts?
Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Diataxis writer?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Diataxis writer?
The closest alternatives to Diataxis writer are Diataxis, Documentation writer, Writing user docs, Persuasive technical writing and Article writing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tronghieu/agent-skills

Lets your agent inspect bmad-loop run artifacts to explain health, stalls and failures
- Open source
- 126 GitHub stars
- Developer tools

Coaches structured brainstorming where you generate ideas first and the agent builds
- Open source
- 126 GitHub stars
- Productivity

Audits the reasoning of a document, finding gaps, assumptions and fallacies with quotes
- Open source
- 126 GitHub stars
- Productivity

Scores and compares CVs against a job description using a shared 100-point rubric
- Open source
- 126 GitHub stars
- Productivity

Guides an agent through data profiling, statistical tests and leak-safe model baselines
- Open source
- 126 GitHub stars
- Analytics and data

Lets an agent read long books and papers chapter by chapter with page-anchored notes
- Open source
- 126 GitHub stars
- Files and documents



