Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mblode avatar

Docs Writing

  • 671 installs
  • 74 repo stars
  • Updated August 5, 2026
  • mblode/agent-skills

docs-writing is a Claude Code skill that writes and audits technical documentation using the Diataxis framework and Stripe-level clarity standards for developers who need scannable READMEs, API docs, tutorials, and how-t

About

docs-writing is a documentation skill from mblode/agent-skills that applies 52 rules across 9 categories covering voice, structure, clarity, code examples, formatting, navigation, scanability, content hygiene, and review. The skill follows the Diataxis framework to classify content as tutorials, how-to guides, reference, or explanation, and enforces Stripe-style clarity for developer-facing prose. Developers reach for docs-writing when drafting new documentation, documenting APIs, writing tutorials, auditing an existing README or docs site, or asking to review or improve documentation quality. The skill explicitly defers README-from-scratch creation to readme-creator, AGENTS.md and CLAUDE.md work to agents-md, and marketing copy to copywriting.

  • 52 rules organized across 9 categories including voice, structure, clarity, code examples, formatting, navigation, scana
  • Supports both writing new documentation and auditing existing READMEs, API references, tutorials, and how-to guides
  • Mode dispatch automatically chooses Audit workflow or Writing workflow based on user request
  • Delivers Diataxis-aligned docs with runnable code examples and improved scanability
  • Hard gate: always run audit workflow before finalizing improvements or fixes

Docs Writing by the numbers

  • 671 all-time installs (skills.sh)
  • +32 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #335 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mblode/agent-skills --skill docs-writing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs671
repo stars74
Last updatedAugust 5, 2026
Repositorymblode/agent-skills

How do you audit technical docs for clarity?

Produce clear, consistent, and scannable technical documentation that follows the Diataxis framework and Stripe-level clarity standards.

Who is it for?

Developers and technical writers who maintain READMEs, API references, tutorials, or internal docs sites and want Diataxis-aligned, Stripe-quality prose.

Skip if: Teams that need marketing landing-page copy, auto-generated README scaffolding from scratch, or AGENTS.md and CLAUDE.md authoring workflows.

When should I use this skill?

The user asks to write, review, improve, or audit technical documentation, API docs, tutorials, how-to guides, or a README.

What you get

Diataxis-classified documentation drafts, audited README sections, and a structured review against 52 clarity and formatting rules.

  • Audited documentation
  • Diataxis-classified doc drafts
  • Structured clarity review

By the numbers

  • Bundles 52 documentation rules across 9 categories
  • Covers 9 documentation quality categories including voice, structure, and navigation

Files

SKILL.mdMarkdownGitHub ↗

Documentation Writing

  • IS: writing and auditing technical documentation quality across Diataxis doc types, voice, structure, clarity, runnable code examples, formatting, navigation, and content hygiene. Applies to docs sites, API references, tutorials, how-to guides, and existing READMEs.
  • IS NOT: creating a README from scratch (use readme-creator), AGENTS.md or CLAUDE.md agent instructions (use agents-md), or marketing and landing-page copy (use copywriting).

Mode dispatch

  • Reviewing existing docs? → Audit workflow.
  • Writing new docs or rewriting a page? → Writing workflow.
  • Asked to "improve" or "fix" docs? → Audit workflow first, then apply the fixes yourself instead of reporting them.

Audit workflow

Copy and track this checklist:

Docs audit progress:
- [ ] Step 1: Scope to changed files only, 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 findings per the output contract, ordered by severity

Doc type gates which rules apply, so classify before loading rules. Load rule files by category prefix (rules/voice-*.md, then rules/structure-*.md, ...) only for categories in scope. After applying fixes, rerun the rules that produced findings before finalizing.

Writing workflow

Copy and track this checklist:

Docs writing progress:
- [ ] Step 1: Pick one Diataxis type per file (tutorial, how-to, reference, explanation) and name the audience
- [ ] Step 2: Read the defaults bundles (voice-defaults, clarity-defaults, scan-defaults) plus structure rules for the doc type
- [ ] Step 3: Draft with bottom line up front, quick start for getting-started docs, runnable examples for every concept
- [ ] Step 4: Self-audit against CRITICAL and HIGH categories; fix findings
- [ ] Step 5: Verify by running every code example, resolving every link, and confirming parameter names against the implementation

Step 5 is the exit criterion: a doc ships only after its examples run and its links resolve, not when it "reads well".

Rule categories by priority

PriorityCategoryImpactPrefixRules
1Voice & ToneCRITICALvoice-4
2Structure & OrganizationCRITICALstructure-10
3Clarity & LanguageHIGHclarity-6
4Code ExamplesHIGHcode-7
5Formatting & SyntaxMEDIUM-HIGHformat-8
6Navigation & LinkingMEDIUM-HIGHnav-6
7Scanability & ReadabilityMEDIUMscan-2
8Content HygieneMEDIUMhygiene-6
9Review & TestingLOW-MEDIUMreview-3

For the full rule list per category, read rules/_sections.md. The *-defaults.md files (voice, clarity, scan, review) are multi-check bundles. Each codifies 3-5 baseline checks for its category.

Output contract (audit mode)

## 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
  • Group findings by file; order by severity within each file.
  • Use file:line when line numbers are available.
  • Every finding names the rule, states the issue, and proposes a concrete fix. A finding without a fix is not reportable.
  • Include clean files as ✓ pass so the author knows they were checked.

Gotchas

  • Doc-type misclassification is the top false-positive source: structure-quick-start applies only to getting-started docs and READMEs, and scan-three-column-api only to API references. Flagging a missing quick start on an explanation page tells the author to break Diataxis.
  • The *-defaults.md bundles contain 3-5 checks each, so cite the specific failing check ("voice-defaults: passive voice"), not just the filename, or the author can't locate the issue among the bundle.
  • Don't load all 52 rule files up front; that floods context before scope is known. Load by prefix for in-scope categories only.
  • Don't report MEDIUM/LOW polish above CRITICAL/HIGH findings; authors fix what they see first, and a serial-comma nit can bury a structure problem.
  • Don't rewrite content you were asked to review; report and propose fixes unless the user asked for edits or said "improve/fix".
  • Don't audit files that weren't changed unless a full sweep was explicitly requested; unscoped findings drown the real ones.

Related skills

  • readme-creator: creating a README from scratch; this skill audits and improves existing READMEs.
  • agents-md: AGENTS.md/CLAUDE.md agent instruction files (execution-first standards, not reader-facing docs).
  • copywriting: marketing, landing-page, and product copy.
  • blodemd: scaffolding and deploying MDX docs sites; this skill governs the content quality inside them.

Related skills

How it compares

Choose docs-writing when auditing or improving existing technical docs with Diataxis structure rather than generating marketing copy or agent configuration files.

FAQ

What documentation framework does docs-writing use?

docs-writing applies the Diataxis framework to classify content as tutorials, how-to guides, reference, or explanation. The skill also enforces Stripe-style clarity across 52 rules in 9 categories covering voice, structure, code examples, and navigation.

How many documentation rules does docs-writing include?

docs-writing bundles 52 rules across 9 categories covering voice, structure, clarity, code examples, formatting, navigation, scanability, content hygiene, and review. Developers use it when writing or auditing READMEs, API docs, and tutorials.

When should developers use docs-writing instead of readme-creator?

docs-writing handles writing and auditing existing technical documentation, API references, and tutorials. For generating a README from scratch, the skill routes developers to readme-creator; for AGENTS.md or CLAUDE.md files, use agents-md.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.