capacitor-rules
/capacitor-rules
Podaje zasady i polecenia sprawdzające dla aplikacji Capacitor, czyli webaplikacji dostarczanej jako aplikacja iOS i Android.
- Autor
- 1AngelMicka ↗
- Repozytorium
- quality-pack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 1
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
Co robi i kiedy
Podaje zasady i polecenia sprawdzające dla aplikacji Capacitor, czyli webaplikacji dostarczanej jako aplikacja iOS i Android.
Oryginalny opis (EN)
Shipwright rules and check commands for Capacitor (web app shipped as an iOS and Android app). Use when writing, reviewing or auditing code in a project that uses this stack. FR : règles et commandes de vérification pour Capacitor (webapp livrée en app iOS et Android).
Jak działa
- Rules
- Check commands
Podgląd SKILL.md
---
name: capacitor-rules
description: "Shipwright rules and check commands for Capacitor (web app shipped as an iOS and Android app). Use when writing, reviewing or auditing code in a project that uses this stack. FR : règles et commandes de vérification pour Capacitor (webapp livrée en app iOS et Android)."
---
<!-- Generated by tools/build.py from the referential YAML. Do not edit by hand. -->
# Capacitor (web app shipped as an iOS and Android app)
These rules add to the core build skills of Shipwright.
## Rules
- The shipped app loads its bundled files: server.url is for development only. A bare wrapper around a live site is refused by Apple (guideline 4.2).
- Bring what a site cannot: notifications, offline, native share, camera or biometrics depending on the product.
- server.allowNavigation limited to the app's origins, never "*"; cleartext off. The native bridge is exposed to every page loaded in the WebView.
- Session tokens in native secure storage (Keychain, Keystore) through a plugin, never in localStorage or Preferences.
- Safe areas: viewport-fit=cover and env(safe-area-inset-*) on fixed bars; height in dvh, not 100vh.
- Keyboard: Keyboard plugin set so the field and the main action stay visible; fields at 16 px or more.
- Android back button handled (App.addListener('backButton')): it returns to the previous screen and only closes the app from home.
- No hover as the only way to act; touch feedback under 100 ms; no 300 ms delay (touch-action: manipulation).
- Run `npx cap sync` after any plugin change and commit the android/ and ios/ folders.
- The same key tasks are played in the browser (sw flows) and on a device (sw mobile flows).
## Check commands
Used by `/sw:audit`. `{pm}` is the project's package manager, `{url}` the app URL, `{host}` its host name.
| Check | Command | Passes if |
| --- | --- | --- |
| typecheck | `{pm} exec tsc --noEmit` | exit code 0 |
| lint | `{pm} run lint` | exit code 0, no errors |
| test_run | `{pm} test` | exit code 0 |
| deps_audit | `{pm} audit --audit-level=high` | no high or critical advisory; then `npx cap doctor` reports matching versions |
| license_check | `npx --yes license-checker-rseidelsohn --summary --failOn 'GPL;AGPL'` | exit code 0 |
Wersje
W bazie nie ma innych skilli o nazwie capacitor-rules.
Migawka bazy z 13.11.2026 · wersja paczki 6e02bd758035 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90expo-rules
Stosuje reguły i polecenia sprawdzające dla Expo i React Native przy pisaniu, przeglądzie i audycie kodu na iOS i Androidzie. - 90electron-rules
Podaje zasady i polecenia sprawdzające dla aplikacji desktopowych w Electron, do pisania, przeglądu i audytu kodu. - 90capacitor-app-development
Prowadzi przez ogólne tematy aplikacji Capacitor: most natywny, wtyczki, konfigurację, platformy Android, iOS, Electron i PWA. - 100webapp-to-capacitor
Planuje i wdraża zmianę aplikacji webowej lub PWA w aplikację iOS i Android w Capacitor, gotową do sklepów. - 100capacitor
Pakuje aplikację webową jako natywną aplikację na iOS i Androida z dostępem do natywnych API przez Capacitor: system wtyczek, most web-native i publikacja w sklepach. - 90capacitor-mobile
Prowadzi od aplikacji webowej w TypeScript lub React do mobilnej w Capacitor dla iOS, Android i PWA, z zakupami w aplikacji, push, deep linkami, bezpiecznym tokenem i wdrożeniem w sklepach.