multi-tenancy
Tools for implementing tenant isolation and data separation in multi-tenant systems.
Install
mkdir -p .claude/skills/multi-tenancy && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3886" && unzip -o skill.zip -d .claude/skills/multi-tenancy && rm skill.zipInstalls to .claude/skills/multi-tenancy
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Implement multi-tenant architecture with tenant isolation, data separation, and per-tenant configuration. Supports shared database and schema-per-tenant models.Key capabilities
- →Tenant isolation model selection
- →Tenant context management
- →Tenant-scoped database queries
- →Per-tenant configuration
- →Middleware-based tenant resolution
How it works
It uses middleware to extract tenant identifiers from requests and stores them in an asynchronous context, which is then used to automatically filter database queries.
Inputs & outputs
When to use multi-tenancy
- →Set up tenant isolation for a new SaaS app
- →Configure per-tenant database connections
- →Implement data partitioning by tenant ID
About multi-tenancy
Enables the configuration of multi-tenant environments including data isolation and per-tenant settings. Supports both shared-database and schema-per-tenant architectures.
Implement multi-tenant architecture with tenant isolation, data separation, and per-tenant configuration. Supports shared database and schema-per-tenant models.
When not to use it
- →Single-tenant applications
- →Applications without organizational separation
Prerequisites
Limitations
- →Requires tenant_id index on all scoped tables
- →Must validate user access to tenant
How it compares
It automates tenant filtering and context propagation, preventing manual errors like cross-tenant data leaks.
Compared to similar skills
multi-tenancy side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| multi-tenancy (this skill) | 8 | 6mo | No flags | Intermediate |
| architecture-patterns | 55 | 2mo | No flags | Advanced |
| kotlin-multiplatform | 32 | 3mo | Review | Advanced |
| nodejs-best-practices | 28 | 6mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by dadbodgeoff
View all by dadbodgeoff →You might also like
architecture-patterns
wshobson
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.
kotlin-multiplatform
vitorpamplona
Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS) with web/wasm future considerations. Integrates with gradle-expert for dependency issues. Triggers on: abstraction decisions ("should I share this?"), source set placement questions, expect/actual creation, build.gradle.kts work, incorrect placement detection, KMP dependency suggestions.
nodejs-best-practices
davila7
Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.
workflow-orchestration-patterns
wshobson
Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed transactions, or microservice orchestration.
java-pro
sickn33
Master Java 21+ with modern features like virtual threads, pattern matching, and Spring Boot 3.x. Expert in the latest Java ecosystem including GraalVM, Project Loom, and cloud-native patterns. Use PROACTIVELY for Java development, microservices architecture, or performance optimization.
arm-cortex-expert
sickn33
Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD). Decades of experience writing reliable, optimized, and maintainable embedded code with deep expertise in memory barriers, DMA/cache coherency, interrupt-driven I/O, and peripheral drivers.