jrjsmrtn/diataxis-skills/diataxis-create
Claude Code and agent skill by jrjsmrtn/diataxis-skills
- community
Checking that the SKILL.md file is still in the repository.
Create new documentation following the Diátaxis framework. Use when writing documentation from scratch, when a user requests a tutorial, how-to guide, reference, or explanation document, or when filling documentation gaps.
Install
npx vskill@latest install jrjsmrtn/diataxis-skills/diataxis-createSKILL.md
The same SKILL.md was published earlier as jrjsmrtn/diataxis-skills/diataxis-create.
Diátaxis Documentation Creator
Create new documentation in the correct Diátaxis quadrant using structured templates.
Diátaxis Compass
When to Use
- Writing documentation from scratch for a new project or feature
- User requests a specific type of documentation
- Filling gaps identified by a
diataxis-audit - Adding a new document to an existing documentation set
Required Inputs
- Topic: What the documentation is about
- Quadrant (optional): If the user specifies tutorial/how-to/reference/explanation. If not specified, classify the request:
- "Show me how to get started" → Tutorial
- "How do I configure X?" → How-to guide
- "What are all the options for Y?" → Reference
- "Why does Z work this way?" → Explanation
- Target audience (optional): Experience level and context
- Output path (optional): Where to write the document
Recommended Creation Order
When building documentation from scratch for a project, follow this order:
- Tutorial — fastest value for new users, validates the system works, reveals UX issues
- Reference — most straightforward to generate, essential for all projects, partially automatable
- How-to guides — based on real user questions, grows organically from support and issues
- Explanation — requires mature understanding, benefits from real-world experience
Workflow
Phase 1: Classify the Request
Determine which quadrant the requested documentation belongs to. If ambiguous, ask the user.
Phase 2: Gather Context
- Read relevant source code, existing docs, or specs
- Identify the target audience's expected knowledge level
- Note related documents in other quadrants for cross-linking
Phase 3: Write Using the Appropriate Template
Apply the template for the selected quadrant (see below). Follow the quadrant's rules strictly:
Tutorial rules:
- Use imperative mood ("Create a file", not "You should create a file")
- Every step must be concrete and testable
- Show expected output after each step
- Don't explain concepts — link to explanation docs instead
- Build to a complete, meaningful result
- Keep the learner on a safe, reliable path — no choices
How-to guide rules:
- State the goal in the title ("How to [verb] [noun]")
- Assume the reader is competent — don't teach basics
- Offer alternatives where they exist
- Focus on the practical outcome
- Include verification steps
Reference rules:
- Be factual, complete, and consistent
- Use structured formats (tables, parameter lists, type signatures)
- No narrative — information only
- Mirror the structure of the thing being documented
- Include minimal examples for illustration, not instruction
Explanation rules:
- Frame the topic with context and motivation
- Discuss alternatives and trade-offs honestly
- Connect to the "why" — design decisions, history, constraints
- Use a discursive, exploratory tone
- Don't include procedural steps
Phase 4: Cross-link
Add links to related documents in other quadrants:
- Tutorial → how-tos (next steps), reference (details), explanation (concepts)
- How-to → tutorials (if background needed), reference (details), explanation (rationale)
- Reference → tutorials (introduction), how-tos (usage examples)
- Explanation → tutorials (hands-on), how-tos (practical application)
Templates
Tutorial Template
How-to Guide Template
Reference Template
Explanation Template
Outputs
- [ ] One documentation file written in the correct quadrant format
- [ ] Cross-links to related documents in other quadrants (existing or suggested)
- [ ] File placed in the appropriate directory (if a documentation structure exists)
Validation
- Document follows its quadrant's template and rules strictly
- No quadrant blurring (tutorial doesn't explain, reference doesn't instruct, etc.)
- Cross-links are present
- Content is accurate against the source code / system being documented
Related Skills
diataxis-audit: Audit existing docs to identify gaps this skill can filldiataxis-convert: Split mixed docs before creating clean replacementsdiataxis-plan: Design the documentation architecture first
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/diataxis-create/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jrjsmrtn/diataxis-skills/diataxis-create)