Weekly code health brief for engineering leadership

By General Input

Every Monday at 8am, your leads get a plain English read on code quality across every project, plus a spreadsheet that tracks the trend over time.

Integrations

  • SonarCloud
  • Google Sheets
  • Gmail

Type

Agentic Task

Categories

  • Engineering
  • Operations

Every Monday at 8am, write a code health brief for our engineering leadership so nobody has to open a SonarCloud dashboard to know how we are doing.

Start with the SonarCloud "Projects — Search" operation to enumerate every project in our organization. Page through the results so the brief covers all of them, not just the first page.

For each project, use "Measures — Component" to read the current coverage, duplicated lines density, technical debt (the sqale_index metric), and the reliability, security and maintainability ratings. Then use "Quality Gates — Project Status" to get the current pass or fail state.

Use "Measures — Search History" to pull those same metrics from roughly one week ago for each project, and compare. This comparison is the whole point of the brief: lead with what actually moved rather than a wall of raw numbers.

In the narrative, call out the three projects that regressed the most and explicitly flag any project whose coverage fell by more than two percentage points. Also name anything that newly failed its quality gate, and give credit where a project genuinely improved.

If a project has no fresh analysis in the past week, or is missing one of the metrics, leave it out of the comparison rather than reporting a false regression, and note at the end of the brief which projects had no new data.

Append one row per project per week to a tracking spreadsheet using the Google Sheets "Append Values" operation so a trend line builds over time. Each row should carry the week's date, the project name, coverage, duplicated lines density, technical debt, the three ratings, and the quality gate state.

Then send the narrative brief to the engineering leads with the Gmail "Send a Message" operation. Keep the prose skimmable for a VP who does not read code: short paragraphs, plain language, no metric jargon, and a one line verdict at the top saying whether code health improved or declined overall this week. Let the spreadsheet carry the per project detail, and link to it from the email.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageWin back LiveChat visitors whose chats went unansweredLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seatsBuild audience segments from product usage and push to Loops