swap-analyzer
Analyze swap compatibility and safety. Use when evaluating proposed schedule swaps to ensure they maintain ACGME compliance and operational coverage.
Security Assessment
About swap-analyzer
The swap-analyzer skill provides a comprehensive framework for evaluating proposed schedule swaps within clinical or academic settings to ensure both operational continuity and compliance with ACGME regulations. It systematically analyzes the compatibility of resident rotations, faculty assignments, and multi-party shift changes, identifying potential issues before any swap is executed. By doing so, it helps prevent violations of duty hour limits, insufficient supervision, and coverage gaps that could disrupt clinical operations or compromise trainee training requirements. This skill is designed to assist administrators, program coordinators, and faculty in making informed decisions about swap requests while maintaining regulatory compliance and equitable workload distribution.
Key capabilities of swap-analyzer include classification of swap types, feasibility analysis across rotation compatibility, ACGME compliance, and coverage considerations, as well as detailed impact assessment on work hours, rotation changes, and fairness. It also quantifies risk levels for compliance, coverage, and fairness, providing an overall safety rating for the proposed swap. Finally, it generates actionable recommendations, which may approve the swap, approve it with conditions, block it, or suggest modifications. The skill supports batch processing and can operate in parallel with related tasks such as code review or test writing, though it must serialize with ACGME compliance checks and safe schedule generation to maintain integrity.
This skill is primarily used in academic medical centers and residency programs where schedule swaps are common and require careful oversight. Target users include program directors, faculty schedulers, and administrative staff responsible for maintaining both resident education standards and clinical coverage. Typical use cases include pre-validating swap proposals, investigating swap-related issues, ensuring regulatory compliance before executing swaps, and assessing the feasibility and impact of complex multi-party or faculty swaps. By providing a structured and risk-aware analysis, swap-analyzer helps organizations maintain operational efficiency and regulatory compliance while supporting fair workload distribution among residents and staff.
FAQ
Who should use the swap-analyzer skill?
Program directors, faculty schedulers, and administrative staff responsible for evaluating and approving schedule swaps should use this skill to ensure regulatory compliance and operational coverage.
Can swap-analyzer handle multi-party swaps?
Yes, it can analyze one-to-one swaps, absorb swaps, multi-party swaps involving three or more residents, and faculty coverage swaps, assessing feasibility and compliance for each.
Does this skill check for ACGME compliance?
Yes, it evaluates compliance with the 80-hour weekly limit, the 1-in-7 days off rule, and supervision requirements for each resident involved in the proposed swap.
What kind of reports does swap-analyzer generate?
It produces a detailed feasibility report including swap type, rotation compatibility, coverage impact, compliance assessment, risk evaluation, and actionable recommendations.
Are there any limitations or requirements for using swap-analyzer?
The skill requires access to the scheduling database to evaluate coverage and compliance. It may escalate swaps that are incompatible, create coverage gaps, or violate ACGME rules, requiring human intervention.
Install swap-analyzer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
