# Diataxis writer

> Diataxis writer is an open-source agent skill for writing style. Restructure and review docs by reader need: tutorial, how-to, reference, or explanation. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/tronghieu/agent-skills/tree/main/skills/diataxis-writer
- **Repository:** https://github.com/tronghieu/agent-skills
- **GitHub stars:** 126
- **License:** MIT
- **Skill name:** diataxis-writer
- **Collection:** https://github.com/tronghieu/agent-skills
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/diataxis-writer)
- [No network calls found in its scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/diataxis-writer)
- [License: MIT](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/diataxis-writer)

## Features

- **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

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skills
```

Or copy only this skill to `~/.claude/skills/diataxis-writer`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/diataxis-writer` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/diataxis-writer` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/diataxis-writer
```

Or copy the folder to `~/.gemini/skills/diataxis-writer` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/diataxis-writer`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tronghieu/agent-skills.git
```

Then 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.

## 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.

## Alternatives

- [Diataxis](https://ai-powered.com/skills/diataxis): Diataxis is an open-source agent skill for writing style.
- [Documentation writer](https://ai-powered.com/skills/documentation-writer): Documentation writer is an open-source agent skill for developer tools.
- [Writing user docs](https://ai-powered.com/skills/writing-user-docs): Writing user docs is an open-source agent skill for writing style.
- [Persuasive technical writing](https://ai-powered.com/skills/persuasive-technical-writing): Persuasive technical writing is an open-source agent skill for writing style.
- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Declawed](https://ai-powered.com/skills/declawed): Declawed is an open-source agent skill for writing style.
- [Humanizer](https://ai-powered.com/skills/humanizer-ccomkhj): Humanizer is an open-source agent skill for writing style.
- [Humanizer](https://ai-powered.com/skills/humanizer-rubenmarcus): Humanizer is an open-source agent skill for writing style.

---
Source: https://ai-powered.com/skills/diataxis-writer
