swap-analyzer
Analyze swap compatibility and safety. Use when evaluating proposed schedule swaps to ensure they maintain ACGME compliance and operational coverage.
npx skills add majiayu000/claude-skill-registry --skill swap-analyzer-euda1mon1a-autonomous-assignmen-5b6077ea --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Swap Analyzer Skill Comprehensive analysis of schedule swap compatibility and impact assessment. ## When This Skill Activates - Faculty requests schedule swap - Evaluating swap feasibility - Checking swap impact before execution - Investigating swap-related issues - Pre-validating swap proposals ## Swap Analysis Framework ### Phase 1: Swap Type Classification **Identify Swap Pattern:** ``` Swap types: 1. One-to-one swap - Resident A's rotation swapped with Resident B - Most common, usually feasible 2. Absorb swap - Resident A gives shift to Resident B - Requires accepting extra load 3. Multi-party swap - Chain involving 3+ residents - Complex validation needed 4. Faculty/coverage swap - Change faculty assignments - Affects supervision ratios ``` ### Phase 2: Feasibility Analysis **Step 2.1: Rotation Compatibility** ``` For proposed swap: 1. Is rotation type switchable? - Can A work B's rotation? - Required credentials? - Skill match? 2. Are residents trained for rotations? - Check rotation requirements - Verify prerequisite training - Confirm no conflicts ``` **Step 2.2: ACGME Compliance Check** ``` For each resident involved: 1. 80-hour rule impact - Would swap cause violation?
- When This Skill Activates
- Swap Analysis Framework
- Phase 1: Swap Type Classification
- Phase 2: Feasibility Analysis
- Phase 3: Impact Assessment
- Phase 4: Recommendation
- Swap Analysis Report
- Common Swap Scenarios
- Scenario 1: One-to-One Procedural Swap
- Scenario 2: Holiday Coverage Request
- Scenario 3: Night Float Swap
- Scenario 4: Last-Minute Absence Coverage
- Integration with swap-execution
- Quick Analysis Commands
Analyze proposed swap python -m app.swaps.analyzer --resident1=A --resident2=B --dates=START-END Check impact on 80-hour rule python -m app.swaps.analyzer --resident1=A --rule=80-hour --dates=START-END Simulate swap to see hours impact python -m app.swaps.analyzer --resident1=A --simulate --dates=START-END
What does the swap-analyzer skill do?
Analyze swap compatibility and safety. Use when evaluating proposed schedule swaps to ensure they maintain ACGME compliance and operational coverage.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill swap-analyzer-euda1mon1a-autonomous-assignmen-5b6077ea --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
