Agent skill · Testing & QA

swap-analyzer

Analyze swap compatibility and safety. Use when evaluating proposed schedule swaps to ensure they maintain ACGME compliance and operational coverage.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/analysis/swap-analyzer-euda1mon1a-autonomous-assignmen-5b6077ea/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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?

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Swap Analysis Framework
  3. Phase 1: Swap Type Classification
  4. Phase 2: Feasibility Analysis
  5. Phase 3: Impact Assessment
  6. Phase 4: Recommendation
  7. Swap Analysis Report
  8. Common Swap Scenarios
  9. Scenario 1: One-to-One Procedural Swap
  10. Scenario 2: Holiday Coverage Request
  11. Scenario 3: Night Float Swap
  12. Scenario 4: Last-Minute Absence Coverage
  13. Integration with swap-execution
  14. Quick Analysis Commands
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going