firebase
Installation
SKILL.md
/firebase
Connect to Firebase and Google Cloud APIs to manage projects, Firestore databases, Authentication users and Hosting deployments. Pure Ruby, zero gems — stdlib only (json, net/http, uri, openssl, base64, fileutils).
Structure
scripts/
├── auth.rb # JWT-based OAuth2 + firebase_request helper (required by all scripts)
├── check_setup.rb # Check if service account JSON exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Copy a service account JSON file to the config directory
├── projects.rb # List Firebase projects
├── firestore_collections.rb # List top-level Firestore collections
├── firestore_documents.rb # List documents in a Firestore collection
├── firestore_document.rb # Get a single Firestore document
├── auth_users.rb # List Firebase Auth users (requires confirmation — contains PII)
├── hosting_sites.rb # List Hosting sites for a project
└── hosting_releases.rb # List releases for a Hosting site