Skip to content

AI Agent Skill

The spmForKmp Agent Skill is a assistant designed to help you integrate and manage Swift Package Manager (SPM) dependencies in your Kotlin Multiplatform (KMP) projects using the spmForKmp plugin.

What it can do

  • Setup & Configuration: Automatically configure the spmForKmp plugin in your build.gradle.kts.
  • CocoaPods migration: migrate your existing KMP CocoaPods project to spmForKmp.
  • Dependency Management: Help you add, update, or remove Swift Package dependencies.
  • Bridge Generation: Assist in creating @objcMembers Swift bridge code for better Kotlin compatibility.
  • Troubleshooting: Diagnose and fix common issues related to SPM integration in KMP.
  • Best Practices: Provide guidance on project structure and SPM/KMP interoperability.

Installation

If you have npx installed, you can easily install or update the skill:

Project-level installation

Run this command in your project root:

npx skills add spmforkmp

Global installation

npx skills add -g spmforkmp

Support

Come to our Slack Dedicated Channel to bring feedback