capacitor-angular
Installation
SKILL.md
Capacitor with Angular
Angular-specific patterns and best practices for Capacitor app development — project structure, services, lifecycle hooks, NgZone integration, and plugin usage.
Prerequisites
- Capacitor 6, 7, or 8 app with Angular 16+.
- Node.js and npm installed.
- Angular CLI installed (
npm install -g @angular/cli). - For iOS: Xcode installed.
- For Android: Android Studio installed.
Agent Behavior
- Auto-detect before asking. Check the project for
angular.json,package.json,capacitor.config.tsorcapacitor.config.json, and existing directory structure. Only ask the user when something cannot be detected. - Guide step-by-step. Walk the user through the process one step at a time.
- Adapt to project style. Detect whether the project uses standalone components or NgModule-based architecture and adapt code examples accordingly.