tenancy-enforcer

Community

Enforce multi-tenant queries with communityId.

Authormuhammadcaeed
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Multi-tenant data isolation by enforcing communityId in every database filter, preventing cross-tenant access.

Core Features & Use Cases

  • Enforces presence of communityId in all find, update, delete, and aggregate operations.
  • Provides repository/service patterns to consistently apply tenancy rules across code paths.
  • Highlights common anti-patterns to avoid insecure queries.

Quick Start

Apply this skill to all MongoDB interactions by ensuring every query includes communityId from the JWT context.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tenancy-enforcer
Download link: https://github.com/muhammadcaeed/aegis/archive/main.zip#tenancy-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.