# Build a fair staff shift schedule that covers demand

A shift schedule that matches staffing to hourly or daily demand while respecting availability, skills, rest rules, and fairness.

- Topic: Projects & Operations
- Framework: Few-Shot
- Level: Standard
- Tags: Plan, Fill-in Template
- Source: https://www.thinkwithprompt.com/prompts/build-a-fair-staff-shift-schedule-that-covers-demand

## Prompt

```text
Help me build a staff shift schedule for my team.

**Period:** [e.g. "next 2 weeks", "Mon-Sun"]
**Demand by time block:** [e.g. "Mon-Fri 8-12: 6 people, 12-4: 4 people; Sat: 3 people" - or volume data I have]
**Team:** [NAME OR ID | contracted hours | skills/certifications | availability or restrictions]
**Rules I must follow:** [minimum rest between shifts, max hours per week, break rules, union or contract terms]
**Fairness preferences:** [e.g. "rotate weekends", "share closing shifts evenly"]
**Known absences:** [leave, training days]

Steps:
1. Check whether total available hours can cover demand. If not, show the gap by time block before scheduling.
2. Make sure every shift has at least one person with each critical skill: [CRITICAL SKILLS - e.g. "forklift license", "keyholder", "first aider"].
3. Build the schedule as a table: day | shift times | people assigned | skills covered.
4. Show a summary per person: total hours vs. contracted, number of weekend/late shifts.

Then:
- Flag any rule I might be breaking (rest periods, overtime, under-contracted hours).
- Highlight thin spots where one absence would leave us short, and suggest who could cover.
- Note where demand data looked uncertain.

Working time rules vary by country, state, and contract; check the result against local law and any agreements before publishing.
```

## What to fill in

- e.g. "next 2 weeks", "Mon-Sun"
- e.g. "rotate weekends", "share closing shifts evenly"
- leave, training days

Free to copy and use. From ThinkWithPrompt (https://www.thinkwithprompt.com/), a library of 2,663 curated AI prompts.
