taubyte-resource-creation
Installation
SKILL.md
Resource Creation
Preconditions
taubyte-core-constraintsloadedtaubyte-scope-routingcompletedtaubyte-project-and-applicationcompleted for project (and application only if the task required it — do not assume an application exists)tau --json currentwas run after the lasttau select project/tau new project; theProjectfield matches the task’s intended project (seetaubyte-orchestrator→ New project hard gate — never import or create resources under a stale selection)taubyte-context-loginitializedtaubyte-build-runtime-configavailable for server-side config/build logic
Order
- Global / project-level resources first (
domain, andwebsite/libraryonly whentaubyte-scope-routingkeeps them at project scope) — no application step unless routing says otherwise. - Full-stack multi-app (see
taubyte-reference-index→ Full-stack worked example):domainat project level → create/select Frontend → website there → create/select Backend →library,database,messaging(when using PubSub/WebSocket),functionsthere. Createmessagingbefore or together with functions that publish or subscribe to that channel; createlibrary/databasebefore or in lockstep with function YAML that references them. Push project config and wait for config build success before relying on realtime or new routes. - Website default: when
taubyte-scope-routing→ Website when logically appropriate applies,tau new website(and import/push per below) is in scope for that project — not optional for user-facing app briefs unless the user chose headless / API-only. - Application-scoped resources next (database, storage, messaging, service, smartops, and function when scoped to an application) — run
tau select applicationonly for the phase that needs it; do not create an application for website-only or simple global function work.