Loading...
Loading...
This skill should be used when working with Firebase projects, including initializing projects, adding Cloud Functions or Firestore collections, debugging emulator issues, or reviewing Firebase code. Triggers on "firebase", "firestore", "cloud functions", "emulator", "firebase auth", "deploy to firebase", "firestore rules".
npx skill4agent add neversight/skills_feed firebase-developmentfirebase-development:project-setupfirebase-development:add-featurefirebase-development:debugfirebase-development:validateQuestion: "What Firebase task are you working on?"
Options:
- "Project Setup" (Initialize new Firebase project)
- "Add Feature" (Add functions, collections, endpoints)
- "Debug Issue" (Troubleshoot errors or problems)
- "Validate Code" (Review against patterns)| Project | Path | Key Patterns |
|---|---|---|
| oneonone | | Express API, custom API keys, server-write-only |
| bot-socialmedia | | Domain-grouped functions, Firebase Auth + roles |
| meme-rodeo | | Individual function files, entitlements |
| Option | When to Use | Key Feature |
|---|---|---|
| Multiple independent URLs | Simple, no build coordination |
| Need predeploy hooks | Build scripts run automatically |
| Single + rewrites | Smaller projects | All under one domain |
docs/examples/multi-hosting-setup.md| Pattern | When to Use | Example |
|---|---|---|
| Custom API keys | MCP tools, server-to-server | oneonone |
| Firebase Auth + roles | User-facing apps | bot-socialmedia |
| Hybrid | Both patterns needed | Web UI + API access |
docs/examples/api-key-authentication.md| Pattern | When to Use | Structure |
|---|---|---|
| Express app | API with middleware, routing | |
| Domain-grouped | Feature-rich apps | |
| Individual files | Maximum modularity | One function per file |
docs/examples/express-function-architecture.md| Model | When to Use | Complexity |
|---|---|---|
| Server-write-only | Light-write apps, high security | Simple rules |
| Client-write + validation | High-volume writes, real-time | Complex rules |
docs/examples/firestore-rules-patterns.mdfirebase emulators:start
# Access UI at http://127.0.0.1:4000singleProjectMode: trueui.enabled: truedocs/examples/emulator-workflow.md| Tool | Purpose | Config File |
|---|---|---|
| TypeScript | Type safety | |
| vitest | Testing | |
| biome | Linting + formatting | |
// ABOUTME: Brief description of what this file does
// ABOUTME: Second line with additional context| Issue | Solution |
|---|---|
| Emulator ports in use | |
| Admin SDK vs Client SDK | Admin bypasses rules, client respects rules |
| Cold start delays | First call takes 5-10s, normal |
| Data persistence | Use Ctrl+C (not kill) to export data |
| CORS in functions | |
docs/examples/firebase-development:project-setupfirebase-development:add-featurefirebase-development:debugfirebase-development:validate