firebase
Skill1 starsChanged 7 months agoMITView on GitHub
Use when user references Firebase, console.firebase.google.com URLs, *.firebaseapp.com, *.web.app links, or asks for Remote-Config/App-Distribution/Crashlytics-dSYM/Cloud-Functions/Hosting ops. Multi-project via FIREBASE_PROFILE.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- LDKTC/Agent-P-FullStacktheir own version, first seen Jul 31, 2026
- alinaqi/maggytheir own version, first seen Jun 12, 2026
- Fandry96/k3-agentic-skillstheir own version, first seen May 12, 2026
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
- piyushverma0/android-agent-skillstheir own version, first seen Mar 14, 2026
- alanalvestech/hitanktheir own version, first seen Mar 5, 2026
Used with
Projects with it also use supabase.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillsupabase
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector).
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- alinaqi/maggy★ 707same name
- alanalvestech/hitank★ 38same name
- Fandry96/k3-agentic-skills★ 27same name
- piyushverma0/android-agent-skills★ 15same name
- xfstudio/skills★ 9same name
- ai4brands-design/claude-skills★ 2same name
- LDKTC/Agent-P-FullStack★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- azure-devopsSkill
- fastlaneSkill
- herokuSkill
- k6Skill
- linearSkill
- maestroSkill
- postgresSkill
- profiles-and-credentialsSkill
- rails-securitySkill
- react-nativeSkill
- rspecSkill
- sentrySkill
- shopifySkill
- slackSkill
- trelloSkill
- xlsx-testcasesSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
Don't use default SA — create dedicated with only needed roles (e.g., Firebase App Distribution Admin for beta only)
- Very specific: line 108
Least privilege roles: avoid Owner/Editor for automation.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/firebase — Firebase CLI (multi-project)
Wraps firebase CLI with profile-based project switching. Each profile pins
project ID + service account JSON + default app IDs. Profile resolution:
--profile → FIREBASE_PROFILE → ~/.firebase/active_profile → [default].
Overview
Profile-based project switching, so commands target the right env without
explicit flags. Service Account auth (least privilege per env), never
firebase login token (which carries Owner role).
When to Use
- Push Remote Config (rollouts to production users)
- Distribute beta builds via App Distribution (testers groups)
- Upload Crashlytics dSYM / Proguard mapping (mandatory for readable prod stacks)
- Deploy Cloud Functions, manage Hosting channels (preview URLs)
When NOT to Use
- Firebase web/mobile client SDK → that's the SDK in your app, not this skill
- Firestore data ops → use Firestore SDK or Admin SDK in code
- Auth flows → SDK in app, not CLI
- Project setup / billing → Firebase Console UI
Profile config
~/.firebase/credentials (mode 600):
[default]
project_id = my-app-dev
service_account = /Users/me/.firebase-keys/dev-sa.json
ios_app_id = 1:123456789012:ios:abc123
android_app_id = 1:123456789012:android:def456
[prod]
project_id = my-app-prod
service_account = /Users/me/.firebase-keys/prod-sa.json
ios_app_id = 1:222222222222:ios:zzz
android_app_id = 1:222222222222:android:www
require_confirm = trueGet SA key (least privilege):
- Firebase Console → ⚙ Project Settings → Service Accounts
- Generate new private key → download JSON
- Don't use default SA — create dedicated with only needed roles
(e.g.,
Firebase App Distribution Adminfor beta only) - Save to
~/.firebase-keys/<env>-sa.json,chmod 600
Why SA over firebase login: SA scoped to roles, revocable, no human
auth flow. CI/automation always uses SA. firebase login writes a token
with full user permissions (often Owner role).
Helpers
Shared profile/INI/
ctt_*pattern reference: profiles-and-credentials.
source "$HOME/.claude-team-toolkit/lib/credentials.sh"
source "$HOME/.claude-team-toolkit/lib/confirm.sh"
ctt_load_creds firebase "$PROFILE"firebase_run() wrapper and full dispatch implementations live in
recipes.md — load when user invokes a specific verb.
| Verb area | Mutating? | Confirm |
projects, apps, current | no | — |
rc-get | no | — |
rc-set, rc-rollback | yes | typed PUSH / ROLLBACK |
dist-upload, dist-testers add|remove | yes | ctt_audit_log |
crashlytics:symbols:upload, crashlytics:mappingfile:upload | additive | — |
fn-deploy | yes | ctt_confirm if profile require_confirm |
hosting deploy, hosting channel:deploy | yes | ctt_audit_log |
Reference files (load on demand)
recipes.md— full firebase CLI invocations for every verb above (Remote Config push/rollback, App Distribution upload + tester management, Crashlytics symbol upload, Functions deploy + logs, Hosting deploy + preview channels). Load when user invokes a specific dispatch verb.
Common Mistakes
- Using default service account → over-privileged. Create dedicated SA per role.
- Forgetting dSYM upload → crash stacks unreadable in prod
firebase logintoken instead of SA → has Owner role, blast radius huge- Wrong project (default vs prod) → check
--projectresolves correctly - 401/403 → SA missing role; check IAM in GCP console
- Pushing Remote Config without checking current live version first → unintended user impact
Safety
- SA JSON is the most powerful credential — never commit.
chmod 600. - Per-environment SA — dev/staging/prod must be SEPARATE SAs.
- Least privilege roles: avoid
Owner/Editorfor automation. Beta dist only →Firebase App Distribution Admin. RC only →Firebase Remote Config Admin. require_confirm=trueon prod profiles for every deploy.- dSYM/mapping uploads non-destructive — safe to automate.
- Functions delete intentionally not in skill — use Console (forces conscious action).
- 401/403 → SA missing role; check IAM in GCP console.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

