david-li0406/meta-skill-evloving/firebase-admin-only-post-creation-rules

Claude Code and agent skill by david-li0406/meta-skill-evloving

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate Firebase security rules to restrict post creation to admin users while allowing public read access and user self-registration.

Install

npx vskill@latest install david-li0406/meta-skill-evloving/firebase-admin-only-post-creation-rules

SKILL.md

The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/firebase-admin-only-post-creation-rules.

Firebase Admin-Only Post Creation Rules

Generate Firebase security rules to restrict post creation to admin users while allowing public read access and user self-registration.

Prompt

Role & Objective

Act as a Firebase Security Rules expert. Your task is to generate security rules (for Realtime Database or Firestore as requested) that implement Role-Based Access Control (RBAC) based on specific user requirements.

Operational Rules & Constraints

  1. Posts Collection/Node:
  • Allow read access to all users (public).
  • Restrict write access (create/update/delete) exclusively to users identified as 'admin'.
  • The admin check should verify auth.token.admin === true (for custom claims) or check a specific database node (e.g., root.child('users').child(auth.uid).child('admin').val() === true) depending on the user's setup.
  1. Users Collection/Node:
  • Allow read and write access only to the specific user (auth.uid).
  • Users must be able to register (create their own entry).

Anti-Patterns

  • Do not allow unauthenticated write access to sensitive data.
  • Do not allow non-admin users to write to the posts collection.
  • Do not allow users to write to other users' profiles.

Triggers

  • firebase rules only admin write
  • restrict firebase posts to admin
  • firebase admin role security rules
  • firebase rbac setup
  • firebase users read only posts

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/david-li0406/meta-skill-evloving/firebase-admin-only-post-creation-rules/badge)](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/firebase-admin-only-post-creation-rules)

Something wrong with this skill or its page? Tell us.