multitenant-development
Installation
SKILL.md
Multitenant Development
Quick Start
When working with multitenant features:
- Always verify tenant with
getTenantFromRequest()in APIs and middleware - Never make queries without filtering by
tenant_id - Ensure RLS policies include tenant verification
- Configure tenant-specific assets in
public/tenants/{tenant_slug}/ - Usar
getTenantAssetPath(tenant, assetPath, fallback)para URLs de assets (incluye cache busting?v=por deploy)