Skip to content
Skill

Axiom resolve spm

Diagnoses Swift Package Manager dependency conflicts and build errors in Swift projects

Axiom resolve spm is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.3K
Last commit
License
MIT
Listing updated

Similar skills

About Axiom resolve spm

This skill guides an agent through troubleshooting Swift Package Manager problems such as failed version resolution, duplicate symbol linker errors, missing module errors, and Swift 6 language mode mismatches. It has the agent read Package.swift and Package.resolved, inspect Xcode project package references, and map the dependency graph before proposing fixes.

The workflow runs swift package commands such as resolve, show-dependencies and build, then groups findings by severity and presents resolution options in order of preference, such as updating a conflicting package, forking it, or pinning a version. It also includes reset steps that clear build and cache state and re-resolve packages, along with Xcode menu equivalents for the same actions.

It expects a Swift project using Swift Package Manager with a readable manifest, and the Swift toolchain available in a shell. Some optional steps use jq for JSON parsing and an xcproject helper for Xcode project inspection.

When your agent uses it

Use when the user mentions SPM resolution failures, "no such module" errors, duplicate symbol linker errors, version conflicts between packages, or Swift 6 package compatibility issues.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (14 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/axiom-resolve-spm to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-resolve-spm &&
cp -R "$tmp/axiom-codex/skills/axiom-resolve-spm" ~/.claude/skills/axiom-resolve-spm &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/axiom-resolve-spm inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/axiom-resolve-spm to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-resolve-spm &&
cp -R "$tmp/axiom-codex/skills/axiom-resolve-spm" ~/.agents/skills/axiom-resolve-spm &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/axiom-resolve-spm inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/axiom-resolve-spm to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-resolve-spm &&
cp -R "$tmp/axiom-codex/skills/axiom-resolve-spm" ~/.cursor/skills/axiom-resolve-spm &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/axiom-resolve-spm inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-resolve-spm

Or copy the folder to ~/.gemini/skills/axiom-resolve-spm yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-resolve-spm:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-resolve-spm &&
cp -R "$tmp/axiom-codex/skills/axiom-resolve-spm" ~/.copilot/skills/axiom-resolve-spm &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/axiom-resolve-spm inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git

Then copy Axiom/axiom-codex/skills/axiom-resolve-spm into your agent's skills folder as axiom-resolve-spm. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Version conflict diagnosis
Finds incompatible version constraints between packages and suggests compatible resolutions.
Duplicate symbol detection
Checks for the same library linked twice through direct and transitive dependencies.
Swift 6 compatibility checks
Reviews language mode and tools version settings that cause mismatches with dependencies.
Stale resolution reset
Provides steps to clear caches, regenerate Package.resolved and rebuild the project.
Platform requirement review
Compares package platform minimums against the project's deployment targets.
Xcode project inspection
Locates package references in Xcode project files to identify where dependencies are declared.

Good for

  • Fix a 'No such module' error after adding a Swift package
  • Resolve a duplicate symbol linker error in an iOS app
  • Untangle two packages that require different versions of the same dependency
  • Prepare a Swift package project for Swift 6 language mode
  • Reset SwiftPM caches when package resolution gets stuck

Axiom resolve spm FAQ

When does Axiom resolve spm trigger?

It is meant for requests that mention SPM resolution failures, 'no such module' errors, duplicate symbol linker errors, version conflicts between packages, or Swift 6 package compatibility issues.

What does Axiom resolve spm need to run?

It expects a Swift project with Package.swift and, if present, Package.resolved, and it runs swift package and swift build commands. Some steps use jq and an xcproject helper when available.

Does Axiom resolve spm change my project files?

The skill's instructions include commands that remove .build, Package.resolved and SwiftPM caches, and steps that edit Package.swift. The agent is directed to present these as recommended fixes.

How do I install Axiom resolve spm in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-resolve-spm to use it in all your projects, or to .claude/skills/axiom-resolve-spm in one project.

Does Axiom resolve spm run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Axiom resolve spm?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Axiom resolve spm?

The closest alternatives to Axiom resolve spm are Axiom fix build, Axiom build, Axiom analyze test failures, Axiom optimize build and Dart resolve package conflicts.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from CharlesWiltgen/Axiom

  1. Finds the code patterns behind flaky Swift Testing failures and explains each root cause

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  2. Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  3. Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  4. Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  5. Interprets iOS and macOS crash logs and points the agent to the likely fix

    • Open source
    • 1.3K GitHub stars
    • Developer tools