From mblode-agent-skills
Writes and audits technical documentation using the Diataxis framework and Stripe-style clarity. Use for docs sites, API references, tutorials, how-to guides, and README audits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mblode-agent-skills:docs-writingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **IS:** writing and auditing technical documentation quality (Diataxis doc types, voice, structure, clarity, runnable code, formatting, navigation, content hygiene) for docs sites, API references, documentation-site tutorials, how-to docs, and existing READMEs.
rules/_sections.mdrules/_template.mdrules/clarity-defaults.mdrules/clarity-meaningful-names.mdrules/clarity-no-latin.mdrules/clarity-no-nominalizations.mdrules/clarity-one-idea-per-sentence.mdrules/clarity-serial-comma.mdrules/code-context-ratio.mdrules/code-descriptive-variables.mdrules/code-error-descriptions.mdrules/code-isolated-to-full.mdrules/code-multiple-languages.mdrules/code-named-functions.mdrules/code-runnable-examples.mdrules/format-bold-ui-code-font.mdrules/format-descriptive-links.mdrules/format-image-alt-text.mdrules/format-lowercase-filenames.mdrules/format-parallel-lists.mdblog-post), a README from scratch (use readme-creator), AGENTS.md or CLAUDE.md instructions (use agents-md), or marketing and landing-page copy (use copywriting).Track this checklist:
Docs audit progress:
- [ ] Step 1: Scope to changed files unless a full sweep was requested
- [ ] Step 2: Classify each doc (tutorial, how-to, reference, explanation) and audience
- [ ] Step 3: Run CRITICAL categories (voice-, structure-)
- [ ] Step 4: Run HIGH categories (clarity-, code-)
- [ ] Step 5: Run remaining in-scope categories (format-, nav-, scan-, hygiene-, review-)
- [ ] Step 6: Report per the output contract, by severity
Doc type gates which rules apply, so classify before loading. Load rule files by category prefix (rules/voice-*.md, then rules/structure-*.md, ...) only for in-scope categories. After applying fixes, rerun the rules that produced findings before finalizing.
Track this checklist:
Docs writing progress:
- [ ] Step 1: Pick one Diataxis type per file (tutorial, how-to, reference, explanation); name the audience
- [ ] Step 2: Read defaults bundles (voice-defaults, clarity-defaults, scan-defaults) plus structure rules for the type
- [ ] Step 3: Draft: bottom line up front, quick start for getting-started docs, runnable example per concept
- [ ] Step 4: Self-audit against CRITICAL and HIGH categories; fix findings
- [ ] Step 5: Verify: run every example, resolve every link, confirm parameter names against the implementation
Step 5 is the exit criterion: a doc ships only after its examples run and links resolve, not when it "reads well".
| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Voice & Tone | CRITICAL | voice- | 4 |
| 2 | Structure & Organization | CRITICAL | structure- | 10 |
| 3 | Clarity & Language | HIGH | clarity- | 6 |
| 4 | Code Examples | HIGH | code- | 7 |
| 5 | Formatting & Syntax | MEDIUM-HIGH | format- | 8 |
| 6 | Navigation & Linking | MEDIUM-HIGH | nav- | 6 |
| 7 | Scanability & Readability | MEDIUM | scan- | 2 |
| 8 | Content Hygiene | MEDIUM | hygiene- | 6 |
| 9 | Review & Testing | LOW-MEDIUM | review- | 3 |
For the full rule list per category, read rules/_sections.md. The *-defaults.md files (voice, clarity, scan, review) are multi-check bundles, 3-5 baseline checks each.
## Documentation Audit Findings
### path/to/file.md
- [CRITICAL] `voice-defaults`: Passive voice obscures who performs the action.
- Fix: Rewrite "The configuration is loaded by the server" as "The server loads the configuration."
### path/to/clean-file.md
- ✓ pass
file:line when available.✓ pass so the author knows they were checked.structure-quick-start applies only to getting-started docs and READMEs, scan-three-column-api only to API references. Flagging a missing quick start on an explanation page tells the author to break Diataxis.*-defaults.md bundle ("voice-defaults: passive voice"), not just the filename, or the author can't locate the issue.readme-creator: a README from scratch; this skill audits and improves existing ones.agents-md: AGENTS.md/CLAUDE.md instruction files (execution-first, not reader-facing docs).copywriting: marketing, landing-page, and product copy.blog-post: editorial tutorials, how-to articles, thought leadership, long-form posts.blodemd where installed: scaffolds/deploys MDX docs sites; this skill governs content quality inside them.npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin mblode-agent-skillsApplies the Diátaxis framework to create, restructure, and improve technical documentation. Guides decisions on content type: tutorials, how-tos, reference, or explanation.
Writes and audits technical documentation, API docs, user guides, and specifications for completeness, sequence, precision, and audience calibration.
Creates documentation that developers actually read. Covers README craft, API docs, tutorials, and internal docs. Treats docs as a product requiring UX, marketing, and user empathy.