Aegis Multi-Tenancy Enforcer
Enforces strict data isolation by ensuring every MongoDB query and service method includes a mandatory community identifier.
The Aegis Multi-Tenancy Enforcer is a specialized skill designed to maintain rigorous security standards within the Aegis community platform. It guides Claude to automatically include communityId filters in all database operations, repository methods, and aggregation pipelines. By mandating that tenant identifiers originate from authenticated JWT tokens rather than potentially forged request bodies, this skill prevents cross-community data leaks and ensures that database indexes are optimized for tenant-specific lookups. It is essential for developers working on the Aegis backend to maintain a secure, isolated environment for all community members.