Agent skill · software engineering · aiskillstore
firebase-development-add-feature
This skill should be used when adding features to existing Firebase projects. Triggers on "add function", "create endpoint", "new tool", "add api", "new collection", "implement", "build feature". Guides TDD workflow with test-first development, security rules, and emulator verification.
Why this skill is useful
Provides specific TDD workflows and code patterns for adding features in Firebase that the AI wouldn't reliably generate on its own.
What it needs
Requires firebase-tools installed locally. Requires firebase account access. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Firebase Add Feature Overview This sub-skill guides adding new features to existing Firebase projects using TDD. It handles Cloud Functions, Firestore collections, and API endpoints. Key principles: Write tests FIRST (TDD requirement) Use {success, message, data?} response pattern Every file starts with ABOUTME comments Verify with emulators before claiming done When This Sub-Skill Applies Adding a new Cloud Function Creating a new Firestore collection with rules Adding an API endpoint to Express app User says: "add function", "create endpoint", "new collection", "implement" Do not use for: Initial project setup → firebase-development:project-setup Debugging → firebase-development:debug Code review → firebase-development:validate TodoWrite Workflow Create checklist with these 12 steps: Step 1: Identify Feature Type Determine what's being added: HTTP Endpoint - API route (GET/POST/etc.) Firestore Trigger - Runs on document changes Scheduled Function - Cron job Callable Function - Client SDK calls New Collection - Firestore collection with rules Step 2: Check Existing Architecture Examine the project to understand patterns: Determine: Architecture style, auth method, security model. Reference: docs/examples/express-function-architecture.md Step 3: Write Failing Test First (TDD) Create test file before implementation: Run test to confirm it fails: npm run test Step 4: Create Function File with ABOUTME Create implementation file: Reference: docs/examples/express-function-architecture.md Step 5: Add Firestore Security Rules Update firestore.rules for new collections: Server-write-only (preferred): Client-write (if needed): Reference: docs/examples/firestore-rules-patterns.md Step 6: Update Indexes if Needed Add to firestore.indexes.json for complex queries: Skip if no complex queries (single-field indexes are automatic). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/firebase-development-add-feature