Saas Guardrails

The stack-agnostic engineering contract for building and extending a multi-tenant SaaS. Defines eight invariants every build must satisfy (a feature registry, one request chokepoint, tenancy enforced in one place, feature-oriented folders, one type source of truth, a grep index, a mandatory chokepoint test suite, migrations-only schema change), then binds each invariant to a concrete mechanism through a per-stack binding file (Next+tRPC+Prisma, Python+FastAPI+SQLAlchemy, or a new one from the template). Merges the process gates from the architectural-guardrail doc (discovery, stack selection, architecture approval, one-feature-at-a-time, version policy, deployment automation) with the enforced runtime patterns from the Web Prodigies starter kit, and closes the eight holes both leave open (no tests, missing tenancy indexes, a quota race, swallowed audit failures, fail-open auth rate limiting, no baseline migration, unpluggable logging, a stale grep pointer). Use for: starting a new SaaS in any language, adding

harsh719 Updated

File contents

harsh719/Growth-OS/tree/main/skills/saas-guardrails commit 1abffcf6d5

Frequently asked questions

npx skillmds@latest add harsh719/saas-guardrails