api-firebase-firestore
Installation
SKILL.md
Cloud Firestore
Purpose
Leverage Cloud Firestore for a flexible, scalable NoSQL database. This skill covers data structure best practices, real-time listeners, and performing CRUD operations.
Usage
1. Add Data
import { doc, setDoc } from "firebase/firestore";
await setDoc(doc(db, "cities", "LA"), {
name: "Los Angeles",
state: "CA",
country: "USA"
});