# Build Firebase Projects

Firebase projects can become hard to structure, test, and secure as features grow. This skill guides setup, feature work, debugging, and validation with clear emulator-first workflows.

## Install

```bash
npx skillstore add 2389-research/firebase-development
```

## Metadata

- - Slug: 2389-research-firebase-development
- - Version: 1.0.0
- - Author: 2389-research
- - GitHub username: 2389-research
- - License: MIT
- - Repository: https://github.com/2389-research/claude-plugins/tree/main/firebase-development/skills
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: medium
- - Risk factors: external\_commands, network, filesystem, env\_access
- - Quality score: 50
- - Quality tier: warning
- - Public page: https://skillstore.pages.dev/skills/2389-research-firebase-development
- - Manifest: https://skillstore.pages.dev/api/skills/2389-research-firebase-development/manifest

## Capabilities

- Routes Firebase requests to setup, feature, debug, or validation workflows.
- Guides Firebase CLI setup, hosting choices, emulator configuration, and initial project structure.
- Provides test-first steps for adding Cloud Functions, endpoints, and Firestore collections.
- Troubleshoots emulator, Firestore rules, authentication, function, and deployment issues.
- Reviews Firebase configuration, Firestore rules, authentication patterns, tests, and production readiness.
- Promotes TypeScript, Vitest, Biome, ABOUTME comments, and consistent handler responses.

## Use Cases

- Initialize a Firebase App: Set up Firebase hosting, functions, Firestore, emulators, TypeScript, tests, and project structure from a new repository.
- Add a Secure Feature: Create a Cloud Function, API endpoint, or Firestore collection with tests, authentication checks, rules, and emulator verification.
- Review Before Release: Check Firebase configuration, rules, authentication, test coverage, and deployment readiness before production changes.

## Prompt Templates

### Start a New Firebase Project

```
Use the firebase-development skill to set up a new Firebase project with Firestore, Cloud Functions, Hosting, TypeScript, and emulators.
```

### Add a Firestore Feature

```
Use the firebase-development add-feature workflow to add a new Firestore collection with rules, tests, and emulator verification.
```

### Debug an Emulator Problem

```
Use the firebase-development debug workflow to investigate why my Firebase emulators fail to start or return permission errors.
```

### Audit Production Readiness

```
Use the firebase-development validate workflow to review my Firebase project for security rules, auth checks, testing, and deployment readiness.
```

## Limitations

- It is guidance only and depends on the assistant executing commands in the user workspace.
- It references local production project paths that may not exist for other users.
- It does not include the referenced docs/examples files in this package.
- It may ask to inspect environment files during debugging, so users should redact secrets first.

## Best Practices

- Run Firebase workflows in a clean project workspace and review command effects before execution.
- Use emulators and tests before deploying functions, rules, hosting, or authentication changes.
- Redact secrets before sharing \`.env\`, debug logs, or Firebase configuration with any assistant.

## Anti Patterns

- Do not run setup or debug commands in the wrong repository or Firebase project.
- Do not expose production API keys, service credentials, or environment files in chat context.
- Do not deploy before emulator tests, Firestore rules checks, and build validation pass.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-06-27T15:22:57.938\+00:00
- - Summary: Static analysis reported many high-risk patterns, but review shows most are Markdown examples, inline code formatting, local Firebase emulator URLs, and normal developer commands. No prompt injection or malicious exfiltration intent was found. The skill still carries medium risk because it instructs assistants to run shell commands and inspect environment files during Firebase debugging.

## Stats

- - Views: 431
- - Downloads: 8
- - Favorites: 0
- - Popularity score: 0
