firestore-data

Perform type-safe Firestore document CRUD operations and collection hierarchy exploration.

19|3|Updated May 17, 2026
One-click install
npx skills add https://github.com/cline/skills --skill firestore-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firestore-data
Source: https://github.com/cline/skills/tree/main/skills/firestore-data
Command: npx skills add https://github.com/cline/skills --skill firestore-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manual Firestore NoSQL document operations require strict adherence to Firestore's native JSON value typing and relative path conventions, which is error-prone and time-consuming for developers managing document data and collection hierarchies.

Core Features & Use Cases

  • Full CRUD Operations: Add, retrieve, update, and delete Firestore documents with support for all native Firestore data types including strings, integers, timestamps, geospatial points, and binary data.
  • Collection Hierarchy Exploration: List root and nested subcollections to map out and navigate your Firestore data structure.
  • Flexible Querying: Filter, sort, and limit collection results using all standard Firestore query operators for targeted data retrieval.
  • Use Case: If you need to migrate user activity logs to Firestore, use this skill to batch add typed log documents, query for entries from a specific date range, and update fields for outdated records.

Quick Start

Use the firestore-data skill to retrieve all active user documents from the 'users' collection where the 'lastLogin' timestamp is within the last 30 days.

Frequently Asked Questions about firestore-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform CRUD operations on Firestore NoSQL documents without formatting errors?

Firestore CRUD operations require strict adherence to native JSON value typing and relative path conventions to avoid formatting errors. Type-safe document creation, targeted deletion, and partial field updates ensure support for all standard Firestore data types.

What is the best way to query Firestore collections with filters, sorting, and limits?

Querying Firestore collections is best handled by applying all standard Firestore query operators to filter, sort, and limit results. This enables targeted data retrieval from your NoSQL database while maintaining type safety and error resistance.

Can I list nested subcollections in a Google Cloud Firestore database hierarchy?

Yes, you can list root and nested subcollections to map out and navigate your Firestore database hierarchy. Collection hierarchy exploration allows developers to traverse relative paths and understand the structure of their NoSQL document data.

How do I batch add typed log documents to a Firestore collection?

Batch adding typed log documents to Firestore involves creating multiple documents with strict compliance to native JSON value formatting. This supports bulk document creation for migration tasks while handling all standard Firestore data types like integers and binary data.

Does Firestore NoSQL support partial field updates for outdated records?

Firestore NoSQL supports partial field updates to modify outdated records without overwriting entire documents. This targeted update mechanism relies on relative path conventions and native JSON value typing to maintain data integrity across your collections.