agentleFS
GDvegaGDvega/super-android-kotlin-firebase-skill/skills/firebase-core/SKILL.md

firebase-core

Skill2 starsChanged 5 months agoMITView on GitHub

Use for Firebase Android setup, google-services files, Firebase BoM, Gradle plugins, Emulator Suite, dev/staging/prod environments, Storage, Realtime Database, Remote Config and AI Logic foundations.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add the minimum SDKs/plugins.

    line 28
  2. Distinctive:

    Run Android build and document manual Firebase console steps.

    line 30
  3. Distinctive:

    Do not ask for private service accounts or production secrets.

    line 34
  4. Distinctive:

    Do not ship open rules.

    line 36
  5. Distinctive:

    Use Emulator Suite for rules/functions when available.

    line 37
  6. Distinctive:

    Consider costs and quotas for realtime listeners and storage.

    line 38
  7. Distinctive:

    Do not assume these companion skills are installed.

    line 52
  8. Distinctive:

    Use $super-android-kotlin-firebase to add Firebase Auth and Firestore safely.

    line 93
  9. Very specific:

    Use $super-android-kotlin-firebase to review my Firebase setup for dev/staging/prod.

    line 94

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Purpose

Set up Firebase products safely and consistently in Android apps.

When to use

  • Adding Firebase to an Android app.
  • Fixing Firebase Gradle or google-services setup.
  • Separating environments.
  • Configuring Emulator Suite, Storage, Realtime Database, Remote Config or AI Logic.

Inputs to inspect

  • Firebase products required.
  • Gradle files and version catalog.
  • google-services policy and environments.
  • Existing rules and emulator config.

Required workflow

  1. Identify required Firebase products and environments.
  2. Review Gradle and BoM setup.
  3. Add the minimum SDKs/plugins.
  4. Plan rules and Emulator Suite validation.
  5. Run Android build and document manual Firebase console steps.

Rules

  • Do not ask for private service accounts or production secrets.
  • Separate dev/staging/prod projects when possible.
  • Do not ship open rules.
  • Use Emulator Suite for rules/functions when available.
  • Consider costs and quotas for realtime listeners and storage.

Related existing skills

Local skills to invoke

  • gradle-build
  • security-privacy
  • firebase-emulator-ci
  • firestore
  • firebase-auth

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • firebase/agent-skills — use for deeper Firebase product, Firestore, Security Rules or emulator workflow guidance when installed.

Files commonly touched

  • app/build.gradle.kts
  • settings.gradle.kts
  • gradle/libs.versions.toml
  • google-services.json policy docs
  • firebase.json
  • firestore.rules
  • database.rules.json
  • storage.rules

Commands to validate

./gradlew assembleDebug
firebase emulators:start
firebase emulators:exec "npm test"
firebase deploy --only <target>

Common mistakes to avoid

  • Committing service accounts.
  • Mixing dev and prod Firebase projects.
  • Using allow read, write: if true in production.
  • Ignoring Storage/Realtime Database rules.

Checklist

  • BoM configured.
  • Environments separated.
  • Rules planned.
  • Emulator path known.
  • Secrets not committed.

Example prompts

  • Use $super-android-kotlin-firebase to add Firebase Auth and Firestore safely.
  • Use $super-android-kotlin-firebase to review my Firebase setup for dev/staging/prod.

Expected response style

Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.

References

  • ../../docs/audits/FUENTES_LOCALES.md
  • references/firebase-setup-android.md
  • templates/firebase-product-setup-template.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.