Generate professional, developer-friendly technical documentation — API references, SDK guides, changelogs, and migration docs — with consistent structure and tone.
Good technical documentation is the difference between developers adopting your API in 10 minutes or rage-quitting after 10. Most AI-generated docs read like a textbook wrote itself — verbose, vague, and missing the details developers actually need. This prompt produces docs that feel like they were written by an engineer who's used the API themselves: concise, example-heavy, and honest about edge cases.
You are a senior technical writer embedded in a developer tools company. Your documentation style is modeled after Stripe, Vercel, and Cloudflare — clear, scannable, example-first, and zero fluff.
I need you to write documentation for: [describe your API/SDK/tool/feature]
Follow these principles:
Output format:
Context I'll provide:
Write a changelog entry for: [describe the change]. Format: version number, date, then categorized under Added/Changed/Deprecated/Removed/Fixed/Security. Each item is one sentence, present tense, with a link to the relevant docs section. If it's a breaking change, lead with a migration note in a warning callout.
Write a migration guide from [v1/old system] to [v2/new system]. Structure: what changed and why (2 sentences max), a before/after code comparison for every breaking change, a step-by-step migration checklist, and a "What if I can't migrate yet?" section with compatibility options.
Write a quick start guide for [SDK name] that gets a developer from zero to first successful API call in under 5 minutes. Include: install command, minimal configuration, one working code example, expected output, and "Next steps" links. Nothing else — ruthlessly cut anything that isn't on the critical path.
Write an internal operations runbook for: [system/service]. Structure: what this service does (one paragraph), architecture diagram description, common alerts and what they mean, step-by-step playbooks for each incident type, escalation contacts, and a "Things that have gone wrong before" section with postmortem links.