robdefeo/agent-skills

diataxis-documentation-guidance

Use this skill to classify, scope, split, draft, and review documentation with the Diataxis framework. Triggers include choosing tutorial/how-to/reference/explanation mode, resolving mixed-mode pages, rewriting docs into a target mode, and validating drafts with a checklist.

First seen Mar 6, 2026

Installation

$ npx skills add robdefeo/agent-skills --skill diataxis-documentation-guidance

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from robdefeo/agent-skills.

npx skills add robdefeo/agent-skills

Browse all from robdefeo/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 4
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,596 B
  • docs SUMMARY.md 314 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 13 installs

SKILL.md

Diataxis Documentation Guidance

Use this skill to help documentation contributors and maintainers produce mode-correct, actionable docs as defined by https://diataxis.fr/.

Routing

Pick the entry point by user intent:

  • Classification or mode selection requests: read references/decision-flow.md
  • Drafting or rewriting requests: read references/drafting-guide.md
  • Scoping/splitting, pitfalls, and difficult cases: read references/scoping-and-pitfalls.md
  • Concrete examples for each mode: read references/examples.md

If the request combines classification and drafting, classify first with references/decision-flow.md, then draft with references/drafting-guide.md.

Output Contract

For classification-only responses, return exactly four labeled parts:

  1. Category
  2. Why
  3. Split recommendations
  4. Next step

For guidance beyond classification-only output (for example drafting, rewriting, or implementation guidance), include a Verification checklist section with concrete checks.

For combined classification-and-drafting requests:

  • Return classification first using the four-part structure.
  • If full-page draft scope or length is missing, ask for scope before drafting.
  • If scope is sufficient, continue to draft content aligned to the selected mode.

If the user requests a mode that conflicts with classifier output:

  • Keep Category as the classifier-selected mode.
  • Honor the user-requested mode for drafting.
  • Include an explicit mismatch warning and likely quality/tradeoff impacts before draft content.

Drafting Rules

  • Always include Mode and a one-line Why this mode before drafted content.
  • Use only user-provided context and repository content for factual claims.
  • Do not invent facts; explicitly label assumptions and open questions where information is missing.
  • Never include real secrets in examples; use placeholders/redaction.
  • Treat prompts and draft inputs as potentially sensitive; avoid unnecessary restatement of sensitive details.

Scope Boundary

Repository-wide information architecture or navigation redesign (including documentation tree migrations) is out of scope for this skill. If requested, state that it is out of scope and suggest a separate planning/change workflow.