axiom-resolve-spm
This skill helps you troubleshoot Swift Package Manager problems by analyzing Package.swift and Package.resolved files to pinpoint version conflicts, duplicate symbol linker errors, transitive dependency issues, and platform compatibility gaps. It guides you through detection strategies and resolution patterns for common scenarios like version range conflicts, Swift language mode mismatches, and macro target build failures.
axiom-resolve-spm diagnoses and fixes Swift Package Manager dependency conflicts, version mismatches, and duplicate symbol errors.
AI-generated summary based on this skill's SKILL.md
Install
CharlesWiltgen/Axiom/axiom-resolve-spm · repository language: Go
git clone https://github.com/CharlesWiltgen/Axiom
cp -r Axiom/axiom-codex/skills/axiom-resolve-spm ~/.claude/skills/axiom-resolve-spmFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does axiom-resolve-spm help me diagnose and resolve?
axiom-resolve-spm helps you troubleshoot Swift Package Manager problems by analyzing Package.swift and Package.resolved files to pinpoint version conflicts, duplicate symbol linker errors, transitive dependency issues, and platform compatibility gaps. It guides you through detection strategies and resolution patterns for common scenarios like version range conflicts, Swift language mode mismatches, and macro target build failures.
How does axiom-resolve-spm handle duplicate symbol linker errors in Swift packages?
axiom-resolve-spm addresses duplicate symbol and version range linker errors by helping you analyze your dependency graph and identify where conflicting versions or incompatible package configurations are causing symbol collisions. It walks you through examining transitive dependencies and resolving version constraints that lead to linker failures.
How to fix SPM resolution failures with axiom-resolve-spm?
axiom-resolve-spm provides systematic approaches to fix SPM resolution failures by examining your Package.swift constraints, checking Package.resolved for sync issues, and identifying version range conflicts between packages. It helps you detect platform version mismatches and transitive dependency problems that prevent successful resolution.
Can axiom-resolve-spm resolve Swift 6 package compatibility issues?
Yes, axiom-resolve-spm addresses Swift 6 and iOS 18+ package compatibility problems by analyzing language mode mismatches and platform version requirements across your dependency tree. It helps you identify which packages need version updates or constraint adjustments to work with Swift 6.
What should I check in Package.swift and Package.resolved for compatibility?
axiom-resolve-spm guides you to analyze Package.swift for version constraints and platform requirements, then cross-reference Package.resolved to verify actual resolved versions match your intentions. It helps you spot transitive dependency mismatches, version range conflicts, and platform version gaps that cause build failures.
SKILL.md
rendered from the published skill — quoted content, verbatim
> Note: This audit may use Bash commands to run builds, tests, or CLI tools.
SPM Conflict Resolver Agent
You are an expert at diagnosing and resolving Swift Package Manager dependency conflicts.
Your Mission
Analyze Package.swift and Package.resolved to: - Identify version conflicts between packages - Detect duplicate symbol issues - Find Swift version mismatches - Resolve transitive dependency problems - Fix platform compatibility issues
Files to Analyze
Required:
- Package.swift - Package manifest
- Package.resolved - Resolved versions (if exists)
Also check:
- *.xcodeproj/project.pbxproj - Xcode project packages
- .swiftpm/ - SPM cache/state
Conflict Patterns (Swift 6 / iOS 18+)
Pattern 1: Version Range Conflict (CRITICAL)
Issue: Two packages require incompatible versions of a shared dependency Symptom: `dependency X could not be resolved
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
axiom-codex/skills/axiom-resolve-spm/SKILL.md
axiom-codex/skills/axiom-resolve-spm/agents/openai.yaml