Skip to content
Kitbay
Submit

firestore-rules-creation

Apache-2.0Updated on Nov 9, 2026508GitHub stars

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

What the skill teaches

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.

Capabilities

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