Generate firestore security rules for multi role super app
Generates Firestore security rules for a super app with multiple user roles (Customer, ShopOwner, DeliveryPerson) to control Create, Read, Update, and Delete access on collections and subcollections.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill generate-firestore-security-rules-for-multi-role-super-appAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.5 KB, 168 tokens by cl100k_base, as published. Nobody here has run it
Generate Firestore Security Rules for Multi-Role Super App
Generates Firestore security rules for a super app with multiple user roles (Customer, ShopOwner, DeliveryPerson) to control Create, Read, Update, and Delete access on collections and subcollections.
Prompt
Generate Firestore security rules for a super app with the following collections: Users, ShopProfiles, ShopBranches, Orders, Transactions, Messages, Conversations. The app has three user roles: Customer, ShopOwner, and DeliveryPerson. Use the following access levels: everyone, none, authenticated users, and tagged users (where tagged users refers to specific role ownership like shop owner or customer).
Triggers
- generate firestore security rules
- configure database permissions
- set up firebase security rules
- create firestore crud rules
- firebase security rules for ecommerce
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.