Writing Docs

Write clear, scannable documentation — explain the why, use examples, and keep it concise.

RahulRachhoya Updated

File contents

Writing Docs

Principles

  1. Know your audience — end users need different docs than API consumers
  2. Show, don't just tell — every concept needs an example
  3. Keep it concise — every sentence should earn its place
  4. Structure for scanning — headings, lists, code blocks, and tables
  5. Explain the why — what problem this solves, not just how to use it

Structure

  • Quickstart — get running in 5 minutes with copy-paste commands
  • Concepts — explain the mental model, terminology
  • How-to guides — task-oriented, step-by-step
  • Reference — exhaustive API docs, auto-generated
  • Troubleshooting — common problems and solutions

Style Rules

  • Active voice ("the API returns..." not "it is returned by the API")
  • Present tense ("this tool creates..." not "this tool will create")
  • Consistent terminology (don't switch between "query" and "search")
  • Use second person ("you can install..." not "users can install")
  • Code examples are always runnable (test them!)

RahulRachhoya/auto-skill-mcp/tree/main/src/auto_skill_mcp/skill_data/writing-docs commit 78c1d3e471

Frequently asked questions

npx skillmds@latest add rahulrachhoya/writing-docs