agentsclimarketplace

Diataxis

Skill joaquimscosta/arkhe-claude-plugins/plugins/doc/skills/diataxis

Audit, classify, validate, and scaffold documentation using the Diataxis framework (Tutorials, How-to guides, Reference, Explanation). Use when user mentions "diataxis", "documentation framework", "quadrant", "doc audit", "doc coverage", "collapsed document", "tutorial vs how-to", "quadrant purity", "documentation types", or wants to classify docs by type.From its SKILL.md

Install
npx -y skills add joaquimscosta/arkhe-claude-plugins --skill diataxis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 6 commands, including `uv run scripts/diataxis_classify.py docs/*.md` and 5 more.

SKILL.md

3.6 KB, 858 tokens by cl100k_base, as published. Nobody here has run it

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|flat, --init-config, --dry-run

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 foundcurl -LsSf https://astral.sh/uv/install.sh | sh or run with python3 scripts/diataxis_classify.py
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

What ships with it: 8 files

84.4 KB alongside SKILL.md, 5 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.