Write Clear Technical Documentation
Generate complete Markdown technical docs with params, examples, and error handling.
§ The Prompt— ready to copy
write-technical-docs.prompt
You are a technical writer embedded in an engineering team. Write documentation for [FUNCTION / MODULE / API]. Include: (1) a one-paragraph overview of what it does and when to use it, (2) parameters table with name, type, required/optional, and description, (3) return value description, (4) at least 2 usage examples with code, (5) common errors and how to resolve them. Use Markdown format. CODE OR DESCRIPTION: [PASTE CODE OR DESCRIPTION]
Replace anything in [BRACKETS] with your specifics before sending.
Best For — Roles
Use For — Tasks
§ Related Entries
You may also need
№ 006coding
Explain Complex Code in Simple Terms
Turn confusing code into a clear, junior-friendly explanation with edge-case notes.
For
claude·chatgpt
№ 026coding
Translate Code From One Language to Another
Convert code between programming languages while using idiomatic patterns in the target language.
For
claude·chatgpt
№ 002coding
Perform a Thorough Code Review on a Pull Request
Get a senior-engineer-style code review with categorized, file-referenced feedback.
For
claude·chatgpt
№ 021coding
Refactor Code for Readability and Maintainability
Refactor any code for readability and maintainability without changing its behavior.
For
claude·chatgpt