Slow Endpoint Hunter
This loop identifies and optimizes slow API endpoints by continuously benchmarking, analyzing performance bottlenecks, and applying targeted improvements unt…
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 "Slow Endpoint Hunter" loop.
Goal: Optimize slow endpoints
Max iterations: 10
Between iterations run: endpoint benchmark
Exit when: Endpoints within budget
Analyze our application's API endpoints for performance bottlenecks. Begin by running the 'endpoint benchmark' command to measure response times. Identify any endpoints exceeding their performance budgets and prioritize optimizing them. For each iteration, select the slowest endpoint, diagnose its bottleneck, apply a targeted fix, then re-benchmark to confirm improvement. Continue this cycle until all endpoints are within budget or we reach 10 iterations. Document each optimization applied.
Self-pace this loop. After each iteration, run `endpoint benchmark` and evaluate the output, and only continue if the exit condition is not met (Endpoints within budget). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.