Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Firestore Rules Testbench

    1

    Draft Firestore access rules and an allow/deny test matrix tied to the actual data model and authorization requirements.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Firestore Rules Testbench

    Firestore Rules Testbench

    Example session with this skill installed

    For /notes/{id}, users may create only documents whose ownerId is their own UID. Updates must not transfer ownership. Give test cases, not a deployment.

    • Read your context and instructions
    • Compiled the firestore rules testbench

    Prepared editorial example; not a captured live test.

    Allow: authenticated user A creates a note with ownerId A; A changes an allowed
    content field while keeping ownerId A. Deny: unauthenticated create; A creates
    ownerId B; B edits A's note; A changes ownerId to B; a write adds a forbidden field.
    The schema must define required and allowed fields before final rules are authored.
    These are proposed emulator cases, not passed tests or deployed protections.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Draft Firestore access rules and an allow/deny test matrix tied to the actual data model and authorization requirements. This independent English adaptation provides a focused agent workflow, explicit evidence limits, and a prepared example. Prototype rules and test design; production deployment, security assurance, and an installed rules-author agent are not provided.

    Prototypes only. Requires local Firebase Emulator and CLI for execution. Does not provide final security certification or production deployment.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 22 days ago

    Permissions

    Read Files
    Write Files
    Terminal / Shell

    File Scopes

    User-selected
    Firestore
    rules
    and
    emulator
    tests/**

    Supplied-text or offline review modes need no live account. File changes, commands, and external connections are limited to the separately requested mode and user-selected scope.

    Listed22 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of a granular access matrix and a matching test suite, specifically catching edge cases like 'list' vs 'get' permissions and owner spoofing that manual coding often misses.

    You will receive a comprehensive access control matrix, a prototype `firestore.rules` file, and a complete suite of test cases designed for the `@firebase/rules-unit-testing` library.

    The skill generates test designs that are fully compatible with the Firebase CLI and the standard Firebase Emulator Suite, allowing you to run local simulations before deploying to production.

    Yes, it is specifically optimized for multi-tenant SaaS structures, providing robust logic to ensure users from one tenant cannot query or access documents belonging to another.

    Absolutely. You can provide your existing document schemas and collection paths, and the skill will audit them to draft a hardened security posture and validation rules for your current setup.

    New in Data & Databases