What problem does it solve?
This Skill helps developers add secure, org-scoped server methods to Meteor 3 apps, ensuring member/admin actions are properly gated and isolated by organization.
Core Features & Use Cases
- Supports two action categories: member actions and admin actions, directing code to the correct files (methods.js for members, org-methods.js for admins) and validating org_id scope.
- Enforces a strict execution order (check, gate, data) to prevent invalid inputs and unauthorized access, and uses async Mongo calls to operate only within the targeted org_id.
- Example: add a method that creates a new document for an organization after verifying membership and role, then persists it to the correct collection.
Quick Start
Identify the target file (methods.js or org-methods.js) and insert a new async method following the existing template.