multi-tenant-architecture SKILL.md skillA

multi-tenant-architecture from mblode/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mblode/agent-skills/multi-tenant-architecture@git:20261003.f75c75c

Pins git:20261003.f75c75c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mblode/agent-skills
Path
skills/multi-tenant-architecture/SKILL.md
Versions recorded
6
Latest version
git:20261003.f75c75c, committed Oct 3, 2026
First version recorded
Jul 25, 2026
Size
12,392 bytes
Repository stars
188
License
MIT

Designs tenant isolation, hostname routing, custom-domain lifecycle, and plan limits on Cloudflare or Vercel. Use when asked to "isolate tenant data", "support custom domains", "build a white-label platform", or assess PSL registration. For general module structure use codebase-architecture; for SEO content use seo.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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 (use `scaffold-nextjs`), or the content of per-tenant SEO files once routing serves them dynamically: sitemap entries, canonical URLs, structured data, indexing policy (use `seo`).

## Contents

- Platform dispatch (decide first)
- Reference files
- Workflow (order matters)
- Gotchas
- Output schema
- Evidence commands
- Related skills

## Platform dispatch (decide first)

| Signals | Platform | Model |
|---------|----------|-------|
| Tenants upload or generate their own code; code-level isolation; edge compute on KV, D1, Durable Objects, R2 | Cloudflare | Dispatch Worker in front of a dispatch namespace of per-tenant Workers; Cloudflare for SaaS for custom hostnames |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mblode/agent-skills/multi-tenant-architecture@sha256:75ac9fa7ecb99071

The line at the top of this page pins the label git:20261003.f75c75c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_baunslnyygbwio4q.svg)](https://markdownregistry.com/a/art_baunslnyygbwio4q)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Jul 25, 2026 and Oct 3, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20261003.f75c75c latest2026-10-03 f75c75c 12,392 BA view · diff
git:20260907.36c52bf2026-09-07 36c52bf 16,174 BA view · diff
git:20260904.359fa942026-09-04 359fa94 16,210 BA view · diff
git:20260901.a877ac02026-09-01 a877ac0 16,631 BA view · diff
git:20260804.3e6b5982026-08-04 3e6b598 10,640 BA view · diff
git:20260725.9ab51d22026-07-25 9ab51d2 10,634 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12392 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mblode/agent-skills · 188 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_baunslnyygbwio4q
GET https://markdownregistry.com/api/v1/resolve?ref=mblode/agent-skills/multi-tenant-architecture
GET https://markdownregistry.com/api/v1/blob/75ac9fa7ecb99071ef245ac28861c0b80160f77cd52a0aaea4d623678a6668b1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mblode/agent-skills

AGENTS.md AGENTS.md file
mblode/agent-skills · AGENTS.md
git:20260927.a1355f3 · audit A · 188 stars
agent-ready SKILL.md skill
mblode/agent-skills · skills/agent-ready/SKILL.md · Implements agent-readiness on public sites and docs from Mintlify Agent Score, AFDocs, Is Agentic, Is It Agent Ready…
git:20261027.0148e62 · audit A · 188 stars
agent-skills-creator SKILL.md skill
mblode/agent-skills · skills/agent-skills-creator/SKILL.md · Creates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or…
git:20261004.37878f9 · audit A · 188 stars
agents-md SKILL.md skill
mblode/agent-skills · skills/agents-md/SKILL.md · Audits and edits agent instruction files, verifies repository commands, and migrates repositories to AGENTS.md as the…
git:20261105.5eeba20 · audit B · 188 stars
app-verification SKILL.md skill
mblode/agent-skills · skills/app-verification/SKILL.md · Builds and maintains a repo's own verification harness (verify CLI, doctor, worktree isolation, feature map, seed data)…
git:20261016.81d0af2 · audit A · 188 stars
autoship SKILL.md skill
mblode/agent-skills · skills/autoship/SKILL.md · Runs a changesets npm release through the version PR, CI publish, and registry verification. Use when asked to "release…
git:20261022.dc3f816 · audit A · 188 stars
ax-audit SKILL.md skill
mblode/agent-skills · skills/ax-audit/SKILL.md · Audits agentic products for tool parity, authority, approval payloads, recovery, and trust using 24 rules and a ship…
git:20261003.52dd41e · audit A · 188 stars
chat-history SKILL.md skill
mblode/agent-skills · skills/chat-history/SKILL.md · Recovers decisions, previous fixes, research, and what followed a prompt from past AI conversations, with source…
git:20261003.9187df5 · audit A · 188 stars
ci-speedup SKILL.md skill
mblode/agent-skills · skills/ci-speedup/SKILL.md · Speeds up CI and the merge path: finds where changes wait between push and deploy, then fixes the critical path, check…
git:20261022.d48d166 · audit A · 188 stars
codebase-architecture SKILL.md skill
mblode/agent-skills · skills/codebase-architecture/SKILL.md · Designs module interfaces, deepens shallow modules, and installs enforceable repository guardrails and agent…
git:20261022.dc3f816 · audit A · 188 stars
dx-audit SKILL.md skill
mblode/agent-skills · skills/dx-audit/SKILL.md · Audits libraries, CLIs, and SDKs using 38 rules for public contracts, package exports, piped output, errors, and…
git:20261022.dc3f816 · audit A · 188 stars
eli5 SKILL.md skill
mblode/agent-skills · skills/eli5/SKILL.md · Picks the form that explains best and applies the house explanation style: plain prose, controlled English modelled on…
git:20261003.7f8f7cb · audit A · 188 stars

Every file in mblode/agent-skills

Browse by kind, by grade A, or by owner.