db-multitenancy

Community

Ensure multi-tenant data isolation and audit performance

AuthorHainrixz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill audits multi-tenant data isolation, checking for tenant model fit, missing or unenforced tenant scoping, and cross-tenant leak risks.

Core Features & Use Cases

  • Tenant Model Fit: Assess whether the tenant model (shared rows vs schema vs database) aligns with the isolation requirements.
  • Tenant Scoping: Verify that tenant-owned tables have appropriate scoping columns and constraints.
  • Indexing and Keys: Check that indexes and primary keys lead with tenant_id for proper pruning.
  • Cross-Tenant Constraints: Ensure uniqueness or foreign key constraints do not allow cross-tenant data leakage.
  • Use Case: For a company with a multi-tenant database, this Skill can identify potential data leaks and performance issues, helping maintain data integrity and system performance.

Quick Start

Run the db-multitenancy skill to audit your multi-tenant database schema.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: db-multitenancy
Download link: https://github.com/Hainrixz/claude-db/archive/main.zip#db-multitenancy

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 620,000+ vetted skills library on demand.