multi-tenant-validator

Tenant isolation

⭐10stars🔀6forks📁View on GitHub🕐Updated Dec 25, 2025

When & Why to Use This Skill

The Multi-Tenant Validator is a specialized Claude skill designed to enforce strict tenant isolation and data security within multi-user environments. It provides a systematic framework for validating that all database queries and operations are correctly scoped to specific tenants, preventing unauthorized data access and ensuring robust multi-tenant integrity.

Use Cases

  • SaaS Database Security: Automatically ensuring that every database query includes mandatory tenant identifiers (e.g., schoolId) to prevent cross-tenant data exposure.
  • Code Review & Compliance: Assisting developers during the coding process by flagging missing session verifications or unscoped unique constraints in multi-tenant architectures.
  • Automated Safety Guardrails: Implementing real-time checks within AI-driven workflows to verify that data operations are strictly confined to the authorized user's scope and environment.
nameMulti-Tenant Validator
descriptionTenant isolation
version1.0.0
categorysecurity

Multi-Tenant Safety Skill

Rules

  • ALWAYS include schoolId in queries
  • Unique constraints scoped by schoolId
  • Verify session before operations

Checklist

  • schoolId in all queries
  • Unique constraints scoped
  • Session verified