/sdlc-workflow:diataxis [tutorial|how-to|reference|explanation|readme|plan|review] <what to document>from sdlc-workflow
Write or review documentation using the Diátaxis framework. Use when the user asks for a tutorial, how-to guide, technical reference, explanation/conceptual doc, README, a documentation plan, or a review/audit of existing docs. Classifies the request into the right quadrant and enforces boundary discipline between them (learning vs task vs lookup vs understanding). For documentation produced as a stage of an /wf lifecycle workflow, use /wf docs instead.
Ships in sdlc-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read _host-invocation.md first. It defines the invocation
spelling, <skill-dir>, and the $ARGUMENTS token for your host.
Author and review documentation under the Diátaxis framework. Diátaxis splits documentation into four modes serving four distinct user needs, plus two supporting activities — a planner that classifies and maps a whole docs set, and a reviewer that audits existing docs against the framework.
The one rule that makes Diátaxis work is boundary discipline: each page serves exactly one mode. Mixing a tutorial with reference tables, or a how-to with conceptual background, is the most common documentation failure. Classify first, then write to the mode.
/wf docsThis skill is the general-purpose, standalone documentation surface — reach for it
for any repo, any docs request, outside a workflow. The /wf docs key is the
lifecycle-bound counterpart: it writes docs as .ai/ workflow artifacts with
frontmatter and index bookkeeping. Same Diátaxis discipline, different home. If the
request is "document this slug / this shipped feature" inside an active workflow, use
/wf docs; otherwise use this skill.
Determine which mode the request needs and read the matching reference. If the request is ambiguous, mixes modes, or spans a whole docs set, start with the planner.
| The user wants… | Mode | Reference |
|---|---|---|
| A beginner walkthrough, getting-started lesson, onboarding — learning by doing | Tutorial (learning) | references/tutorial.md |
| Step-by-step instructions to achieve a specific goal; troubleshooting, config, deployment, migration, runbook | How-to (task) | references/how-to.md |
| API docs, CLI reference, config/parameter tables, schemas, error codes, compatibility matrices | Reference (lookup) | references/reference.md |
| Conceptual guide, architecture overview, design rationale, trade-offs, "why is it built this way?" | Explanation (understanding) | references/explanation.md |
| A README, GitHub front page, library landing page, docs homepage | README (front door) | references/readme.md |
| To plan a docs structure, classify an ambiguous request, or map a whole docs set | Planning | references/doc-planner.md |
| To review, audit, classify, or reorganise existing docs against Diátaxis | Review | references/docs-reviewer.md |
If $ARGUMENTS opens with an explicit mode keyword (tutorial, how-to, reference,
explanation, readme, plan, review), honor it and skip classification. Otherwise
infer the mode from the request, and when a request obviously bundles several
deliverables (e.g. "a README and a full docs set"), route through the planner first.
Whatever the mode, use one term for each concept, give every pronoun one referent, and write each step as one imperative instruction with its condition first.
| Practical steps | Theoretical knowledge | |
|---|---|---|
| Serving study (acquiring skill) | Tutorial — learning-oriented | Explanation — understanding-oriented |
| Serving work (applying skill) | How-to — task-oriented | Reference — information-oriented |
Keeping a page inside one cell is the whole discipline. When you catch a page straddling two cells, that is the signal to split it — the reviewer and planner references cover how.
agents/openai.yaml (opens in a new tab)references/doc-planner.md (opens in a new tab)references/docs-reviewer.md (opens in a new tab)references/explanation.md (opens in a new tab)references/how-to.md (opens in a new tab)references/readme.md (opens in a new tab)references/reference.md (opens in a new tab)references/tutorial.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jayteealao/agent-skills --plugin sdlc-workflow4 skills in this plugin
/consultConsult external models as READ-ONLY oracles — plan critique, code/implementation review, design analysis, diagnosis, second opinion. Fans out to all available providers by default (codex, claude, gemini, openai; a provider keyword narrows to one). Returns a panel of opinions and never edits the repo. The model may invoke it autonomously when a second opinion adds material value; model-initiated runs pin a free subscription CLI (codex/claude)./study-sourcesReads the real source of a library, framework or SDK at the version the project resolved, so code is written against the actual API instead of a remembered one. Use this skill before writing code that calls a dependency API you have not read in this repo; whenever a compile or type error names a library symbol (Unresolved reference, has no exported member, cannot find symbol, has no attribute, is not a function); when a stack trace leads into node_modules, site-packages or a cached JAR; when a version may be newer than you know; or when the user asks how a library works or to pull down a repo. Reads the copy already on disk first (node_modules, Gradle and Maven sources jars, Android SDK sources, Cargo, Go, NuGet, pub caches) and clones into a gitignored .scratch/ only when it is missing. Read-only.