furkantokkan/agent-foundry/firebase-game-backend
Claude Code and agent skill by furkantokkan/agent-foundry
- community
Checking that the SKILL.md file is still in the repository.
Use for Firebase-backed game features in Unity or JavaScript, including Auth, Firestore, Realtime Database, Cloud Functions Gen2 with Express APIs, typed Unity request/response clients, Remote Config, App Check, security rules, emulators, deployment, and client/server boundaries.
Install
npx vskill@latest install furkantokkan/agent-foundry/firebase-game-backendSKILL.md
The same SKILL.md was published earlier as furkantokkan/agent-foundry/firebase-game-backend.
Firebase Game Backend
Use this skill for Firebase features that support a Unity game, web dashboard, companion app, or JavaScript service.
First Read
Inspect whichever files exist:
firebase.json.firebasercfirestore.rulesfirestore.indexes.jsonstorage.rulesfunctions/package.jsonfunctions/src/orfunctions/index.js- Web app Firebase config files
- Unity Firebase wrapper code under
Assets/
Core Rules
- Client SDKs are untrusted. Security rules and Cloud Functions enforce policy.
- Do not put privileged operations in Unity or browser code.
- Keep Firestore rules restrictive by default.
- Rules are not filters: queries must match the rule constraints.
- Use Firebase Auth UID as the primary ownership boundary.
- Validate writes in security rules and again in trusted server code.
- Use Cloud Functions or another trusted backend for economy mutations,
anti-cheat-sensitive rewards, purchases, inventory grants, and leaderboards.
- Use Firebase Emulator Suite for rules and function testing when available.
- Keep Firebase code behind interfaces in Unity.
- For this game backend style, prefer Firebase Functions Gen2 with JavaScript
and Express.js HTTP routes. Unity should call those routes through typed request/response client wrappers, not by scattering raw HTTP calls through gameplay code.
- New or changed game API behavior needs focused unit tests for the expected
success path and important failure paths. Emulator/Newman coverage complements handler unit tests; it does not replace them.
Workflow
- Identify the feature: auth, save, leaderboard, inventory, economy, matchmaking,
remote config, analytics, storage, or admin tooling.
- Decide which operations are safe on the client and which require trusted code.
- Check data model, indexes, rules, and Cloud Functions together.
- Add unit tests for expected behavior when changing routes, authorization,
validation, response contracts, or write behavior.
- For Unity, expose Firebase through game-facing interfaces.
- For JavaScript, use the modular Web SDK for browser code and Admin SDK only
in trusted server environments.
- For Functions HTTP APIs, keep Express routing, request validation, auth/App
Check guards, response envelopes, and Unity DTO alignment together.
Reference Loading
- Data modeling and products:
references/firebase-stack.md - Functions Gen2 + Express + Unity request/response:
references/functions-express-unity.md
- Security rules:
references/security-rules.md - Unity integration:
references/unity-firebase.md
Official docs to verify current setup details:
- Unity SDK: https://firebase.google.com/docs/unity/setup
- Web SDK: https://firebase.google.com/docs/web/setup
- Security Rules: https://firebase.google.com/docs/rules/
- Firestore Rules: https://firebase.google.com/docs/firestore/security/get-started
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/agent-foundry/skills/firebase-game-backend/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/furkantokkan/agent-foundry/firebase-game-backend)