firebase-cloud-functions
Skill2 starsChanged 5 months agoMITView on GitHub
Use for Firebase Cloud Functions callable functions, HTTP functions, triggers, server-side validation, security, deployment and local testing.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- evanca/flutter-ai-rulestheir own version, first seen Aug 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- evanca/flutter-ai-rules★ 646same 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 repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- super-android-kotlin-firebaseSkill
- accessibilitySkill
- agp9-kotlin-migrationSkill
- android-architectureSkill
- android-coreSkill
- android-navigation-3Skill
- code-review-refactorSkill
- compose-contextual-design-systemSkill
- compose-performanceSkill
- context-aware-ui-designSkill
- debuggingSkill
- dependency-injectionSkill
- dependency-upgrade-safetySkill
- design-test-gateSkill
- edge-to-edge-adaptive-uiSkill
- firebase-ai-logicSkill
- firebase-authSkill
- firebase-coreSkill
- firebase-crashlytics-analyticsSkill
- firebase-emulator-ciSkill
- firebase-messagingSkill
- firestore-costs-quotasSkill
- firestoreSkill
- gradle-buildSkill
- jetpack-composeSkill
- kotlin-coreSkill
- macrobenchmark-baseline-profilesSkill
- networking-retrofit-ktorSkill
- play-store-releaseSkill
- r8-proguard-optimizationSkill
- room-datastoreSkill
- screen-ux-auditSkill
- security-privacySkill
- testingSkill
- ui-state-designSkill
- workmanager-background-syncSkill
- xml-to-compose-migrationSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use case and trust boundary.
- Distinctive: line 29
Test locally with Emulator Suite.
- Distinctive: line 30
Document deploy command and rollback risk.
- Distinctive: line 34
Do not use functions as an insecure bypass.
- Distinctive: line 36
Do not log secrets or sensitive payloads.
- Distinctive: line 52
Do not assume these companion skills are installed.
- Distinctive: line 90
Use $super-android-kotlin-firebase to create a callable invite validation function.
- Distinctive: line 91
Use $super-android-kotlin-firebase to review this Firestore trigger.
≈ “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.
Files
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
- Choose callable, HTTP or trigger based on caller and event source.
- Define input/output and error contract.
- Validate auth, roles and data server-side.
- Test locally with Emulator Suite.
- 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.jsonfirestore.rulesAndroid repository/service callerfunction 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
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.

