Document API endpoints
An api.md file with methods, parameters and response examples.
Jump to the promptAn api.md file with methods, parameters and response examples.
READY-TO-USE PROMPT
Review the API routes in [REPO]. Write api.md with HTTP methods, paths, authentication, required fields and response codes. Use example data rather than configuration secrets. Mark endpoints whose behavior could not be confirmed from the source.
Paste into a conversation with LocalCommander. Replace bracketed fields with your own paths, files or URLs.
THE WORKFLOW
From your material to a result.
- 01
Prepare the inputs: Routes directory and documentation format.
- 02
Replace square-bracket placeholders with the actual names, paths or URL. Paste the prompt into a chat with LocalCommander connected.
- 03
Verify the result: An api.md file with methods, parameters and response examples. Ask for the saved file location or the evidence behind the findings.