Skip to content

docs-generate

Efficientworkflow

Identify audience → choose format → generate content → publish. Every doc is audience-targeted.

Use when generating API reference documentation, README files, operational runbooks, postmortems, technical guides, or any other documentation artifact.

Triggers: “write documentation”, “generate docs”, “create a README”, “document this API”, “write a runbook”, “document this module”, “postmortem for”, “technical guide”

  1. 3× Zero-Cost draft lanesdoc-generator, doc-readme, doc-api run in parallel (GPT-4.1 / GPT-5 mini)
  2. Efficient passdoc-runbook (Claude Haiku 4.5) merges draft outputs and adds operational context
  3. Advanced edit — Claude Sonnet 4.6 reviews for accuracy, tone, and audience fit
  4. Deliver — audience-targeted markdown artifacts ready for commit
  • doc-generator Zero-Cost — inline JSDoc/TSDoc
  • doc-readme Zero-Cost — structured README
  • doc-api Zero-Cost — OpenAPI / Markdown API reference
  • doc-runbook Efficient — operational runbook
{
"request": "Generate complete documentation for the payment-service: README, API reference, and operational runbook"
}
AudiencePreferred Skills
Developers integrating the APIdoc-api
Operators running the servicedoc-runbook
New contributorsdoc-readme
Code reviewersdoc-generator