
Diataxis
Guides an agent to organise documentation into tutorials, how-tos, reference
Diataxis 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
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Diataxis
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 4 files (13 KB) on GitHub on 2 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 better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabaseOr copy only this skill to ~/.claude/skills/diataxis:
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.
Copy the skill folder to ~/.agents/skills/diataxis to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/diataxis to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/diataxisOr copy the folder to ~/.gemini/skills/diataxis yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/diataxis:
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.
Get the folder:
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.gitThen copy better-supabase/.agents/skills/diataxis into your agent's skills folder as diataxis. Agents that support SKILL.md read one folder per skill.
What it does
- 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
Diataxis 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.
More from ScaleDockHQ/better-supabase

Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown
- Open source
- 5 GitHub stars
- Files and documents

Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol
- Open source
- 5 GitHub stars
- Developer tools

Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0
- Open source
- 5 GitHub stars
- Developer tools

Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI
- Open source
- 5 GitHub stars
- Browser automation

Guides an agent to write, review and validate SKILL.md skills against the Agent Skills
- Open source
- 5 GitHub stars
- Developer tools

Write, place, migrate and review AGENTS.md instruction files for coding agents
- Open source
- 5 GitHub stars
- Developer tools



