Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
server-and-stores【部署与运维】Work on ZenML FastAPI server routers, auth/RBAC, domain models, stores, SQLModel schemas, Alembic migrations, triggers, resource pools, and server deployment troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task mentions ZenML FastAPI, REST endpoints, routers, zen_server, authentication, RBAC, HTTP errors, Zen stores, SQLModel schemas, Alembic migrations, triggers, schedules, resource pools, resource requests, server deployment, database upgrades, or server optional extras.
This sub-skill owns ZenML server internals: FastAPI app and routers, zen_server-local utilities, auth/RBAC endpoint patterns, REST server behavior, Zen store interfaces and implementations, SQLModel schemas, Alembic migrations, trigger/resource-pool internals, and server deployment troubleshooting. Keep runtime behavior synchronous at route boundaries unless the existing async wrapper pattern requires otherwise.
Client() usage, login/connect flows, user-facing list filters, and CLI/client signature coupling.@pipeline, @step, schedules as authoring APIs, materializers, hooks, cache/retry behavior, and local pipeline runs.Do not import zenml.zen_server from client, CLI, integration, or shared model code. Do not import SQL schemas or SqlZenStore from outside the store/server layer; use shared models or Client().zen_store when lower-level access is unavoidable. Prefer read-only probes, --help, targeted unit tests, and branch checks before any migration upgrade. Treat tokens, API keys, database URLs, secret values, server URLs, and backup credentials as sensitive.