Skills / Architecture
Architecture Guardian
Protect Qentrah data models, domain interfaces, indexes, and backend ownership before broad implementation. Use before schema or workflow changes.
Ownership
InstructionsSKILL.md Source
Architecture Guardian
## Goal
Enforce architectural integrity for Qentrah's data models, domain boundaries, and backend ownership before broad implementation changes.
## The Thing
Schema design, Convex domain modules, Hono routes, and cross-domain data flow decisions.
## Structure
1.**Context intake** — Read repository ARCHITECTURE.md, understand domain boundaries and data ownership.
2.**Schema review** — Verify tenant-first indexes, check migration patterns, validate CRUD operations.
3.**Boundary enforcement** — Ensure domains own their data/queries/policy; Hono routes stay adapters.
4.**Workflow analysis** — Check configurable workflows for proper state machines and persistence.
5.**Plan generation** — Output migration-aware architecture plan before any schema or cross-domain changes.
Installation
Toggle your package manager and copy the command to add this skill directly to your workspace configuration.
CLI Add Command
Installs skill bundlenpx @qentrah/skills add architecture-guardian