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.
The prompt
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.
Highlighted [brackets] are blanks to replace with your own details.
Fill in the blanks and use this promptMore Projects & Operations prompts
What to fill in
- e.g. "next 2 weeks", "Mon-Sun"
- e.g. "rotate weekends", "share closing shifts evenly"
- leave, training days
How this prompt is built
This prompt follows the Few-Shot structure (Few-shot prompting). A few-shot prompt includes one or more worked examples of the input and the output you want, so the model can copy the pattern instead of guessing it.
Related prompts
- Turn business insights into an action plan with owners and deadlinesConverts findings from an analysis, review, or workshop into a prioritized action plan with owners, deadlines, and success measures.
- Turn a list of milestones into a project timeline or Gantt chartConverts milestones and dates into a phased timeline, a Gantt-style table for Excel, and a one-slide version for PowerPoint.
- Create an escalation plan for my project with clear triggers and pathsSets out when and how project issues get escalated, to whom, how fast, and what information goes with them.
- Price and document a change order before doing extra workA change order with cost breakdown, schedule impact, and justification that the owner or GC can approve quickly.