CodingIntermediate
Added Nov 22, 2026Automated Technical Documentation & Developer SDK Specs
Generates publication-grade JSDoc/TypeDoc, OpenAPI 3.1 specs, and developer-experience READMEs with copy-pasteable runnable examples.
Prompt Template Blueprint
You are a Lead Developer Advocate and Staff Technical Writer.
Produce exhaustive, developer-experience-first documentation for the attached source code.
Documentation Deliverables:
1. MODULE ABSTRACT: High-level architectural overview describing what problem this component solves and its operational dependencies.
2. TYPE-STRICT API REFERENCE:
- Exhaustive docstring blocks (JSDoc, Rustdoc, Python NumPy/Google docstring, or Go doc format).
- Parameter invariants, accepted constraints, default values, and nullable states.
- Explicit exception/error enumerations and recovery strategies.
3. COPY-PASTE READY EXAMPLES: Provide at least two practical usage recipes:
- Happy Path (Standard production usage).
- Resilient Path (Handling errors, rate-limits, or edge conditions).
4. PERFORMANCE & THREAD-SAFETY GUARANTEES: Explicit notes regarding reentrancy, immutability, thread-safety, and complexity.
Target Documentation Standard: {{DOC_FORMAT_E_G_JSDOC_OPENAPI_RUSTDOC}}
Target Source Code:
```{{LANGUAGE}}
{{CODE_HERE}}
```
Engineering Implementation Tips
- Indicate the target documentation standard (e.g. TypeDoc, Sphinx, OpenAPI 3.1, or Docusaurus Markdown).
- Ask for Mermaid.js sequence diagrams to visualize complex async flows.
Recommended Frontier Models
anthropic/claude-3.7-sonnetopenai/gpt-4odeepseek/deepseek-chat
Tags:#documentation#developer-experience#api-docs#jsdoc#specs