Ios deps
Manage Swift Package Manager dependencies with security checks and update verification.From its SKILL.md
npx -y skills add edfenton/claude-skills --skill ios-depsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `swift package update` and 2 more.
- fetches URLsInstructs the agent to fetch 4 URLs, including https://github.com/Alamofire/Alamofire.git and 3 more.
SKILL.md
2.2 KB, 545 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Manage SPM dependencies safely: check for updates, audit for issues, and add packages with verification.
Arguments
--check— Check for outdated packages (default if no args)--audit— Check for known security issues--update— Update to latest compatible versions with test verification--add <package>— Add a new package (URL or shorthand)
Workflow
Check (--check)
- Parse
Package.swiftorPackage.resolved - Query package registries for latest versions
- Report packages with updates available
- Categorize: minor, major
Audit (--audit)
- Check dependencies against known vulnerability databases
- Report any security advisories
- Suggest updates or alternatives
Update (--update)
- Show packages to update
- Ask for approval
- Update:
swift package update - Build to verify:
xcodebuild build - Run tests:
xcodebuild test - If tests pass, report success
- If tests fail, rollback and report
Add (--add)
- Validate package URL or resolve shorthand
- Add to
Package.swiftor via Xcode - Resolve dependencies
- Build to verify
- Report usage instructions
Package shorthands
Common packages can be added by name:
alamofire→https://github.com/Alamofire/Alamofire.gitkingfisher→https://github.com/onevcat/Kingfisher.gitswiftyjson→https://github.com/SwiftyJSON/SwiftyJSON.gitsnapkit→https://github.com/SnapKit/SnapKit.git
For universal safety rules and update priority order, see /shared-deps-safety. iOS addition: prefer exact versions for production.
Output
Check output
Package dependencies:
Up to date:
- swift-argument-parser 1.2.3
Updates available:
- Alamofire: 5.8.0 → 5.9.1 (minor)
- Kingfisher: 7.10.0 → 8.0.0 (major ⚠️)
Audit output
Security audit:
No known vulnerabilities found.
Recommendations:
- Kingfisher: Consider updating to 8.x for iOS 17 improvements
Reference
For SPM commands and common packages, see reference/ios-deps-reference.md
What ships with it: 1 file
8.2 KB alongside SKILL.md
reference/
- ios-deps-reference.md8.2 KB