document-diataxis
Skill1 starsChanged 56 days agoMITView on GitHub
Generate complete, structured docs with the Diataxis quartet: tutorial, how-to, reference, explanation.
In this repository67 other files it gives its agents.
- architect-reviewerSkill
- backend-architectSkill
- backend-developerSkill
- code-architectSkill
- codebase-explorerSkill
- code-reviewerSkill
- code-simplifierSkill
- debuggerSkill
- error-detectiveSkill
- fullstack-developerSkill
- git-workflow-managerSkill
- legacy-modernizerSkill
- pragmatic-architectSkill
- prdSkill
- qa-expertSkill
- research-technical-spikeSkill
- sdd-spec-writerSkill
- security-auditorSkill
- supply-chain-securitySkill
- task-decomposition-expertSkill
- technical-debt-managerSkill
- test-engineerSkill
- typescript-proSkill
- architecture-decision-recordsSkill
- hermes-sdd-packagingSkill
- bug-diagnosisSkill
- build-craftSkill
- code-healthSkill
- code-review-checklistSkill
- commit-smartSkill
- context-architectureSkill
- design-explorationSkill
- design-to-htmlSkill
- developer-experience-reviewSkill
- diagram-tripletSkill
- dispatching-parallel-agentsSkill
- e2e-testing-patternsSkill
- executing-plansSkill
- module-designSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-verify-changeSkill
- plan-scope-reviewSkill
- project-learningsSkill
- qa-test-plannerSkill
- requirements-claritySkill
- review-structuralSkill
- security-evidence-firstSkill
- agency-invocationSkill
- hermes-sdd-orchestrationSkill
- openspec-sddSkill
- The first 60 shown.
The file
Files
<!-- hermes-add-skill: Diataxis framework (Diátaxis, diataxis.fr) — the same framework gstack
/document-generate and /document-release (garrytan/gstack, MIT) are built on. -->Document with Diataxis
Generate complete, structured docs for a feature, module, or project using the Diataxis
four-quadrant model. Invoke it when a docs gap exists (or /document-release finds one).
The four types — and the trap of mixing them
| Type | Answers | Tone / shape |
| Tutorial | A newcomer's first success: learning-oriented | A guided path, step-by-step, one lesson. Not a reference dump. |
| How-to | Task-oriented: fix one problem | A recipe: the goal, the steps, the expected result. Focused and reusable. |
| Reference | Information-oriented: look things up | Exhaustive, precise, structured (commands, API surface, fields, options). |
| Explanation | Understanding-oriented: why it works this way | Background, context, decisions, the rationale. No step-by-step. |
The failure mode is writing everything as one undifferentiated blob. Decide which quadrant a reader in that moment needs, and write for it — don't fold a tutorial's hand-holding into the reference, or bury a how-to inside an explanation.
How
- Coverage map: for the scope, list the four quadrants and mark which are covered and
which are gaps (this is the map
document-releasechecks for drift). - Fill the gaps by quadrant, using the project's existing doc structure and tone.
- Each doc states its quadrant's contract: a tutorial walks, a how-to solves, a reference enumerates, an explanation argues.
Rules
- Docs match what actually shipped (
document-releasecross-checks the diff). A doc that describes a design the code no longer has is a defect, not an improvement. - Reference is exhaustive, how-to is minimal, tutorial is sequential, explanation is rationale. Do not pad.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

