
Multi Tenant Architecture
Walks you through building a white-label SaaS platform on Cloudflare or Vercel, handling the messy parts like subdomain routing, custom domain verification, tenant isolation, and cookie separation. Pushes you to separate your brand domain from tenant workloads early (a phishing site on random.acme.com tanks your whole domain), reminds you that PSL submission takes weeks, and forces a choice between per-tenant Workers or a shared Next.js app with tenant scoping. The workflow is opinionated and sequential: pick a platform, choose subdomain vs custom domain, wire up middleware or dispatch namespaces, then map limits to pricing tiers. Useful when you're past the MVP and need production multi-tenancy that won't leak data or reputation.
- skills.sh installs
- 1.8K
- GitHub stars
- 191
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mblode/agent-skills --skill multi-tenant-architecture --agent claude-codeInstalls into .claude/skills of the current project.
Files
Multi-Tenant Platform Architecture (Cloudflare or Vercel)
- IS: platform choice, domain strategy and PSL, tenant identification, compute and data isolation, hostname routing, tenant context propagation, custom domains and SSL, per-tenant static files, and mapping platform limits to plans.
- IS NOT: general folder structure or module contracts (use
codebase-architecture), scaffolding a new repo (usescaffold-nextjs), or the content of per-tenant SEO files once routing serves them dynamically: sitemap entries, canonical URLs, structured data, indexing policy (useseo).
Contents
- Platform dispatch (decide first)
- Reference files
- Workflow (order matters)
- Gotchas
- Output schema
- Evidence commands
- Related skills
Platform dispatch (decide first)
Sponsors
Details
- Repository
- github.com/mblode/agent-skills
- Categories
- Frontend Development, DevOps & CI/CD, Code Review & Quality, AI & Agent Building, Automation & Workflows, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from mblode/agent-skills
All 22- Ui Design1.5K
- Typography Audit1.1K
- Agent Skills Creator1K
- Presentation Creator960
- Docs Writing949
- Agents Md884
- Scaffold Nextjs785
- Scaffold Cli751
- Ui Audit733
- Autoship687
- Optimise Seo647
- Readme Creator604
- Copywriting483
- Define Architecture448
- Blog Post404
- Review Pr185
- Agent Native140
- Babysit Pr124
- Mermaid Mind Map124
- Audit Ui114
- Ui Animation10.8K