Technical Writing

Technical documentation patterns including API docs, developer guides, and reference documentation.

dragoon0x a370c3b 1.1 KB Updated

File contents

Technical Writing

Documentation Structure

Getting Started (Quickstart)

  • Goal: first success in under 5 minutes.
  • Prerequisites listed upfront.
  • Copy-paste commands that work.
  • Expected output shown.

Guides (How-To)

  • Task-oriented. "How to deploy to production."
  • Step-by-step with numbered instructions.
  • One task per guide.
  • Link to related guides at the end.

Reference

  • Every function/endpoint/parameter documented.
  • Type information, defaults, constraints.
  • Code examples for common use cases.
  • Searchable.

Concepts (Explanation)

  • Why things work the way they do.
  • Architecture decisions.
  • Mental models for understanding the system.

Writing Rules

  • Present tense ("The function returns..." not "The function will return...").
  • Active voice ("Call the API" not "The API should be called").
  • Code examples that compile and run.
  • Version everything. Show which version docs apply to.

dragoon0x/everything-design-taste/tree/main/skills/technical-writing commit a370c3be79

Frequently asked questions

npx skillmds@latest add dragoon0x/technical-writing