Prompt library
Ready-to-use prompts for Swarmia AI and the Swarmia MCP server, organized by role.
These prompts answer questions that engineering leaders, managers, product managers, and engineers ask every week.
Use them in Swarmia AI or in any AI assistant connected to the Swarmia MCP server, such as Claude or Cursor.
How to use the prompts
Copy a prompt and change the timeframe or team if you need to.
Paste it into Swarmia AI or your AI assistant.
Read the "How this was calculated" note at the end of the answer before you share the numbers.
The prompts end with "Render it as an HTML page with a chart and a short summary." In Claude, this turns the answer into a shareable page. In Swarmia AI, you can leave the sentence out, since answers already include charts and tables. We tested the prompts through the MCP server, so answers in Swarmia AI can look a little different.
Each prompt comes with an optional sentence to add for more precise results. Add it when you plan to share the answer or make a decision based on it.
Tips for reliable answers
Ask what's behind the numbers. A metric that moved is a starting point. Ask for the epics, repositories, or pull requests that drove the change, and for themes in work that isn't linked to an issue.
Ask what to do about it. End with "What should we change?" so the answer turns into a decision.
Name the timeframe and the comparison. "The last 90 days compared with the 90 days before" gives a better answer than "lately."
Ask for medians for time metrics. A few long-running pull requests pull averages up. Medians show the typical case.
Ask how many items each number is based on. A change failure rate based on 12 failures isn't a trend yet.
Compare like with like. Bigger pull requests take longer to review. When you compare groups, such as work reviewed by an AI agent and work that wasn't, ask to compare pull requests of similar size.
Check catch-all categories. Investment categories such as "Everything else" or "Unplanned" often hold work that matched no other rule. They don't always mean unplanned work.
Keep it about teams. Swarmia is built for team improvement. Ask about teams and systems, not individual performance.
Prompts by role
Engineering summary for the board
A one-page quarter-over-quarter summary of delivery, where engineering effort went, and progress on the biggest initiatives.
Use it to decide what to tell the board, and which delivery, focus, or initiative issue needs a plan before the next meeting.
For more precise results, add: "Say how many failed deployments the recovery time rests on, and check for deployment apps that always deploy together."
Needs: production deployments and change failure detection, investment balance, and initiatives.
Is our AI investment paying off, and where?
Compares AI tool cost with delivery output, finds the teams that get the most out of it, and shows where AI-assisted work struggles and what to change.
Use it to decide whether to keep expanding AI spend, which teams' AI practices to spread, and what to change in how teams use AI.
For more precise results, add: "Treat uncategorized work as a sign of abandoned, unlinked drafts rather than a type of work."
Needs: an AI coding tool integration with cost data, an issue tracker, investment balance, and cost settings for the cost share. See AI cost.
Where does engineering time go, and why did it shift?
Shows how effort moved between investment categories and names the epics and themes behind each change.
Use it to decide whether the shift between categories was planned, and which projects or untracked work to cap next quarter.
For more precise results, add: "Compare quarters with date filters that end on each quarter's last day, and check that the categories add up to total effort."
Needs: investment balance configured and an issue tracker for epics.
How much effort goes to our initiatives?
Shows each team's split between initiatives and other work, and what the biggest other work is.
Use it to decide which initiatives to split, staff, re-date, or close, and which teams need their other work brought under goals.
For more precise results, add: "For any team dominated by one initiative, show the split with and without it."
Needs: initiatives and pull requests linked to issues.
Where is delivery getting stuck in each team?
Breaks lead time into stages, looks at how issues flow, and explains what the slowest pull requests or issues have in common.
Use it to decide, team by team, whether to change the review rota, how you stack and size pull requests, code ownership, or how you keep the issue tracker tidy.
For more precise results, add: "Define the slow tail, for example pull requests that waited more than a day, and compare its size and weekday with the team's median."
Needs: deployments configured for the deploy stage.
Are teams delivering more without quality dropping?
Compares throughput with bugs, change failure rate, and maintenance work per team, and names the systems behind any drop.
Use it to decide which team to check in with before faster delivery turns into quality problems, and where to plan stabilization or maintenance capacity.
For more precise results, add: "If every team's change failure rate moves at the same time, treat it as a change in how failures are detected, not a real improvement."
Needs: an issue tracker with bug issue types, investment balance with a maintenance or KTLO category, and production deployments with change failure detection.
Has code review become a bottleneck?
Tracks review volume and wait times, then finds the teams and repositories where pull requests wait longest.
Use it to decide where to add reviewers or a rota, which repositories need explicit review routing or an AI review agent, and whether to set a batch-size agreement.
For more precise results, add: "Leave out repositories where pull requests usually merge without review before ranking the slowest ones."
Needs: AI review agents detected on pull requests for the agent share. See Review agents.
Which teams' survey results dropped the most, and why?
Compares the last two surveys across teams and looks at each dropping team's comments and system data.
Use it to decide which teams to follow up with and on what, and which issues to handle across the whole organization.
For more precise results, add: "Give respondent counts per team, and treat moves under 0.5 points as noise for teams with fewer than 8 people."
Needs: at least two completed surveys. An issue tracker helps explain the drops.
Prepare our retro
Compares the last two weeks with the two before and suggests discussion questions.
Use it to decide which one or two changes the team commits to in the retro.
For more precise results, add: "Use medians for merged PRs, and check whether a change in our issue tracker or PR linking explains any sudden jump."
Needs: an issue tracker for stuck work. Working agreements are optional.
Is review work spread evenly?
Shows each person's share of the team's reviews without names, as a workload view.
Use it to decide whether to change how reviews get assigned, for example round-robin or code owners.
For more precise results, add: "Count only reviews of other people's pull requests, and check that the shares add up to the team total."
How much time goes to keeping the lights on, and on what?
Digs into maintenance work: the biggest items, recurring problems, themes in unlinked pull requests, and what to automate.
Use it to decide which recurring maintenance work to eliminate, automate, or fund a fix for, and which team needs reliability investment.
For more precise results, add: "If we have a second, product-area investment breakdown, split the maintenance work by it."
Needs: investment balance with a maintenance or keep-the-lights-on (KTLO) category and an issue tracker. CI and incident data make the patterns sharper. Use "my team" to scope it to one team.
Which pull requests need attention today?
Lists open pull requests that are stuck, grouped by reason.
Use it to decide which pull requests to unblock today, and who to nudge.
For more precise results, add: "Find pull requests waiting for review by their current stage, not by time to first human review, which stays empty until a qualifying review."
Are our sprints realistic?
Compares committed and completed story points and finds the work that keeps carrying over.
Use it to decide how many points the team should commit to next sprint and which stories to split before they carry over again.
For more precise results, add: "List the issues behind the carryover with how many sprints each one has been in."
Needs: Jira boards mapped to teams and a story point field, or Linear teams with cycles on and estimates. See Sprints.
What did my team say in the latest survey?
Shows the team's lowest-scoring questions and comment themes, checks them against the team's data, and suggests what to act on.
Use it to decide which survey theme the team acts on first, and which metric to track until the next survey.
For more precise results, add: "Use the latest survey that is closed or has published results, say how many people responded, and paraphrase comments without quoting or attributing anyone."
Needs: at least two completed surveys.
Are complex or risky changes getting enough review?
Finds the most complex merged pull requests that skipped approval or merged very fast.
Use it to decide whether to require approvals or branch protection in specific repositories.
For more precise results, add: "If you have a pull request complexity enrichment, check how common each level is and use only the top level."
Needs: pull request complexity ratings.
Is CI slowing engineers down?
Finds the slowest and least reliable workflows and estimates time spent waiting.
Use it to decide which CI workflow or flaky test suite to fix first.
For more precise results, add: "Estimate waiting time only from the workflow that blocks every pull request, counting runs on pull request branches, not by adding up all workflows."
Needs: GitHub Actions. See CI visibility.
Which parts of our codebase slow us down?
Compares repositories on speed, size, and CI health, and explains why the slowest ones are slow.
Use it to decide where to invest in review rotas, CI fixes, or PR-splitting for specific repositories.
For more precise results, add: "In a monorepo, also compare the owning teams inside the busiest repository."
Needs: GitHub Actions for CI failure rates. See CI visibility.
How are AI cloud agents doing?
Compares agent pull requests with ones engineers opened, and shows which tasks agents land and which they don't.
Use it to decide which kinds of tasks to hand to cloud agents and which to stop sending them.
For more precise results, add: "Read the titles of closed agent pull requests, since many are prototypes or duplicates rather than failures."
Needs: at least one AI cloud agent detected. See Cloud agents.
Do AI-assisted pull requests come with tests?
Compares the share of test code across AI tools and finds the repositories where AI changes ship without tests.
Use it to decide where to add test expectations to AI agent instructions or CI checks.
For more precise results, add: "Separate docs, specs and migrations from logic changes before counting untested pull requests."
Needs: at least one AI tool connected. See AI tool detection & filters.
Is our AI code review agent helping?
Compares review time and quality between pull requests an agent reviewed and those it didn't.
Use it to decide whether to keep, tune, or expand the AI review agent.
For more precise results, add: "Check how many failures and non-reviewed PRs there are before drawing conclusions, and say if the unreviewed PRs look like a different kind of work."
Needs: an AI review agent that Swarmia detects. See Review agents.
What do engineers say, and does the data agree?
Summarizes your latest survey and checks each theme against system data.
Use it to decide which survey theme to act on first, backed by data you can track.
For more precise results, add: "Paraphrase comment themes instead of quoting people, and check them against monthly PR size, time to first human review and CI failure rate."
Needs: at least one closed survey, and two for a comparison.
Monthly software capitalization summary
Summarizes capitalizable effort and cost, with the top epics and a six-month trend.
Use it to decide what to book as capitalized cost, and which unlinked work to fix before month-end.
For more precise results, add: "Group epics by the highest parent issue title, not its key."
Needs: software capitalization configured and an average developer cost in cost settings.
Where does our AI spend go?
Shows AI cost per team, per merged pull request, and per epic, and what the spend not tied to any issue went into.
Use it to decide how to set AI budgets and chargeback per team, which epics justify a higher AI allowance, and whether attribution is good enough to charge back.
For more precise results, add: "Split the spend not tied to an issue into pull requests without an issue and sessions with no pull request."
Needs: AI tool integrations with cost data and an issue tracker with epics. See AI cost.
How complete is our data?
Checks issue linking, uncategorized effort, and pull requests without an owner team.
Use it to decide what to fix in your setup before you trust or share the numbers.
For more precise results, add: "Report catch-all categories like 'Everything else' next to the uncategorized share."
Needs: an issue tracker and investment balance.
Where does this number come from?
Explains how a metric is calculated, what feeds it in your setup, and whether it's safe to share. Swap in any metric.
Use it to decide whether to share a number as is, with a caveat, or after fixing your setup.
For more precise results, add: "Break the number down by what feeds it, such as deployment application and environment or repository, and flag test or non-engineering sources."
Will our initiatives finish on time?
Shows progress and forecasts each initiative against its target date.
Use it to decide which initiatives need a scope cut, more people, or a new date.
For more precise results, add: "Compare issues completed with issues added in the last 28 days per initiative, and treat initiatives without an end date as ongoing."
Needs: initiatives with target dates. See also Forecast.
How loaded is my team right now?
Compares work in progress, started vs finished work, and unplanned effort with the four weeks before, and names what drove any jump.
Use it to decide whether to add, delay, or cut work for the team this month, and what to wrap up first.
For more precise results, add: "Divide work in progress by the team's FTE, not headcount, and count epics or projects that stay in progress by design separately."
Needs: an issue tracker with issue ownership. Sprints and a planned vs unplanned breakdown make it more complete.
What's taking time away from roadmap work?
Splits the team's effort into roadmap work and everything else, and names the biggest non-roadmap work.
Use it to decide which non-roadmap work to push back on, and which to fund as planned work.
For more precise results, add: "Check how many of the team's issues each initiative holds first. If one holds almost all of them, split by investment category instead."
Needs: an issue tracker and investment balance. Initiatives that map to real projects make it sharper.
What did my team ship last month?
A plain-language summary of completed work for stakeholders, grouped by initiative or product area.
Use it to decide what to tell stakeholders the team delivered, and which launches to announce.
For more precise results, add: "Leave out subtasks and describe changes by what users can now do, not by ticket title."
Needs: an issue tracker with completed epics and stories.
Prepare my self-review
Summarizes your own work over the last 6 months: projects, pull requests, themes, and reviews you gave. Replace the email with your own.
Use it to decide what to highlight in your self-review, and what to work on next.
For more precise results, add: "Describe only my own work, never compared with anyone else."
Needs: an issue tracker adds projects and epics, but isn't required.
Where do my pull requests get stuck?
Breaks your own pull request cycle time into stages and explains what your slowest ones have in common. Replace the email with your own.
Use it to decide which habit to change to get your work merged faster, such as opening pull requests earlier or splitting long-running branches.
For more precise results, add: "Use sums of each stage for the shares and medians for a typical pull request."
What's waiting on me right now?
Lists review requests, your own stuck pull requests, and issues in progress, oldest first. Replace the email with your own.
Use it to decide what to unblock first today.
For more precise results, add: "Include only review requests made to me personally, and flag in-progress issues untouched for over 30 days."
Needs: an issue tracker for the issues.
Take action on an answer
Many answers end with a change you want to make. Ask your assistant to set it up in the same conversation:
"Set up a working agreement for my team: pull requests should get a first review within one business day."
"Save change lead time as a key metric under our Delivery goal."
"Add a tab to my pull request inbox for pull requests waiting more than a day for a first review."
Your assistant prepares the change, and nothing changes until you confirm it in Swarmia. See MCP actions for everything you can ask for.
Last updated
Was this helpful?