capacitor-app-development
Installation
SKILL.md
Capacitor App Development
General guidance for developing cross-platform apps with Capacitor, covering core concepts, CLI usage, app configuration, platform management, and troubleshooting.
Prerequisites
- Capacitor 6, 7, or 8 app already created and initialized.
- Node.js and npm installed (Node 18+ for Cap 6, Node 20+ for Cap 7, Node 22+ for Cap 8).
- For Android: Android Studio installed.
- For iOS: Xcode installed on macOS.
Agent Behavior
- Auto-detect before asking. Inspect the project for platforms (
android/,ios/), framework (vite.config.ts,angular.json,webpack.config.js,next.config.js), Capacitor version (@capacitor/coreinpackage.json), and iOS dependency manager (ios/App/Podfilefor CocoaPods vs. SPM). - Route to the right reference file. Use the topic index below to identify the correct reference file and read it before providing guidance.
- One topic at a time. Address the user's specific question. Do not provide a general overview unless explicitly requested.
- Prefer actionable instructions. Provide exact file paths, commands, and diff blocks rather than conceptual explanations.