firebase
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. I
How to use
Zainstaluj skill Firebase w swoim projekcie Claude lub Codex, wskazując repozytorium davila7/claude-code-templates. Skill będzie dostępny jako zestaw wzorców i praktyk dla Firebase.
Zanim zaczniesz pisać kod, przejrzyj sekcję Security Rules Design – zdefiniuj reguły bezpieczeństwa dla swojej bazy danych. To jest kluczowe, aby uniknąć nieautoryzowanego dostępu do danych.
Zaprojektuj strukturę danych Firestore wokół rzeczywistych zapytań, które będziesz wykonywać. Skill podpowie ci, jak denormalizować dane, aby uniknąć limitów zapytań Firestore – nie projektuj jak relacyjną bazę SQL.
Korzystając z Modular SDK Import, importuj tylko moduły, które potrzebujesz (auth, firestore, functions, storage, hosting). To zmniejszy rozmiar bundla aplikacji.
Unikaj anti-patternów: nie pomijaj reguł bezpieczeństwa, nie wykonuj operacji admin z klienta, i nie attachuj słuchaczy do dużych kolekcji – to może spowodować nieoczekiwane koszty.
Testuj konfigurację lokalnie za pomocą Firebase Emulators przed wdrożeniem na produkcję.