mcpField
I
ionic-angular

ionic-angular

github.com/erkamyamanDevelopment1646 installsUpdated today
Repository

About ionic-angular

A reference skill for building Ionic and Angular apps, intended to guide project setup, navigation, pages, and cross-cutting implementation choices. It organizes detailed guidance by topic and sets concrete requirements for app structure, libraries, and practices.

Key features

  1. 01Guidance for setup, structure, and routing
  2. 02References for pages and navigation
  3. 03Signals and service implementation guidance
  4. 04Accessibility, localization, and deferred loading
  5. 05Required pages, libraries, and Angular practices

Use cases

  1. 01Plan a new Ionic Angular app
  2. 02Implement onboarding, paywall, and settings pages
  3. 03Choose routing and tab navigation patterns
  4. 04Check Angular conventions before building

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/erkamyaman/ionic-capacitor-skills --skill ionic-angular

After installing, type/ionic-angularin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
accessibility.md
app-config.md
best-practices.md
commands.md
control-flow.md
defer-loading.md
i18n-ngx-translate.md
new-app.md
onboarding-guard.md
onboarding-page.md
paywall-page.md
project-structure.md
routing.md
services.md
settings-page.md
signals.md
tabs-navigation.md

Details

From the project README

Ionic + Angular App Guidelines

This is a SKILL file, NOT a project. Never run npm install here. When creating a new project, ask for the project path or scaffold in a separate directory (e.g. ~/Projects/<app>).

When to consult these references

Project setup:

Pages and navigation:

Cross-cutting:

Native plugin topics live in ../ionic-shared/references/ — always link there for AdMob, RevenueCat, push notifications, storage, and theme:

Required pages (always create)

  • Onboarding — swipe-based, fullscreen background video + gradient overlay.
  • Paywall — RevenueCat (weekly / yearly), shown immediately after onboarding.
  • Settings — language, theme, notifications, remove ads, reset onboarding.

Required navigation

Use ion-tabs + ion-tab-bar. Never build a custom tab bar or pull in a third-party tab library.

Required libraries

npm install \
  @capacitor/preferences @capacitor/push-notifications \
  @capacitor/splash-screen @capacitor/status-bar \
  @revenuecat/purchases-capacitor @capacitor-community/admob \
  @ngx-translate/core @ngx-translate/http-loader \
  swiper

Hard rules (Angular-specific)

  • ❌ NgModules for new pages/components — use standalone components.
  • ❌ IonicModule in standalone components — import the individual components (IonContent, IonButton, …).
  • ❌ Inline template or styles in @Component — always use separate .html, .ts, .scss files via templateUrl and styleUrls.
  • ❌ @angular/http (deprecated) — use @angular/common/http.
  • ❌ any type — use real TypeScript types.
  • ✅ Prefer Signals for reactive state — signal(), computed(), effect(). Services should expose readonly signals where it makes sense — see signals.md. Stick to stable signal APIs; avoid Angular features marked "developer preview" / "experimental" (e.g. linkedSignal, resource, Signal Forms) until they graduate.
  • ✅ Use signal inputs / outputs (input(), input.required(), output()) for new components.

Before reporting done

npm install
npx ng build
npx cap sync

The build must complete without errors. cap sync is required after every web build before testing on native.

Comments

Markdown supported