agentsclimarketplace

Firebase cloud functions

Skill GDvega/super-android-kotlin-firebase-skill/skills/firebase-cloud-functions

A modular Agent Skills repository for Android, Kotlin, Jetpack Compose and Firebase development.

Install
npx -y skills add GDvega/super-android-kotlin-firebase-skill --skill firebase-cloud-functions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use for Firebase Cloud Functions callable functions, HTTP functions, triggers, server-side validation, security, deployment and local testing.

SKILL.md

2.7 KB, as published. Nobody here has run it

Purpose

Move privileged or trusted logic server-side while keeping Android clients simple.

When to use

  • Adding callable or HTTP functions.
  • Adding Firestore/Auth triggers.
  • Validating operations that rules cannot express.
  • Testing functions locally.

Inputs to inspect

  • Use case and trust boundary.
  • Input schema and auth/role requirements.
  • Runtime, region and emulator setup.
  • Android caller contract.

Required workflow

  1. Choose callable, HTTP or trigger based on caller and event source.
  2. Define input/output and error contract.
  3. Validate auth, roles and data server-side.
  4. Test locally with Emulator Suite.
  5. Document deploy command and rollback risk.

Rules

  • Do not use functions as an insecure bypass.
  • Validate every input.
  • Do not log secrets or sensitive payloads.
  • Make idempotency explicit for triggers.
  • Control region and cost implications.

Related existing skills

Local skills to invoke

  • firebase-core
  • firestore
  • security-privacy
  • firebase-emulator-ci
  • testing

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

  • functions/src/*
  • firebase.json
  • firestore.rules
  • Android repository/service caller
  • function tests

Commands to validate

npm test
firebase emulators:start --only functions,firestore
firebase emulators:exec "npm test"
firebase deploy --only functions:<name>

Common mistakes to avoid

  • No auth checks.
  • Returning inconsistent error shapes.
  • Deploying without emulator test.
  • Creating duplicate writes from non-idempotent triggers.

Checklist

  • Auth checked.
  • Input validated.
  • Errors typed.
  • Emulator tested.
  • Deploy command documented.

Example prompts

  • Use $super-android-kotlin-firebase to create a callable invite validation function.
  • Use $super-android-kotlin-firebase to review this Firestore trigger.

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/functions-validation-and-emulator.md
  • templates/cloud-functions-template.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.