移动开发

webapp-to-capacitor

cap-go/capgo-skills

Plans and executes turning an existing web app, PWA, or SPA into a store-ready Capacitor iOS and Android app. Use when the user wants to wrap a website or PWA as a mobile app, worries about Apple guideline 4.2 minimum functionality or thin-WebView rejection, needs a phased migration plan (static build, Capacitor shell, native UX, plugins, permissions, offline, account deletion, in-app purchase vs web billing, demo account, Play closed testing), or asks what still breaks after the first successful cap sync. Do not use for framework build configuration alone (framework-to-capacitor), Cordova apps (cordova-to-capacitor), final store submission mechanics (capacitor-app-store), or an Apple rejection audit (capacitor-apple-review-preflight).

  • 681 次安装
  • 74 星标
  • 收录于

安装命令

npx skills add https://github.com/cap-go/capgo-skills --skill webapp-to-capacitor

SKILL.md

Web App to Capacitor

Turn a production web app into a Capacitor app that behaves like a mobile app and survives store review. The Capacitor shell is usually a day of work; mobile UX, native capabilities, and store policy are the real project.

When to Use

TRIGGER when:

  • "Turn my website / PWA / React (Vue, Angular, Svelte, Next.js, Nuxt) app into an iOS/Android app."
  • The user asks whether Apple will reject a WebView wrapper (guideline 4.2) or how to make it feel native.
  • The user needs a migration plan covering permissions, offline, auth, account deletion, payments, and testing.

Do not use for:

  • Only fixing webDir, SSR, or routing for a specific framework -> framework-to-capacitor.
  • Cordova/PhoneGap/Ionic-Cordova projects -> cordova-to-capacitor.
  • Uploading builds, screenshots, listing metadata -> capacitor-app-store.
  • Auditing a submission or answering a rejection -> capacitor-apple-review-preflight.
  • CI pipelines and signing -> capacitor-ci-cd or capgo-native-builds.

Live Project Snapshot