What problem does it solve? Capacitor plugins traditionally rely on CocoaPods and Objective-C bridge files for iOS integration, which blocks adoption of Swift Package Manager. This Skill guides the migration of an existing Capacitor plugin to SPM by generating a Package.swift manifest and replacing the Objective-C bridge with the CAPBridgedPlugin Swift protocol. ## Core Features & Use Cases - Package.swift Generation: Creates a complete SPM manifest with the correct pod name, iOS deployment target, Capacitor version branch, and third-party dependency mappings. - Objective-C Bridge Replacement: Converts the plugin class to the CAPBridgedPlugin protocol, migrating all CAP_PLUGIN_METHOD registrations into the pluginMethods array, then deletes the .h and .m files. - Project Cleanup: Removes stale references from project.pbxproj, updates .gitignore with SPM artifacts, and adds Package.swift plus an ios:spm:install script to package.json. - Use Case: You maintain a Capacitor 6 plugin whose users request SPM support. The Skill reads your podspec and plugin sources, resolves CocoaPods dependencies to SPM equivalents, and performs the full migration step by step. ## Quick Start Add Swift Package Manager support to my Capacitor plugin in this repository.