Generate Missing API Docs
Automatically identifies and documents all undocumented API endpoints in the project. The agent iteratively generates OpenAPI/Swagger documentation until all…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Generate Missing API Docs" loop.
Goal: Document all API endpoints
Max iterations: 10
Between iterations run: npm run docs:lint
Exit when: No undocumented endpoints remain
Find and document all undocumented API endpoints in this project. Generate OpenAPI specifications for each endpoint that currently lacks documentation. Run 'npm run docs:lint' after each iteration to verify progress.
Self-pace this loop. After each iteration, run `npm run docs:lint` and evaluate the output, and only continue if the exit condition is not met (No undocumented endpoints remain). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.