tenant-modeler

Define SaaS tenant, membership, invitation, ownership, and lifecycle semantics.

2|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill tenant-modeler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tenant-modeler
Source: https://github.com/nguyenpv1980-wq/Project-Aegis/tree/main/.claude/skills/tenant-modeler
Command: npx skills add https://github.com/nguyenpv1980-wq/Project-Aegis --skill tenant-modeler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes ambiguity around what a tenant is in a SaaS product, so teams stop arguing over organization, workspace, account, and membership semantics before building schema or permissions.

Core Features & Use Cases

  • Tenant Definition: Clarifies the unit of ownership, billing, and administration, including when those concepts diverge into an explicit hierarchy.
  • Membership and Invitation Modeling: Defines roles on memberships, multi-tenant users, guest access, service accounts, and invitation lifecycles with expiry and revocation.
  • Lifecycle and Ownership Semantics: Specifies owner transfer rules, last-owner protection, and a tenant lifecycle state machine covering provisioning, active use, suspension, offboarding, and purge.
  • Use Case: Use this when a product team is about to design a multi-tenant system but the meaning of tenant, workspace, and account is still contested.

Quick Start

Ask for a tenant model that defines the tenant, membership, invitation, ownership, and lifecycle semantics for your SaaS product.

Frequently Asked Questions about tenant-modeler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define a tenant model for a multi-tenant SaaS architecture?

A SaaS tenant model defines the unit of ownership, billing, and administration, resolving ambiguity around organization, workspace, and account concepts before you build database schema or authorization systems.

How do membership and invitation lifecycles work in multi-tenant SaaS systems?

Membership and invitation lifecycles in multi-tenant SaaS systems require defining roles on memberships, multi-tenant users, guest access, service accounts, and invitation lifecycles with explicit expiry and revocation rules.

When should I establish tenant lifecycle semantics before designing SaaS permissions?

You should establish tenant lifecycle semantics before designing SaaS permissions when multi-tenant terminology is contested, ensuring explicit access, billing, data, and job postures are defined for provisioning, active use, suspension, offboarding, and purge states.

What is the best way to handle tenant ownership transfer and last-owner protection?

The best way to handle tenant ownership transfer and last-owner protection is to specify explicit owner transfer rules that prevent accidental orphaned tenants, ensuring reversible state transitions while gating purge as an irreversible action.

What are the limitations of building a SaaS schema without explicit tenant semantics?

Building a SaaS schema without explicit tenant semantics leads to ambiguity around workspace, account, and membership concepts, causing teams to argue over terminology and risking incorrect authorization design and unstructured lifecycle state transitions.