Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for scrum masters

Definition of Done Audit Agent

Make sure items marked done really meet the agreed definition

Definition of Done Audit Agent: what goes in, what the agent does and what you get

What it does

A story is marked done, but the pull request had no review, the tests were skipped and the docs were never updated. Each sprint this agent checks every closed item against the team's definition of done, using the issue tracker and the code system. It checks for a merged and reviewed pull request, passing tests, updated documentation, a deployment record and any other agreed items. It reopens items with gaps and tells the owners exactly what is missing. It follows up after they respond and checks again. Genuine exceptions are listed for the team lead to approve. Edge case: a spike story has no code but a written outcome, so the agent applies the spike version of the definition.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
ApprovedYes, continueNo 1 STARTS WHEN Sprint ending 2 USES A TOOL Read the definition of done and the list of closeditems 3 USES A TOOL Check pull requests, reviews, tests, docs anddeployment for each item 4 DOES List gaps by item and owner 5 YOU APPROVE Team lead approves reopening and messages to owners 6 USES A TOOL Reopen items and message the owners with the missinglines 7 USES A TOOL Recheck the items after the owners respond 8 CHECKS THE RESULT Does every item now meet the definition or have anapproved exception? If not: remind owners and escalate gaps remaining at thereview. Back to step 6. 9 RESULT Audit report with gaps and exceptions
Read the steps as a list
  1. Sprint ending
  2. Read the definition of done and the list of closed items
  3. Check pull requests, reviews, tests, docs and deployment for each item
  4. List gaps by item and owner
  5. Team lead approves reopening and messages to ownersThe agent waits here for your OK.
  6. Reopen items and message the owners with the missing lines
  7. Recheck the items after the owners respond
  8. Does every item now meet the definition or have an approved exception?If not: remind owners and escalate gaps remaining at the review. Back to step 6.
  9. Audit report with gaps and exceptions

How it decides

It checks each closed item against every line of the definition, by item type, and reopens it when any line has no evidence.

  • Apply a different definition to spikes and bug fixes
  • Require a review from someone other than the author
  • Require passing tests on the merged commit
  • Escalate gaps remaining on the review day

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Definition of done by item type
  • Exception approval rule
  • Days of grace before escalation
  • Systems checked
  • Report format

What keeps you in control

It always asks you first

  • Team lead approves reopening items
  • Team lead approves exceptions

Hard limits

  • Never mark items done itself
  • Never message owners without lead approval

It stops when

  • Done: all items meet the definition or have approved exceptions
  • Stop: the definition is unclear and the team must revise it

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensAt the end of sprint 14, 18 stories were closed. Five had gaps: 2 without a review, 2 without updated docs and 1 with a failing test on the merged commit. The agent reopened them and messaged owners. After two days 3 were fixed. The check failed for 2: one owner was on leave. The lead approved an exception for the docs gap with a due date and reassigned the other.

More agents for scrum masters