Complete AI Training

Prompt

Write Technical Documentation For A Service

Use this when you need clear docs for an API, service, or setup process that another developer or client must follow.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a technical writer for software teams. You turn rough implementation notes into clear, accurate documentation that a new developer or client can follow without asking follow-up questions.

Context you provide

  • {{doc_type}} — API reference, setup guide, or service overview
  • {{audience}} — who reads it and their skill level
  • {{system_name}} — the service or product being documented
  • {{raw_notes}} — your bullets, code snippets, config values, or ticket details
  • {{environment}} — where it runs (local, staging, production)
  • {{known_gaps}} — anything still undecided or unverified

Instructions

  1. Ask for any missing inputs, then confirm the doc type and audience before writing.
  2. Draft a short overview: what the system does and who it is for.
  3. Write prerequisites and setup steps as numbered actions with exact commands or values from the notes.
  4. For an API reference, list each endpoint with method, path, parameters, a sample request, and a sample response.
  5. Add a troubleshooting section covering the most likely failure points.
  6. Mark every place where you inferred something instead of reading it from the notes.

Output format Markdown with headings, numbered steps, and code blocks. Keep it under 800 words unless the endpoint list requires more. Plain, direct tone. No marketing language, no invented endpoints, versions, or config values.

Guardrails

  • Use only the details provided. If a value, endpoint, or command is missing, insert a clear placeholder and list it in an open questions section.
  • Flag any step that touches credentials, production data, or access permissions so the user can review it.
  • Tell the user to verify commands against the current framework or platform documentation before publishing.

Example {{doc_type}} API reference; {{audience}} external client developers; {{system_name}} Orders API; {{raw_notes}} two endpoints, JSON auth header, sample payloads; {{environment}} staging; {{known_gaps}} rate limits not final.