Skip to content

aktonay/skillz / skills/cloud/firebase-basics

firebase-basics

Verified

Use this skill whenever you are working on a project that uses Firebase products or services, especially for mobile or web apps.

references/iac-usage.md

View on GitHub
# Firebase IaC usage

Firebase resources can be provisioned using Infrastructure as Code (IaC) tools,
like Terraform.

## Terraform configuration

Use the `google` or `google-beta` providers to manage Firebase resources.

### Example: Firebase project setup

```hcl
resource "google_firebase_project" "default" {
 provider = google-beta
 project  = "user-defined-project-id"
}

resource "google_firebase_web_app" "default" {
 provider     = google-beta
 project      = google_firebase_project.default.project
 display_name = "user-defined-display-name"
}
```

### Supported Terraform resources

Here are some common Terraform resources for Firebase:

- `google_firebase_project`: Enable Firebase services on an existing
  Google Cloud project.
- `google_identity_platform_config`: Set up Firebase Authentication.
- `google_firestore_database`: Provision a Firestore database.
  Always set `type = "FIRESTORE_NATIVE"`.
- `google_firebaserules_ruleset`: Define Firebase Security Rules to protect
  Firestore data or Cloud Storage for Firebase data.
- `google_firebaserules_release`: Deploy Firebase Security Rules rulesets for
  Firestore or for Cloud Storage for Firebase.

For a complete list of Terraform resources, and details about Terraform and
Firebase, see: https://firebase.google.com/docs/projects/terraform/get-started
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall