Documentation
¶
Overview ¶
Command check-architecture validates the vertical slice architecture of the Supermodel CLI using the Supermodel static analysis API.
Rules enforced:
- Slice packages must not import other slice packages.
- Slice packages may only import the shared kernel or external dependencies.
A "slice" is any package under internal/ that is NOT listed in sharedKernel.
Usage:
SUPERMODEL_API_KEY=<key> go run ./scripts/check-architecture
Environment:
SUPERMODEL_API_KEY required — API key issued by api.supermodeltools.com SUPERMODEL_API_BASE optional — override the API base URL (default: https://api.supermodeltools.com)
Click to show internal directories.
Click to hide internal directories.