cmp-firebase-connectlisted
Install: claude install-skill kvdm-co-pilot/create-cmp
# cmp-firebase-connect — add Firebase to a stamped CMP app and wire it to its own project
Your job: take a CMP app `create-cmp` stamped — which carries **no Firebase** — add Firebase with
`create-cmp add firebase`, and connect it to a **real Firebase project on the user's account**,
using the Firebase CLI — no console clicking for anything the CLI can do. You finish by proving
the wiring with a green build.
> **The code edits are a program's, not yours.** `create-cmp add firebase` adds the GitLive SDK,
> the google-services plugin, the debug-build emulator redirect and the config file, and refuses
> by name when the app's shape is one it does not recognise. Never hand-edit Gradle, the catalog or
> the entry points to wire Firebase; if the step refuses, report its message to the user.
> **Consent rule.** Every command that creates or mutates a cloud resource on the user's Google
> account (`projects:create`, `apps:create`, `firestore:databases:create`, `apps:android:sha:create`)
> is shown to the user **verbatim first** and run only after an explicit yes. Read-only commands
> (`--version`, `login:list`, `projects:list`, `apps:list`, `apps:sdkconfig`, `firestore:locations`,
> `--help`) need no gate. Never batch a mutation behind a read.
> **Cost honesty.** A fresh Firebase project starts on the **Spark (free)** plan. Nothing in this
> flow enables billing, attaches a card, or upgrades to Blaze — and the CLI *cannot* silently do so.
> Auth (email/phone within free quota), Fi