Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
joaquimscosta avatar

Diataxis

  • 1 installs
  • 21 repo stars
  • Updated August 5, 2026
  • joaquimscosta/arkhe-claude-plugins

Audits, classifies, validates, and scaffolds documentation using the Diataxis framework of tutorials, how-to, reference, and explanation.

About

Applies the Diataxis framework via scripts to classify docs into quadrants, audit coverage, validate quadrant purity, and scaffold structure. A developer uses it when organizing documentation by type or checking for collapsed mixed-quadrant docs.

  • Four scripts: classify, audit, validate, scaffold
  • Multi-signal weighted classification with DX001-DX010 validation rules

Diataxis by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,361 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/joaquimscosta/arkhe-claude-plugins --skill diataxis

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars21
Last updatedAugust 5, 2026
Repositoryjoaquimscosta/arkhe-claude-plugins

What it does

Audits, classifies, validates, and scaffolds documentation using the Diataxis framework of tutorials, how-to, reference, and explanation.

Files

SKILL.mdMarkdownGitHub ↗

Diataxis Documentation Framework

Audit, classify, validate, and scaffold documentation using the Diataxis framework.

Quick Start

# Classify individual files
uv run scripts/diataxis_classify.py docs/*.md

# Audit a docs directory for coverage
uv run scripts/diataxis_audit.py --dir docs

# Validate quadrant purity
uv run scripts/diataxis_validate.py --dir docs

# Scaffold a new Diataxis structure
uv run scripts/diataxis_scaffold.py --dry-run
uv run scripts/diataxis_scaffold.py

Capabilities

ScriptPurposeKey Flags
diataxis_classify.pyClassify files into quadrants--json, --verbose, --no-content
diataxis_audit.pyCoverage report with quality score--dir, --json, --min-coverage
diataxis_validate.pyLint for quadrant purity (DX001-DX010)--dir, --file, --strict, --json
diataxis_scaffold.pyGenerate folder structure`--layout folders\

The Four Quadrants

QuadrantOrientationUser StateFolder
TutorialLearningStudy + Actiontutorials/
How-toTaskWork + Actionhow-to/
ReferenceInformationWork + Cognitionreference/
ExplanationUnderstandingStudy + Cognitionexplanation/

Classification Algorithm

Multi-signal weighted scoring (title 30%, headings 25%, content 25%, structure 20%). Documents scoring highly for 2+ quadrants are flagged as "collapsed" with split suggestions.

Validation Rules

IDRuleSeverity
DX001Tutorial contains reference tableswarning
DX002How-to has long conceptual preamblewarning
DX003Reference contains step-by-step instructionswarning
DX004Explanation contains execution commandswarning
DX005No clear quadrant signalinfo
DX006Collapsed document (mixed quadrants)warning
DX007Tutorial missing prerequisitesinfo
DX008Tutorial missing learning objectivesinfo
DX009How-to missing problem statementinfo
DX010Reference missing tablesinfo

Config File (.diataxis-config.json)

Optional per-project override:

{
  "version": 1,
  "root": "docs",
  "layout": "folders",
  "ignore": ["node_modules", ".git", "adr", "rfcs", "*.pdf"],
  "custom_signals": {}
}

Create with uv run scripts/diataxis_scaffold.py --init-config.

Common Issues

IssueFix
uv not found`curl -LsSf https://astral.sh/uv/install.sh \
Low confidence on all filesFiles may lack quadrant-specific keywords; use --verbose to inspect scores
Too many collapsed warningsSome docs legitimately mix quadrants; consider splitting or accepting

See TROUBLESHOOTING.md for all error scenarios.

References

  • WORKFLOW.md — Full methodology (discover, classify, audit, validate, scaffold)
  • EXAMPLES.md — Real-world examples for all operations
  • TROUBLESHOOTING.md — Error handling and debugging tips
  • Diataxis framework — Official documentation

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.