From diataxis-skills
Audit existing documentation against the Diataxis framework's four quadrants. Use when reviewing documentation that feels unclear, when assessing documentation quality, or when preparing for a documentation reorganization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/diataxis-skills:diataxis-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit existing documentation against the [Diataxis](https://diataxis.fr/) framework to identify mixed quadrants, gaps, and quality issues.
Audit existing documentation against the Diataxis framework to identify mixed quadrants, gaps, and quality issues.
Practical Theoretical
+----------------+------------------+
Study | TUTORIALS | EXPLANATION |
| (learning) | (understanding) |
+----------------+------------------+
Work | HOW-TO | REFERENCE |
| (problem) | (information) |
+----------------+------------------+
Key principle: These quadrants must remain distinct. Blurring boundaries is the most common documentation problem.
Read all documentation files in the target path. For each file, record:
For each document or section, classify using these questions:
| Question | If Yes → |
|---|---|
| Is it a guided learning experience building to a result? | Tutorial |
| Does it solve a specific, practical problem? | How-to guide |
| Does it describe the system factually and completely? | Reference |
| Does it explain why things work the way they do? | Explanation |
If a section answers multiple questions, it is mixed — flag it.
Check each document against its quadrant's anti-patterns:
Tutorials that:
How-to guides that:
Reference that:
Explanation that:
Check which quadrants are missing entirely:
For documents that are correctly classified, assess quality:
Tutorial quality:
How-to quality:
Reference quality:
Explanation quality:
Generate an audit report containing:
# Diataxis Audit Report
## Summary
| Document | Intended Quadrant | Actual Quadrant(s) | Quality | Issues |
|----------|-------------------|---------------------|---------|--------|
| ... | ... | ... | ... | ... |
## Mixed Content (requires splitting)
### [filename]
- Lines N-M: Tutorial content mixed into reference → extract to tutorials/
- Lines X-Y: Explanation mixed into how-to → extract to explanation/
## Missing Quadrants
- [ ] Tutorial: [impact of absence]
- [ ] How-to: [impact of absence]
- [ ] Reference: [impact of absence]
- [ ] Explanation: [impact of absence]
## Recommendations (priority order)
1. [Highest impact action]
2. ...
diataxis-convert: Split mixed documents identified by this auditdiataxis-create: Fill gaps identified by this auditdiataxis-plan: Design the target documentation architectureFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub jrjsmrtn/jrjsmrtn-skills --plugin diataxis-skills