shift-planner

Generate weekly employee shift schedules from CSV rosters with coverage and fairness reports.

5|4|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/takusaotome/claude-skills-library --skill shift-planner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shift-planner
Source: https://github.com/takusaotome/claude-skills-library/tree/main/skills/shift-planner
Command: npx skills add https://github.com/takusaotome/claude-skills-library --skill shift-planner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automatically builds an employee-by-employee weekly shift schedule from a roster of availability/qualifications and a set of staffing requirements, ensuring hard labor constraints are respected while also producing a coverage and fairness report.

Core Features & Use Cases

  • Constraint-aware shift generation (Greedy Assignment): Assigns employees to (day, room, time slot) requirements using hard checks like weekly hour limits, maximum working days, consecutive-day limits, minimum rest hours, and qualification matching.
  • Coverage verification at 30-minute granularity: Validates whether each requirement is actually covered in the generated schedule (excluding break periods), and emits alerts for gaps.
  • Fairness reporting and alerts: Outputs per-employee fairness metrics (assigned hours vs contract, weekend distribution, avoid-day violations) and highlights imbalances and constraint issues.

Quick Start

Use the shift-planner skill to generate a weekly shift schedule from roster.csv and requirements.csv with 30-minute coverage checks and a fairness report.

Frequently Asked Questions about shift-planner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate weekly employee shift schedules from CSV files?

Generate weekly shift schedules by feeding roster and requirements CSV files into a constraint-satisfaction algorithm that assigns qualified staff to day-room time windows. The tool outputs Markdown assignments, a coverage matrix, fairness metrics, and structured alerts.

How does coverage validation work for shift scheduling at sub-hour granularity?

Coverage validation checks each 30-minute time slot against staffing requirements, excluding break periods, to verify whether generated shifts are fully covered. The algorithm emits structured alerts for any gaps or unmet requirements detected in the schedule.

What labor constraints are enforced when assigning staff to time windows?

Staff assignment enforces hard constraints including weekly hour limits, maximum working days, consecutive-day limits, minimum rest hours, and qualification matching. The greedy algorithm checks these rules before assigning employees to day-room time slots.

Can I use this for scheduling multiple rooms with supervisor requirements?

Yes, workforce staffing problems like scheduling for multiple rooms and enforcing supervisor requirements are supported. You define room, time slot, and qualification needs in the requirements CSV, and the algorithm matches qualified staff accordingly.

What fairness metrics are reported for weekly shift schedules?

Fairness reporting outputs per-employee metrics including assigned hours versus contract, weekend distribution, and avoid-day violations. It highlights imbalances and constraint issues to help identify uneven workload distribution.

Why does my shift schedule have uncovered time slots despite having enough staff?

Uncovered time slots occur when the greedy constraint-satisfaction algorithm cannot assign staff without violating hard constraints like minimum rest hours, consecutive-day limits, or qualification mismatches. Check the generated alerts and fairness report for specific gap details.