Task prompt · Coding

Write documentation for my API

by Agent Yard Team

Reference docs with examples for every endpoint.

You'll attach

Needs file

Works with

CursorClaude CodeCodexClaudeChatGPTGemini

Use cases

  • Reference docs with examples for every endpoint.
  • When you already have a file and want the AI to work from it instead of starting from scratch.
  • With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.

How to use it

  1. Open Cursor or Claude Code in your terminal (or another AI listed here).
  2. Attach the file (PDF, Word, CSV or Excel), or paste its text into the prompt.
  3. Copy the prompt, paste it into the chat and send.

Prompt

Remix
Write API documentation from the attached code or OpenAPI file. For each endpoint: purpose, method and path, auth, parameters with types, request and response examples, errors. Add a quick-start guide with a curl example. Document only what the code actually does.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Coding prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →