← All skills
cocoapods-to-spm
82 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By Cap-go/capgo-skills (GitHub) · coding · 78 stars · scanned at commit e82217b
Migrates an existing Capacitor iOS app from CocoaPods to Swift Package Manager (SPM) before CocoaPods Trunk goes read-only (expected December 2, 2026). Use when the app still has ios/App/Podfile, Pods/, Podfile.lock or App.xcworkspace and the user wants CapApp-SPM, runs or recovers from `npx cap spm-migration-assistant`, needs debug.xcconfig / CAPACITOR_DEBUG wired up, sees "Some installed Capacitor plugins are not compatible with SPM" or "<plugin> does not have a Package.swift", or plans the C…
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 18 places.
Show 15 more
- skills/cocoapods-to-spm/SKILL.md, line 33
- The CLI treats the project as SPM if and only if `ios/App/CapApp-SPM/` exists. Deleting or renaming it silently flips `npx cap sync` back to CocoaPods behavio - skills/cocoapods-to-spm/SKILL.md, line 34
- `ios/App/CapApp-SPM/Package.swift` is regenerated on every `npx cap sync ios` (`// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands`). Put customiz - skills/cocoapods-to-spm/SKILL.md, line 41
- Use the repo's package manager for installs and scripts; keep Capacitor CLI calls as `npx cap ...` so the project-local CLI runs. - skills/cocoapods-to-spm/SKILL.md, line 87
| `npx cap spm-migration-assistant` | Most apps; keeps the existing Xcode project and its customizations. | - skills/cocoapods-to-spm/SKILL.md, line 96
npx cap spm-migration-assistant - skills/cocoapods-to-spm/SKILL.md, line 101
Two manual Xcode steps remain (`npx cap open ios`, which now opens `App.xcodeproj`): - skills/cocoapods-to-spm/SKILL.md, line 105
Then `npx cap sync ios`. - skills/cocoapods-to-spm/SKILL.md, line 113
npx cap add ios --packagemanager SPM - skills/cocoapods-to-spm/SKILL.md, line 114
npx cap sync ios - skills/cocoapods-to-spm/SKILL.md, line 128
The assistant changes dependency management only. If `Info.plist` lacks `UIApplicationSceneManifest`, the app is not on the scene lifecycle that Capacitor 8.5+ - skills/cocoapods-to-spm/SKILL.md, line 136
npx cap sync ios 2>&1 | grep -Ei 'Package.swift|not compatible|built for Capacitor' - skills/cocoapods-to-spm/references/troubleshooting.md, line 10
| `CocoaPods is not installed.` | Assistant runs `pod deintegrate` first. | `brew install cocoapods` (or `gem install cocoapods`) for the migration only, or use - skills/cocoapods-to-spm/references/troubleshooting.md, line 28
| `npx cap sync` behaves like CocoaPods again | `CapApp-SPM/` was deleted or moved. | Restore the folder from git. | - skills/cocoapods-to-spm/references/troubleshooting.md, line 37
3. Ensure `ios/App/CapApp-SPM/` and `ios/debug.xcconfig` exist (copy from a fresh `npx cap add ios` in a temp project of the same Capacitor version if missing). - skills/cocoapods-to-spm/references/troubleshooting.md, line 39
5. `npx cap sync ios` and run the Verification block in SKILL.md.
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 6 places.
Show 3 more
Other copies in this repository
Cap-go/capgo-skills has 1 more folder with a skill named cocoapods-to-spm. This page shows the lowest-scoring copy.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'cocoapods-to-spm' ] || [ -L ~/.agents/skills/'cocoapods-to-spm' ]; then echo 'A skill folder named cocoapods-to-spm already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Cap-go/capgo-skills' "$d" && git -C "$d" checkout --quiet 'e82217b8fa76e11a2b2fdb49c6a221df8359cb54' -- 'skills/cocoapods-to-spm' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/cocoapods-to-spm' ~/.agents/skills/'cocoapods-to-spm' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'cocoapods-to-spm' ~/.claude/skills/'cocoapods-to-spm' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for Cap-go/capgo-skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/Cap-go/capgo-skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-12 | e82217b | 82 |
| 2026-11-08 | e90bb56 | 100 |
| 2026-11-06 | e90bb56 | 82 |