Monitoring Coverage Builder
This loop iteratively identifies and adds missing monitoring coverage to your codebase by analyzing test coverage, identifying gaps, and implementing targete…
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 "Monitoring Coverage Builder" loop.
Goal: Add missing monitoring
Max iterations: 10
Between iterations run: coverage audit
Exit when: Coverage threshold reached
Begin by running the 'coverage audit' command to assess the current state of monitoring coverage in this codebase. Analyze the output to identify specific gaps in monitoring, then systematically add appropriate monitoring solutions (such as logging statements, metric collections, or trace instrumentation) to improve coverage. After each set of changes, re-run the coverage audit to measure progress. Continue this cycle until the defined coverage threshold is reached or the maximum number of iterations (10) is completed. Use the coverage audit script provided in the tools directory if available, otherwise create a simple Python script to measure monitoring coverage percentage.
Self-pace this loop. After each iteration, run `coverage audit` and evaluate the output, and only continue if the exit condition is not met (Coverage threshold reached). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.