Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Multi Tenancy?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-multi-tenancy)
---
name: multi-tenancy
description: "Multi-tenant SaaS design: tenant isolation (row-level, schema, database), scoping queries and per-tenant limits."
tags: [backend, database, architecture]
---
# Multi Tenancy
## When to use
- B2B SaaS
## Procedure
1. Choose isolation model by compliance and scale
2. Enforce tenant scope in one place (RLS or repository layer)
3. Include tenant in cache keys and logs
4. Test cross-tenant access
## Checklist
- [ ] Cross-tenant tests
- [ ] Tenant ID in every query
## Anti-patterns
- Relying on developers to remember WHERE tenant_id = ?