home / skills / shotaiuchi / dotclaude / migration-resolver
This skill helps resolve dependency conflicts during migrations by analyzing version constraints, transitive risks, and peer requirements to ensure safe
npx playbooks add skill shotaiuchi/dotclaude --skill migration-resolverReview the files below or copy the command above to add this skill to your agents.
---
name: migration-resolver
description: >-
Dependency resolution for migrations. Apply when resolving version conflicts,
transitive dependency issues, peer dependency requirements, and incompatible
dependency trees.
user-invocable: false
---
# Dependency Resolution
Resolve dependency conflicts during migration.
## Migration Checklist
### Version Conflict Resolution
- Identify direct dependency version incompatibilities
- Resolve conflicting version ranges across packages
- Verify pinned versions are compatible with target migration
- Check for version constraints that block upgrading
### Transitive Dependencies
- Map the full transitive dependency tree for changes
- Identify indirect dependencies pulled in by upgrades
- Check for diamond dependency conflicts
- Verify transitive dependency licenses remain compliant
### Peer Requirements
- Validate peer dependency ranges after version bumps
- Identify unmet peer dependency warnings
- Check for plugins or extensions requiring specific peer versions
- Ensure peer dependency declarations are updated in package metadata
### Dependency Tree Health
- Audit for known vulnerabilities in updated dependencies
- Check for abandoned or unmaintained dependencies
- Verify no duplicate packages exist at incompatible versions
- Validate the lock file is consistent and reproducible
## Output Format
Report findings with risk ratings:
| Risk | Description |
|------|-------------|
| Critical | Unresolvable conflict, blocks migration entirely |
| High | Conflict requires major refactoring or replacement |
| Medium | Conflict resolvable with version pinning or overrides |
| Low | Minor version bump, no conflicts expected |
This skill performs dependency resolution focused on migrations. It identifies version conflicts, transitive issues, peer dependency problems, and overall dependency tree health to produce actionable remediation guidance. The skill outputs findings with clear risk ratings to prioritize fixes during a migration.
The skill inspects direct and transitive dependency graphs, evaluates version ranges and pinned versions, and validates peer dependency declarations. It audits lock files, checks for duplicate or abandoned packages, and flags vulnerabilities and licensing concerns. Results are summarized with risk levels and recommended actions for each issue.
How are risk ratings determined?
Risk is based on impact and fixability: Critical blocks migration, High needs major changes, Medium can be resolved with pinning/overrides, Low is minor and low-risk.
Can this skill automatically fix conflicts?
It recommends concrete fixes such as version pins, overrides, or replacements but does not change repositories automatically; apply changes after review and CI validation.