/capacitor-core:capacitor-app-developmentfrom capacitor-core
Guides Capacitor app development covering CLI usage, config, platform management (Android, iOS, Electron, Tauri, PWA), safe areas, live reload, storage, security, and troubleshooting.
Ships in capacitor-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
General guidance for developing cross-platform apps with Capacitor, covering core concepts, CLI usage, app configuration, platform management, and troubleshooting.
Capacitor 6, 7, or 8 app already created and initialized. Capacitor 9 is not covered by this skill yet.
Node.js and npm installed. The tool versions depend on the Capacitor version:
| Capacitor | Node.js | Xcode | Android Studio | JDK | iOS deployment target | Android minSdkVersion |
|---|---|---|---|---|---|---|
| 6 | 18+ | 15.0+ | Hedgehog 2023.1.1+ | 17 | 13.0 | 22 |
| 7 | 20+ | 16.0+ | Ladybug 2024.2.1+ | 21 | 14.0 | 23 |
| 8 | 22+ | 26.0+ | Otter 2025.2.1+ | 21 | 15.0 | 24 |
For Android: Android Studio installed.
For iOS: Xcode installed on macOS. Xcode 27 requires the UIScene lifecycle, which Capacitor adopts in version 8.5 (see references/troubleshooting-ios.md).
android/, ios/, electron/, src-tauri/), framework (vite.config.ts, angular.json, webpack.config.js, next.config.js), Capacitor version (@capacitor/core in package.json), and iOS dependency manager (ios/App/Podfile for CocoaPods, ios/App/CapApp-SPM/Package.swift for SPM).latest of the official Capacitor packages no longer fits a Capacitor 8 project, so always pin the version. Install an official @capacitor/* package with the major version of @capacitor/core in package.json, for example npm install @capacitor/app@8. A few official plugins count their versions in another way. The reference files of the capacitor-plugins skill name the version to install.Two hosted MCP servers serve the current documentation, so both are always ahead of the guidance bundled with this skill:
capacitor.config file, the native Android and iOS projects, and the official plugin APIs.If the MCP tools are available, call search_docs on the server that owns the topic and read the matching page with get_doc_page before applying the guidance below. Pass the version that matches the major version of @capacitor/core. Where the documentation and this skill disagree, follow the documentation. If the tools are not available, continue with this skill. See the capacitor-mcp and capawesome-mcp skills for the setup.
Match the user's request to a topic from the index below. If the request spans multiple topics, address them sequentially.
If the request matches a topic covered by a different skill, redirect the user to that skill (see Related Skills at the bottom).
Auto-detect the following by reading project files:
@capacitor/core version from package.json.android/, ios/, electron/, src-tauri/).capacitor.config.ts or capacitor.config.json.ios/App/Podfile means CocoaPods. ios/App/CapApp-SPM/Package.swift means SPM.Read the reference file for the matched topic and apply the instructions to the user's project.
| Topic | Reference |
|---|---|
| Core concepts (native bridge, how Capacitor works) | references/core-concepts.md |
| Capacitor platforms (Android, iOS, Electron, Tauri, PWA) | references/platforms.md |
| Capacitor CLI commands | references/cli.md |
App configuration (capacitor.config.ts) | references/app-configuration.md |
| Splash screens and app icons | references/splash-screens-and-icons.md |
| Deep links and universal links | references/deep-links.md |
| Android edge-to-edge support and the SystemBars API | references/edge-to-edge.md |
| Safe area handling (CSS, Ionic, plugins) | references/safe-area.md |
| Live reload setup | references/live-reload.md |
| Storage solutions | references/storage.md |
| File handling best practices | references/file-handling.md |
| Security best practices | references/security.md |
| iOS package managers (SPM, CocoaPods) | references/ios-package-managers.md |
| CI/CD for Capacitor apps | references/ci-cd.md |
| Testing (unit and E2E) | references/testing.md |
| Cross-platform best practices | references/cross-platform-best-practices.md |
| Android troubleshooting | references/troubleshooting-android.md |
| iOS troubleshooting, including Xcode 27 and UIScene | references/troubleshooting-ios.md |
npx cap sync fails: Verify @capacitor/core, @capacitor/cli, @capacitor/android and @capacitor/ios are on the same version in package.json. On iOS with CocoaPods, run cd ios/App && pod install. Run npx cap doctor for a report.npm install with npm 12: npm 12 does not run the install scripts of dependencies until they are approved. With Capacitor CLI 8.6.0 or later, npx cap doctor lists the blocked packages. Approve each one with npm install-scripts approve <package>, then run npm rebuild.cd android && ./gradlew clean, then rebuild.ios/App/Pods and run cd ios/App && pod install. With SPM, run npx cap sync ios. If the build still fails, ask the user to clean the build folder in Xcode (Product > Clean Build Folder).npx cap sync after any plugin installation. Run npx cap ls and verify the plugin is listed for the platform.capacitor.config uses the correct LAN IP address.https://<domain>/.well-known/apple-app-site-association (iOS) or https://<domain>/.well-known/assetlinks.json (Android). Verify the app is signed with the correct certificate.references/edge-to-edge.md.capacitor-app-creation — Create a new Capacitor app.capacitor-angular — Angular-specific Capacitor development.capacitor-react — React-specific Capacitor development.capacitor-vue — Vue-specific Capacitor development.capacitor-plugins: Install and configure Capacitor plugins, including the Premium SDKs of Capawesome Cloud.capacitor-plugin-development — Create custom Capacitor plugins.capacitor-app-upgrades — Upgrade Capacitor to a newer major version.capacitor-app-spm-migration: Move an existing iOS project from CocoaPods to Swift Package Manager.capacitor-platforms: Add the Electron or Tauri desktop platform.capacitor-android-dex-optimization — Enable R8 and meet the Google Play DEX code optimization requirement.capacitor-push-notifications: Set up push notifications with Firebase Cloud Messaging.capacitor-in-app-purchases — Set up in-app purchases.capawesome-cloud: Cloud builds, live updates, app store publishing, and automations.capacitor-mcp — Connect an MCP client to the current Capacitor documentation.capawesome-mcp: Connect an MCP client to the Capawesome documentation and Capawesome Cloud.references/app-configuration.md (opens in a new tab)references/ci-cd.md (opens in a new tab)references/cli.md (opens in a new tab)references/core-concepts.md (opens in a new tab)references/cross-platform-best-practices.md (opens in a new tab)references/deep-links.md (opens in a new tab)references/edge-to-edge.md (opens in a new tab)references/file-handling.md (opens in a new tab)references/ios-package-managers.md (opens in a new tab)references/live-reload.md (opens in a new tab)references/platforms.md (opens in a new tab)references/safe-area.md (opens in a new tab)references/security.md (opens in a new tab)references/splash-screens-and-icons.md (opens in a new tab)references/storage.md (opens in a new tab)references/testing.md (opens in a new tab)references/troubleshooting-android.md (opens in a new tab)references/troubleshooting-ios.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
capacitor, cross-platform, mobile-app, native-bridge, app-configuration
npx claudepluginhub capawesome-team/skills --plugin capacitor-core8 skills in this plugin
/capacitor-app-creationGuides the agent through creating a new Capacitor app from scratch. Covers project scaffolding with the Capacitor CLI, configuring the app (appId, appName, webDir), adding native platforms (iOS, Android), and syncing. Includes decision points for Ionic Framework integration, live updates, and CI/CD setup. Do not use for upgrading existing Capacitor apps, migrating from other frameworks, or plugin installation./capacitor-app-spm-migrationGuides the agent through migrating an existing Capacitor app project from CocoaPods to Swift Package Manager (SPM) for iOS dependency management. Covers prerequisite checks, inventorying installed Capacitor plugins, backing up customized iOS project files (Info.plist, AppDelegate.swift, Assets.xcassets, Base.lproj, App.entitlements, GoogleService-Info.plist, .xcconfig files, signing configuration), deleting the existing `ios/` folder, re-scaffolding with `npx cap add ios --packagemanager SPM`, restoring preserved files, re-syncing plugins, and verifying the build. Performs all migration steps manually — does not use the interactive `npx cap spm-migration-assistant` command. Do not use for Capacitor plugin projects, app projects already on SPM, app projects without an existing `ios/` folder, or non-Capacitor mobile frameworks./capacitor-app-upgradesGuides the agent through upgrading a Capacitor app project to a newer major version. Supports upgrades from Capacitor 4 through 8, including multi-version jumps. Also covers the Capacitor 8.5 update that moves an iOS app to the UIScene lifecycle, which Xcode 27 requires. Performs all upgrade steps by hand and does not use the `npx cap migrate` command. Do not use for plugin library upgrade or non-Capacitor mobile frameworks./capacitor-expertA comprehensive starting point for AI agents to work with Capacitor. Covers core concepts, version requirements for Capacitor 6 to 8, CLI, app creation, plugins and Premium SDKs, framework integration, best practices, storage, security, testing, troubleshooting, upgrading, the UIScene lifecycle of Capacitor 8.5, and Capawesome Cloud (live updates, native builds, app store publishing, automations). Pair with the other Capacitor skills in this collection for deeper topic-specific guidance. Do not use for non-Capacitor mobile frameworks./capacitor-mcpGuides the agent through connecting an MCP client to the hosted, unofficial Capacitor MCP server by Capawesome, which serves the official Capacitor documentation for v8, v7, v6 and next, the official and community plugin list, and the Capacitor posts from the Ionic blog. Covers client detection, setup for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Zed and stdio-only clients, documentation version selection, verification, and troubleshooting. Do not use for installing or configuring Capacitor plugins, upgrading or migrating apps and plugins to a newer version, Ionic Framework UI components, Capawesome Cloud, or MCP servers other than the Capacitor one./capacitor-platformsGuides the agent through adding, configuring, and using the Capawesome desktop platforms for Capacitor — @capawesome/capacitor-electron and @capawesome/capacitor-tauri. Covers choosing between Electron and Tauri, installation and scaffolding, sync/run workflows, live reload, deep links, splash screens, tray icons, plugin compatibility (Electron plugin implementations and web fallback; Tauri plugin tiers), packaging, app updates including Capawesome Cloud Live Updates on Electron, monorepo setup, and the migration from @capacitor-community/electron. Do not use for the Android or iOS platforms, installing individual Capacitor plugins, migrating Capacitor apps or plugins to newer versions, or non-Capacitor desktop frameworks.Other plugins' skills for the same job