---
name: find-rota-coverage-gaps
description: "Compare a staff rota with the cover each role needs over time and list the exact windows where a desk or role is short, after breaks, absences and duplicate rows. Use when checking a rota, shift plan or staff schedule for gaps in cover."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/find-rota-coverage-gaps
---

# Find rota coverage gaps

Compare staffed time with demand and identify the exact windows where an open desk is short of people.

## When to use this skill

- A manager wants to know whether next week's rota covers every desk or role at the required level.
- Lunch breaks, part shifts or absences might leave a counter or phone line short.
- Staff can cover more than one role and someone asks whether any assignment could cover everything.

## When not to use it

- Building a rota from scratch. The method checks a proposed rota.
- Detailed working time compliance such as opt-outs, night work or young workers' rules. In the UK, check GOV.UK or Acas guidance.
- Forecasting how many staff each hour needs. The required headcount is an input.

## What you need

- Service window and required simultaneous headcount by role
- Named shifts, breaks, absences, role skills and staff already committed elsewhere

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- What hours does each role need covering, and how many people at each time?
- Does the rota include breaks, absences and training, or only shift start and end times?
- Which staff can cover which roles?
- Are some people fixed to a role, or can anyone be moved?

## Method

1. Normalise times to one service day and timezone. Clip shifts and requirements to the service window, splitting across midnight where needed. Use half-open intervals: a shift ending at 12:00 does not cover work starting at 12:00.
2. Set interval boundaries wherever demand, a shift or a break changes. For each interval, count distinct eligible people for the role after removing breaks, absences and other commitments. Two rows for the same person are one person.
3. Check that the breaks the rota will need are shown. In the UK, GOV.UK guidance gives workers over 18 an uninterrupted 20-minute break when they work more than 6 hours a day; a long shift with no break listed means cover will drop at a time the rota does not show. Elsewhere, check the local rules.
4. Calculate the shortage as demand less people available, where positive. Merge adjoining intervals with the same role and shortage. Keep surplus in other hours separate; it does not offset a gap.
5. Multiply each shortage by the interval length to get staff-minutes short.
6. For multi-skilled staff, separate the posted assignment from a feasibility check. For feasibility, honour fixed seats, then match people to the remaining eligible seats, each person at most once per interval. If several roles could take an unavoidable shortfall, report the number of uncovered seats and the possible roles without claiming which desk was empty.

## Checks before you deliver

- A whole-day average can look adequate while lunch breaks leave a service uncovered.
- Two overlapping rows for the same employee are one person, even when the rota export lists two activities.
- Treating a shift that ends at 12:00 as covering 12:00 creates a hidden gap at every handover.
- Counting one multi-skilled person in two roles at the same time.
- Using surplus staff in one hour to cancel a shortage in another.

## How to present the result

Lead with the total staff-minutes short and the worst window. Then give a table of gaps in time order: role, start, end, people short and cause (break, shift end, absence). For multi-skilled teams, say whether a different assignment closes the gap. Finish with suggested fixes, such as moving a break or extending a shift, for the manager to confirm.

## Worked example

**Request:** Check the booking desk between 09:00 and 13:00.

**Supplied material:**

```text
Role DESK needs two people throughout. One timezone. N works 09:00-13:00, breaks 11:00-11:30. K works 09:00-12:00, no break. L works 12:15-13:00. No other assignments.
```

**Answer:** The booking desk is one person short from 11:00 to 11:30 during N’s break, and from 12:00 to 12:15 between K and L. Arrange 45 staff-minutes of relief across those two windows.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return gaps as a list sorted by start then role, with role, start and end (24-hour HH:MM) and short (headcount). Return staff_minutes_short as a whole number. For a cross-midnight service split output by the supplied service day. For an unassigned coverage-feasibility gap with several equally valid uncovered roles, list alternatives as sorted possible_roles in place of role, and count the shortage once.

## Sources

- [Microsoft · Use the intraday performance report](https://learn.microsoft.com/en-us/dynamics365/contact-center/use/workforce-management-use-performance-report): Microsoft's intraday report compares required and scheduled staff interval by interval, shows Over/Under as scheduled less required with negative values flagging understaffing, and suggests moving breaks or extending shifts to close gaps.
- [GOV.UK · Rest breaks at work](https://www.gov.uk/rest-breaks-work): UK guidance: workers over 18 have the right to one uninterrupted 20-minute break if they work more than 6 hours a day, and to 11 hours' rest between working days. The skill checks that required breaks appear on the rota, because a missing break still creates a gap on the day.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/find-rota-coverage-gaps
