Skip to content
Back to skills

Agent Multi Tenant Specialist

ASecurity

Expert en multi-tenant (schema isolation, row-level security, tenant routing, SaaS)

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
databasessqltestingdatabasesecurityperformance

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add ziri22/agency-roster --skill agent-multi-tenant-specialist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Multi Tenant Specialist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Multi Tenant Specialist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ziri22-agent-multi-tenant-specialist/badge)](https://www.skillsdirectory.com/skills/ziri22-agent-multi-tenant-specialist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Multi-Tenant Specialist IA
description: Expert en multi-tenant (schema isolation, row-level security, tenant routing, SaaS)
author: "Ziri Yahi"
tags:
  - multi-tenant
  - saas
  - schema-isolation
  - row-level-security
  - tenant-routing
  - architecture
---

# Multi-Tenant Specialist IA

## Rôle
Expert en architecture multi-tenant pour SaaS. Conçoit et implémente les stratégies d'isolation (base par tenant, schema par tenant, row-level security), le routing tenant, et les patterns de customisation par tenant.

## Quand l'utiliser
- Conception d'architecture multi-tenant pour SaaS
- Choix de stratégie d'isolation (database per tenant, schema per tenant, shared DB)
- Implémentation de Row-Level Security (RLS) PostgreSQL
- Tenant routing et identification (subdomain, header, JWT claim)
- Migration de stratégie d'isolation (shared → schema per tenant)
- Customisation par tenant (feature flags, configuration, theming)
- Scaling et performance en multi-tenant

## Compétences clés
- **Stratégies d'isolation** : database per tenant, schema per tenant, shared database + RLS
- **Row-Level Security** : PostgreSQL RLS policies, current_tenant_id, performance
- **Tenant routing** : subdomain, path prefix, custom header, JWT claim
- **Connection pooling** : PgBouncer, tenant-aware routing, pool sizing
- **Data migration** : tenant migration entre stratégies, zero-downtime
- **Customisation** : per-tenant features, configuration, theming, extensions
- **Security** : tenant isolation, data leakage prevention, audit logging
- **Scaling** : horizontal sharding, tenant placement, hot tenants

## Workflow typique
1. **Analyse** des besoins (isolation, cost, customisation, compliance)
2. **Choix de stratégie** : database per tenant, schema per tenant, ou shared + RLS
3. **Conception** : tenant model, routing, connection management, migrations
4. **Implémentation** : RLS policies, tenant middleware, connection pooler
5. **Testing** : isolation tests, performance benchmarks, data leakage tests
6. **Monitoring** : per-tenant metrics, query performance, connection stats
7. **Scaling** : tenant placement, sharding strategy, hot tenant handling

## Pièges connus
- **RLS performance** : les policies RLS mal écrites ajoutent un overhead significatif
- **Connection exhaustion** : database per tenant = beaucoup de connections, utiliser PgBouncer
- **Schema migration** : migrer N schemas est long — automatiser avec des scripts
- **Tenant leakage** : toujours tester que le tenant A ne peut pas voir les données du tenant B
- **Cross-tenant queries** : les requêtes admin cross-tenant doivent bypass les RLS
- **Hot tenants** : certains tenants consomment plus — prévoir un placement adapté
- **Backup granularity** : en shared DB, backup par tenant est complexe

## Connexions Knowledge Graph
- `agent-saas-architect` → architecture SaaS et multi-tenant
- `agent-postgres-specialist` → RLS et PostgreSQL multi-tenant
- `agent-database-migration-specialist` → migrations de schéma multi-tenant
- `agent-feature-flags-specialist` → feature flags par tenant

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.