npx skills add ...
npx skills add astrale-os/cli --skill astrale-domain
Create, modify, test, migrate, or debug Astrale Domains: Schema, Policies, Action/Workflow runtime, integrations, Views, Datasets, and deployment. For a new Domain follow the phased workflow; for focused work load only the relevant references.
npx skills add astrale-os/cli --skill astrale-domain
Load detailed domain knowledge from the references that matches the goal.
@astrale-os/sdk/* subpath. Do not import @astrale-os/kernel-core or
@astrale-os/kernel-dsl directly, and do not replace them with a flat SDK root barrel.auth mode; handlers execute only admitted
calls and do not define a second authorization model.node() for topology-owned matching,
node(Class) for a polymorphic Class family, or node.exact(Class) for exact identity.Use this router to load only the references owned by the current task. For new Domains, also use the phased workflow below; an existing public scaffold already satisfies its foundation phase.
references/development.md.references/release.md.references/schema.md first. Always read it for schema work.references/runtime.md.references/integrations.md.references/domains.md.references/users.md.references/policies.md.references/views.md and apply astrale-frontend-design for product-interface layout,
interaction, and copy.references/migration.md.references/performance.md.tests/ the Studio draws and proves policies on:
read references/datasets.md.references/testing.md.references/debugging.md.For a request to create, build, prototype, or make a POC of a Domain, follow the applicable phases in order and load a reference only when its phase begins.
references/development.md; read references/domains.md only when deciding whether to reuse a
native Domain. When the workspace already declares the SDK, deployment adapter, Domain definition, and
Runtime, keep that plumbing and move directly to Schema.references/schema.md; for sign-in users and groups,
also read references/users.md before inventing identity or onboarding vocabulary.references/runtime.md and
references/policies.md. If an external system is involved, also read references/integrations.md.references/views.md before designing or
implementing it. Views are Schema declarations, not fields on the SDK Domain definition. Every View
belongs to its Domain; node screens are internal routes of its frontend, not Class-bound Views.tests/,
referenced from astrale.config.ts. Read references/datasets.md first; do not invent graph data
for an API-only Domain or expand a focused edit into unrelated demo work.references/testing.md; exercise the delivered public callables with
representative success and applicable refusal inputs, then run the relevant tests, typecheck,
lint, and build. Verify packaging when delivering a consumable package and live behavior when
claiming deployment or integration success.Read references/migration.md, references/performance.md, and references/debugging.md only when the
domain's lifecycle or current problem calls for them.
references/debugging.md and prove the deployed/installed/runtime path before treating source edits as effective.references/datasets.md; examples complement tests rather than exhaust every case.