capacitor-plugins
Installation
SKILL.md
Capacitor Plugins
Install, configure, and use Capacitor plugins from official, Capawesome, community, Firebase, and MLKit sources.
Prerequisites
- Capacitor 6, 7, or 8 app.
- Node.js and npm installed.
- For iOS plugins: Xcode installed. CocoaPods or Swift Package Manager (SPM) for dependency management.
- For Android plugins: Android Studio installed.
Agent Behavior
- Guide step-by-step. Walk the user through the process one step at a time. Never present multiple unrelated questions at once.
- Auto-detect before asking. Check the project for platforms (
android/,ios/), build tools (vite.config.ts,angular.json,webpack.config.js), framework, existing npm registry config, andpackage.jsondependencies. Only ask the user when something cannot be detected. - One decision at a time. When a step requires user input (e.g., encryption yes/no), ask that single question, wait for the answer, then continue to the next step.
- Present clear options. When asking a question, provide concrete choices (e.g., "Do you need SQLite encryption? (yes/no)") instead of open-ended questions.