Skip to content
Agentmart
Submit a tool

diataxis-docs

Diátaxis documentation taxonomy mandate four orthogonal categories tutorials how-to reference explanation for every Datarim-managed repo and product site

Skill by Arcanada-one

IndexedMIT★ 16
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/arcanada-one-diataxis-docs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diátaxis documentation taxonomy mandate four orthogonal categories tutorials how-to reference explanation for every Datarim-managed repo and product site

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/diataxis-docs

What's inside

Skill name
diataxis-docs
Description
Diátaxis documentation taxonomy mandate four orthogonal categories tutorials how-to reference explanation for every Datarim-managed repo and product site
License
MIT
Instructions
155 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Diátaxis Documentation Taxonomy Mandate

> Loaded by `/dr-init` project scaffolding, `/dr-optimize` audit, and `/dr-archive` surface verification.
> Source-of-truth for documentation taxonomy contract across a consumer ecosystem.

## When This Skill Activates

- During `/dr-init` project scaffolding — defines the default `documentation/` directory structure with 4-category split.
- During `/dr-optimize` audit Step 6 — runs filesystem-presence check and detects repos without the mandated layout.
- During `/dr-archive` surface verification — validates that site surfaces (public-facing pages) comply with the mandate.
- When an operator or agent asks about documentation taxonomy rules — provides binding definitions and mapping.
- When evaluating a new repo or product site for inclusion in the ecosystem — determines whether mandate applies.

## Mandate Scope

- **Obligatory** for all new repos and product sites created under Datarim framework scaffolding.
- **Soft audit** for existing repos — `/dr-optimize` warns but does not block; operator may acknowledge or spawn an INFRA-* migration task.
- **Stack-agnostic** — the mandate describes taxonomy (directory layout + content-type contract), not SSG/CMS choice. Any static site generator may be used.
- **Slogan compliance required** — each updated public site must display the ecosystem slogan (see § Slogan Compliance).

## The Four Categories

### Tutorials

Learning-oriented category for beginners. Reader intent: acquire foundational knowledge through guided step-by-step experience. Typical content: getting-started guides, walkthroughs, interactive lessons, first-application tutorials. The reader does not yet know what questions to ask.

### How-to

Task-oriented category for practitioners. Reader intent: solve a specific problem or complete a concrete task. Typical content: deployment guides, testing recipes, debugging instructions, configuration steps. The reader knows what they want to do and seeks precise instructions.

### Reference

Information-oriented category for lookup. Reader intent: find exact parameters, API signatures, configuration keys, or specification details. Typical content: API documentation, command-line flags, configuration schema, glossary, data types. The reader needs accurate and complete factual information.

### Explanation

Understanding-oriented category for deep comprehension. Reader intent: understand why something works the way it does. Typical content: architectural overviews, design decisions, conceptual background, tradeoff analysis, comparisons. The reader seeks mental models and contextual understanding.

## Repo Bootstrap Layout

```
<project-root>/documentation/
├── tutorials/
│   └── README.md
├── how-to/
│   ├── README.md
│   ├── testing.md           (*)
│   ├── deployment.md        (*)
│   └── gotchas.md           (*)
├── reference/
│   ├── README.md
│   └── architecture.md      (*)
├── explanation/
│   └── README.md
├── archive/                  (reserved sibling — task archives; NOT a Diátaxis category)
├── ephemeral/                (transient working material — unchanged)
│   ├── plans/
│   ├── research/
│   └── reviews/
```

(*) — legacy stubs auto-mapped from the pre-mandate flat scaffold for backwards compatibility. Idempotency rule: each file or directory is created only if it does not already exist. An optional `documentation/index.md` may serve as an entry-point with links to the four categories — its presence or absence does not affect mandate compliance.

## Reserved Sibling Names

`documentation/` is the single canonical documentation root ecosystem-wide. Beside the four
Diátaxis categories it hosts **reserved sibling directories** that are NOT categories and that
a Diátaxis category MUST NOT be named after:

| Reserved sibling | Purpose |
|------------------|---------|
| `archive/` | Completed task archives (`documentation/archive/<area>/archive-<ID>.md`) — consumer-runtime, committed |
| `evolution/` | Quarterly framework-evolution snapshots |
| `release-audit/` | Per-release audit records |
| `ephemeral/` | Transient working material (plans / research / reviews) — gitignored |

A documentation type that collides with a reserved sibling name MUST be mapped into one of the
four categories instead (e.g. an "archive how-to" is a `how-to/` file, never a top-level
`archive/` category). The drift detector treats these siblings as expected presence — it neither
requires them as categories nor flags them as stray.

## File-Naming Convention

- All documentation files use `kebab-case.md`.
- Each category directory contains exactly one `README.md` stub file (mandatory).
- Contextual content files within a category use descriptive kebab-case names (e.g., `deployment-strategy.md`, `api-authentication.md`).
- No prefixes or numeric ordering — category membership is determined by directory placement, not naming convention.

## Mapping Table

Closed set — every documentation type maps to exactly one Diátaxis category.

| Legacy or proposed type | Diátaxis category | Rationale |
|-------------------------|-------------------|-----------|
| architecture (default) | reference | Information-oriented — describes system structure |
| architecture (why) | explanation | Understanding-oriented — design decisions, tradeoffs |
| testing | how-to | Problem-solving — how to run tests, configure CI |
| deployment | how-to | Problem-solving — how to deploy the application |
| gotchas | how-to | Problem-solving — what to do when typical errors occur |
| api | reference | Information-oriented — lookup documentation |
| cli | reference | Information-oriented — command signature and flags |
| config | reference | Information-oriented — configuration schema and keys |
| concepts | explanation | Understanding-oriented — conceptual background |
| design | explanation | Understanding-oriented — design rationale |
| tutorial | tutorials | Learning-oriented — first end-to-end experience |
| quickstart | tutorials | Learning-oriented — minimal guided setup |
| faq | how-to or explanation (split) | Procedural items → how-to; conceptual background → explanation |
| troubleshooting | how-to | Problem-solving — what to do when something breaks |
| examples | how-to or reference | Task-driven examples → how-to; catalogue examples → reference |
| glossary | reference | Information-oriented — definitions |

This is a **closed set**. No new documentation types (FAQ, glossary, troubleshooting, examples, overview, about, samples) may be introduced as separate top-level categories. Every existing or proposed content type must be mapped into one of the four canonical categories.

## Anti-Patterns

1. **FAQ as fifth category.** FAQ is a conglomerate of how-to (problem-solving) and explanation (background). Maintain a mapping decision per FAQ item rather than creating a separate FAQ directory. Mitigation: split FAQ entries into the appropriate categories with cross-links.

2. **Examples as fifth category.** Examples are either task-driven (how-to) or catalogues (reference). An isolated examples bucket masks missing decomposition. Mitigation: place each example in its semantic category with explicit context.

From Arcanada-one/datarim, MIT.

More from Arcanada-one/datarim

Signals

Stars
16
Forks
1
Open issues
0
Last commit (this folder)
Oct 4, 2026 (25 days ago)
Last release
Oct 22, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Arcanada-one

Cite this page

diataxis-docs skill. Agent Mart. https://agentmart.dev/skills/arcanada-one-diataxis-docs (last updated 2026-10-24)