Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FIRESTORE-NATIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This section covers connecting to a Firestore instance.

2. **Handle Missing Variables**: If a command fails with an error message containing a placeholder like `${FIRESTORE_PROJECT}`, it signifies a missing environment variable. Inform the user which variable is missing and instruct them to set it.

3. **Handle Permission Errors**: If you encounter permission errors, ensure the user has the correct Firestore permissions (e.g., `datastore.entities.list`, `datastore.entities.create`). The user likely lacks the roles Cloud Datastore User (`roles/datastore.user`) and Firebase Rules Viewer (`roles/firebaserules.viewer`). You can provide these links for assistance:
3. **Handle Permission Errors**: If you encounter permission errors, ensure the user has the correct Firestore permissions (e.g., `datastore.entities.list`, `datastore.entities.create`). The user likely lacks the role Cloud Datastore User (`roles/datastore.user`). You can provide these links for assistance:
* Granting Roles: https://cloud.google.com/iam/docs/grant-role-console
* Firestore Permissions: https://cloud.google.com/iam/docs/roles-permissions/firestore

Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This repository provides a set of agent skills to interact with [Firestore](http

- **Seamless Workflow:** Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common database tasks.
- **Natural Language Queries:** Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
- **Data & Security Management:** Manage your Firestore data and security rules directly from your agent.
- **Data Management:** Manage your Firestore data directly from your agent.
- **Code Generation:** Accelerate development by asking your agent to generate data classes and other code snippets based on your document structures.

## 📺 Video Walkthrough
Expand Down Expand Up @@ -228,16 +228,12 @@ Interact with Firestore using natural language:
- **Document Updates and Cleanup**:
- "For all 20 test users you just found, please remove product-glasses(inactive) from their wishlist."
- "Update the document with ID order-987 in the orders collection to set the status to 'Shipped'."
- **Security Rules Management**:
- "new_rules.txt is a new Firestore Security Rule I'm working on for staging. Can you validate it for me?"
- "Show me the active Firestore security rules for this project."

## Supported Skills

The following skills are available in this repository:

- [Firestore Data](./skills/firestore-data/SKILL.md) - Handles NoSQL document operations and collection hierarchy exploration. Use for CRUD tasks and data retrieval. Provides flexible document manipulation and structured querying.
- [Firestore Security](./skills/firestore-security/SKILL.md) - Manages access control and security compliance. Use when auditing permissions or deploying new security logic. Provides rule retrieval and syntax validation.

## Additional Agent Skills

Expand Down
42 changes: 0 additions & 42 deletions skills/firestore-security/SKILL.md

This file was deleted.

103 changes: 0 additions & 103 deletions skills/firestore-security/scripts/get_rules.js

This file was deleted.

103 changes: 0 additions & 103 deletions skills/firestore-security/scripts/validate_rules.js

This file was deleted.

Loading