Zum Inhalt springen
Kitbay

firestore-rules-creation

Apache-2.0Aktualisiert am 9. Nov. 2026508GitHub-Sterne

A Firebase skill for writing Cloud Firestore security rules for an existing codebase.

Was der Skill vermittelt

A Firebase skill for writing Cloud Firestore security rules for an existing codebase. The agent scans the code for collection paths and every query, generates a firestore.rules file with validation, ownership and role checks, then argues against its own rules to find holes before checking the syntax. The skill tells the agent to present the result as a prototype that the user should review, and to hand the work to a rules-authoring subagent when one is installed. It is a single long instruction file with no scripts.

Funktionen

  • Map collections and queries in a codebase
  • Generate firestore.rules with validation and ownership checks
  • Review generated rules for bypasses
  • Check rules syntax