Generate firestore security rules for multi role super app
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
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.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.5 KB, 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