AGENT SKILL

capacitor-ios

Phased super-skill that turns a web app (improvebayarea.com or any Cloudflare Workers / SPA / PWA site) into a store-ready native iOS app with Capacitor — end to end. Use when the user wants to "make this an iOS app", "wrap the site", "ship improvebayarea to the App Store", add camera/geolocation/push to a web app, set up live web updates without App Store resubmission, build/run/test the app on the iOS Simulator, or asks how the web↔app update loop works. Detects the active phase and loads only that phase's reference file, the way /code loads only the relevant mode. Orchestrates the installed Capgo 48 capacitor-skills, awesome-ionic-mcp, XcodeBuildMCP + /xcode-test, /ios-ship (greenlight + privacy manifest), context7, sosumi, app-store-screenshots and aso-audit. Triggers: "capacitor", "wrap web app", "make it an iOS app", "ship to app store", "live updates / OTA", "Capgo".

License 许可
MIT
最近更新
2026-11-06
Stars
★ 4
Forks
0

01 前言 Front Matter

name
capacitor-ios
description
Phased super-skill that turns a web app (improvebayarea.com or any Cloudflare Workers / SPA / PWA site) into a store-ready native iOS app with Capacitor — end to end. Use when the user wants to "make this an iOS app", "wrap the site", "ship improvebayarea to the App Store", add camera/geolocation/push to a web app, set up live web updates without App Store resubmission, build/run/test the app on the iOS Simulator, or asks how the web↔app update loop works. Detects the active phase and loads only that phase's reference file, the way /code loads only the relevant mode. Orchestrates the installed Capgo 48 capacitor-skills, awesome-ionic-mcp, XcodeBuildMCP + /xcode-test, /ios-ship (greenlight + privacy manifest), context7, sosumi, app-store-screenshots and aso-audit. Triggers: "capacitor", "wrap web app", "make it an iOS app", "ship to app store", "live updates / OTA", "Capgo".

02 资源文件 5

03 SKILL.md 正文

capacitor-ios — web app → store-ready iOS app (phased super-skill)

The one skill for taking a web app to the App Store with Capacitor. It does not reinvent Capacitor knowledge — like /code, it detects the phase, loads only that phase's reference file, routes to the specialized skills/MCP that hold the detail, and enforces two non-negotiable gates.

Philosophy

  1. Reuse, don't rewrite. For an existing site, Capacitor wraps it (~90% as-is). Expo = rewrite — only if the user explicitly wants a native-UI rewrite.
  2. Two change-types, two ship-paths. Classify every change as web-layer or native-shell before touching anything (GATE 1). Getting this wrong = needless App Store resubmits or shipping a native change as if it were web.
  3. Prove it runs before you gate; gate before you submit. Build + launch + screenshot on the Simulator (Phase D) → greenlight + privacy manifest (GATE 2) → only then /ios-ship.
  4. Earn the right to be an app. A bare WebView wrapper is rejected (Apple 4.2). Native features (camera/geolocation/push) are what make it an app, not a bookmark.
  5. Outward actions need approval + live verification. TestFlight, App Store submit, signing, OTA pushes — show the user exactly what will happen, verify against live state, get explicit chat approval.
  6. Pull, don't guess. Load the relevant Capgo skill, fetch live docs via context7/sosumi, drive the CLI via the MCP. Never assert an Apple-policy fact from memory.

⛓️ GATE 1 — Update-flow rule (MANDATORY — applies to every change request)

Classify the change FIRST and state which path you're taking:

Change type Examples How users get it Resubmit to App Store?
Web layer HTML/CSS/JS, content, pages, client logic, copy, styling Deploy to Workers (live URL) or push a Capgo OTA bundle → instant NO
Native shell capacitor.config.*, native plugins, permissions / Info.plist, icon/splash, min iOS, native Swift, privacy manifest New build → GATE 2 → /ios-ship YES

Why web-layer is OTA-legal: Apple permits downloading/running interpreted JS that doesn't change the app's primary purpose or add a storefront, via Apple's JS engine. Capgo OTA + a live-URL WebView both rely on this. Re-verify the current guideline at submission via the capgo-release-workflows skill + Apple's guidelines — never assert a guideline number from memory. Detail: references/ota-updates.md.

🚦 GATE 2 — Ship gate (MANDATORY — before ANY archive/submission)

This skill never submits on its own. Before handing to /ios-ship:

  1. Build + smoke-test on Simulator (Phase D) — must launch and run, no crash in logs.
  2. greenlight preflight . → must be GREENLIT (0 CRITICAL). Re-run until clean.
  3. Privacy manifest — PrivacyInfo.xcprivacy present + correct (greenlight privacy .); Required-Reason API codes per Apple TN3183; no fabricated tracking/data-collection declarations.
  4. Only when all green → /ios-ship for sign/archive/TestFlight/submit, with chat approval.

Detail: references/build-test-gate.md.


Phase routing — detect the phase, load ONLY that reference file

Phase Trigger / intent Load Pulls
A — Wrap "make it an app", first-time setup, scaffold, point at the site references/wrap-and-native.md webapp-to-capacitor skill · awesome-ionic-mcp · CocoaPods · Trapeze
B — Native features add camera / geolocation / push; clear Apple 4.2 references/wrap-and-native.md capacitor-features/-ui skills · awesome-ionic-mcp
C — OTA live updates Capgo setup, "live updates", "update without App Store" references/ota-updates.md capgo-release-workflows/capgo-cloud skills · Capgo CLI
D — Build / test / gate build, run on sim, screenshot, "does it work", pre-submit gate references/build-test-gate.md XcodeBuildMCP · /xcode-test · xcbeautify · greenlight
E — Ship sign, archive, TestFlight, submit, store listing references/ship-and-store.md /ios-ship · asc · app-store-screenshots · aso-audit
F — Update loop steady-state change after launch references/ota-updates.md + GATE 1 classify → Workers/Capgo or rebuild
(any) — exact tool/command "what's installed", exact MCP tool name, CLI invocation references/tooling-map.md verified inventory

Default end-to-end run = A → B → C → D (+ GATE 2) → E → then F forever. For an existing site, the Capacitor-vs-Expo decision is settled: Capacitor (ref report ~/Downloads/capacitor-vs-expo-agent-tooling-2026-06-03.html).


Tooling (summary — full inventory + exact commands in references/tooling-map.md)

  • Skills: Capgo capacitor-skills (48, both agents) · /ios-ship (+ asc-*) · app-store-screenshots · aso-audit.
  • MCP (✓ connected): xcodebuildmcp (build/run/screenshot/logs on sim, 63 tools) · awesome-ionic-mcp (Capacitor CLI + plugin docs) · context7 (live docs) · sosumi (Apple docs) · chrome-devtools (debug the web layer in the WebView).
  • CLIs: pod (CocoaPods 1.16.2) · xcbeautify 3.2.1 · greenlight · asc · npx @capgo/cli (OTA) · npx @trapezedev/configure (YAML native config) · npx cap (Capacitor).
  • Command: /xcode-test [scheme] — turn-key build→install→launch→screenshot→log-scan→human-verify loop on XcodeBuildMCP.

Hard rules

  • A WebView must not feel like a website (Apple 4.2 is the policy version of this; the user's thumb is the real judge). Before Phase D's smoke test, apply Skill(mobile-native)'s Baseline to the web layer — -webkit-tap-highlight-color: transparent, hover rules behind @media (hover: hover) and (pointer: fine), 100dvh/100svh not 100vh, 16px inputs (never maximum-scale=1), touch-action: manipulation + user-select: none on controls, viewport-fit=cover + env(safe-area-inset-*), overscroll-behavior, theme-color per color scheme. It is a web-layer change (GATE 1: OTA path). Sheets, drags, and springs that should feel native: Skill(apple-design); motion review before done: Skill(review-animations). None of these tells reproduce in desktop emulation — confirm on the device in Phase D.
  • No outward Apple/Capgo action without explicit chat approval — submit, TestFlight, signing change, OTA push. Show exactly what will happen first.
  • Accounts are the user's — the agent never creates an Apple Developer or Capgo account. Prompt the user to sign in (asc auth login, Capgo) at the relevant phase.
  • Ground-truth gate: before asserting an Apple/Capgo policy fact or taking an outward action, verify against a primary source fetched now (sosumi / capgo skill / context7), never a remembered value. Full standard: ~/.claude/skills/shared/ground-truth-standard.md.
  • No-lie reporting: "built / runs / GREENLIT / submitted" must each cite the command + result that proves it (build exit + BUILD SUCCEEDED, greenlight output, asc confirmation). Don't report the state of your action; report the state of the world after it.

Quick start

"Use capacitor-ios to wrap improvebayarea.com with photo + location reporting, set up Capgo live updates, build + test it on the simulator, and run the ship gate."

Run A→B→C→D(+GATE 2)→E. After launch, every change goes through GATE 1 first.

04 同仓库更多 Skills

barkleesanders
barkleesanders/claude-code-starter

zi-search

暂无简介

★ 4
barkleesanders
barkleesanders/claude-code-starter

visualise

Render inline interactive visuals — SVG diagrams, HTML widgets, charts, and explainers — directly in the conversation. Use this skill whenever the user asks to visualize, diagram, chart, illustrate, or explain something visually, or when an explanation would genuinely benefit from a spatial/interactive diagram rather than text. Also triggers for: flowcharts, architecture diagrams, data visualizations, interactive explainers, comparison layouts, UI mockups, and any request containing 'show me', 'draw', 'map out', 'visualize', or 'diagram'. Even when the user doesn't explicitly ask for a visual, use this skill proactively when the topic has spatial, sequential, or systemic relationships that a diagram would clarify better than prose.

★ 4
barkleesanders
barkleesanders/claude-code-starter

video

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Runway,' 'Kling,' 'Pika,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social-content. For paid video ad creative, see ad-creative.

★ 4
barkleesanders
barkleesanders/claude-code-starter

manim-video

Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric/mathematical content.

★ 4
barkleesanders
barkleesanders/claude-code-starter

video-use

Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.

★ 4
barkleesanders
barkleesanders/claude-code-starter

ui-improver

暂无简介

★ 4