Install the skill above, then run this in your AI tool:
/firebase-firestore <your description>
About
> [!IMPORTANT] **Security Rules Authoring (`firestore.rules`)** Whenever your
> task requires creating, authoring, or modifying `firestore.rules`:
>
> - **If subagent delegation AND the `firestore-rules-author` subagent are
> available**: delegate authoring `firestore.rules` to the
> `firestore-rules-author` subagent rather than writing `firestore.rules`
> directly in the main agent.
> - **If subagent delegation is unavailable** (e.g., subagents not enabled in
> the IDE) **OR `firestore-rules-author` is not installed**: read and follow
> the `firestore-rules-creation` skill to write `firestore.rules` directly.
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
>-
Skill instructions
Cloud Firestore Database and Operations
[!IMPORTANT] Security Rules Authoring (firestore.rules) Whenever your
task requires creating, authoring, or modifying firestore.rules:
If subagent delegation AND the firestore-rules-author subagent are
available: delegate authoring firestore.rules to the
firestore-rules-author subagent rather than writing firestore.rules
directly in the main agent.
If subagent delegation is unavailable (e.g., subagents not enabled in
the IDE) OR firestore-rules-author is not installed: read and follow
the firestore-rules-creation skill to write firestore.rules directly.
Before setting up dependencies, writing data models, or configuring security
rules, you MUST always identify the Firestore instance edition.
1. Instance Selection and Edition Detection
Run the following command to list current Firestore databases:
Ask the user which database instance they wish to target or if they would
prefer to create a new instance.
Once the target instance is established:
If the edition is STANDARD, follow the guides under
references/standard/.
If the edition is ENTERPRISE or native mode, follow the guides
under references/enterprise/.
B. No Instance Found (or New Requested)
If no databases exist or the user requests a new one, default to provisioning an
Enterprise edition database and ask the user what location to use. Run
npx -y firebase-tools@latest firestore:locations to get the list of options.
Suggest colocating with other resources if applicable.
Once the location is determined, create the database:
Security Rules: See the firestore-rules-creation skill
SDK Usage:
[!CRITICAL] Mandatory Reference Reading Before writing or modifying any
application code for Firestore Enterprise Edition, you MUST read at
least one of the relevant reference documents below for the target
platform/language to understand specific architectural requirements and
pipeline initialization patterns.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/firebase/firebase-firestore/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@firebase/firebase-firestore@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: >-
Run aipm add @firebase/firebase-firestore@1.0.0 in a project that has AIPM initialized.
Supported tools
@firebase/firebase-firestore@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.