# Diataxis

> Diataxis is an open-source agent skill for writing style. Guides an agent to organise documentation into tutorials, how-tos, reference. 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/ScaleDockHQ/better-supabase/tree/main/.agents/skills/diataxis
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** diataxis
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [writing style](https://ai-powered.com/categories/writing-style)
- **Listing updated:** 2026-12-02

## About

This skill brings the Diátaxis documentation framework, created by Daniele Procida, into the agent's working context. It explains the four kinds of documentation, the principles that keep each kind distinct, and the two-question compass used to decide which kind a given piece of content belongs to.

The instructions are a short workflow: pick the current framework version, check the written requirements that apply to the author's role, and only upgrade between version lines when asked. A verification checklist at the end asks the agent to confirm each document is a single kind and that the requirements hold. The requirements are quoted from pinned source text on diataxis.fr and cite the section they come from.

The skill ships as Markdown reference files with no scripts. It expects a documentation set or a request to structure one, and it does not run tools itself.

## When your agent uses it

> Diátaxis: structure documentation into tutorials, how-to guides, reference and explanation. Covers Diátaxis. Use when structuring documentation. Triggers: Diátaxis.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/diataxis)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/diataxis)

## Features

- **Four documentation kinds:** Covers tutorials, how-to guides, reference and explanation, and what each one is for.
- **Compass decision check:** Uses the two questions of action versus cognition and acquisition versus application to classify content.
- **Pinned requirement quotes:** Lists the framework's requirements as quotations tied to their source sections.
- **Role-based application:** Asks the agent to apply requirements according to whether it is writing, editing or reviewing docs.
- **Version selection and upgrades:** Specifies which framework version line to use and how to move between lines when requested.
- **Verification checklist:** Ends with checks that each document is one kind and that applicable requirements hold.

## Good for

- Restructure a messy docs folder into tutorials, how-tos, reference and explanation
- Decide whether a page should be a tutorial or a how-to guide
- Review a draft tutorial for visible results at each step
- Check that reference pages describe the product without opinion
- Plan a new documentation set around the Diátaxis framework

## Install

### Claude Code

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

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/diataxis &&
cp -R "$tmp/.agents/skills/diataxis" ~/.claude/skills/diataxis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/diataxis` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/diataxis &&
cp -R "$tmp/.agents/skills/diataxis" ~/.agents/skills/diataxis &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/diataxis` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/diataxis &&
cp -R "$tmp/.agents/skills/diataxis" ~/.cursor/skills/diataxis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/diataxis` 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/ScaleDockHQ/better-supabase.git --path .agents/skills/diataxis
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/diataxis &&
cp -R "$tmp/.agents/skills/diataxis" ~/.copilot/skills/diataxis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/diataxis` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/diataxis` into your agent's skills folder as `diataxis`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Diataxis need to run?

It needs no scripts or tools. It is a set of Markdown instructions and reference files that an agent reads when a documentation task matches.

### When does Diataxis trigger?

It triggers when structuring documentation or when the user mentions Diátaxis.

### Which version of the framework does Diataxis follow?

It follows the current Diátaxis line, pinned to a specific commit of the diataxis.fr source, and only upgrades when asked.

### Does Diataxis change any files?

The skill itself gives guidance for organising documentation; the description does not state that it edits files directly.

### How do I install Diataxis in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/diataxis to use it in all your projects, or to .claude/skills/diataxis in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does Diataxis run scripts?

No. It is instructions only, with no 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?

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?

The closest alternatives to Diataxis are Diataxis writer, Documentation writer, Writing user docs, Article writing and Elements of style.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Diataxis writer](https://ai-powered.com/skills/diataxis-writer): Diataxis writer 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.
- [Article writing](https://ai-powered.com/skills/article-writing): Article writing is an open-source agent skill for writing style.
- [Elements of style](https://ai-powered.com/skills/elements-of-style): Elements of style is an open-source agent skill for writing style.

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