Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
platform-operations【部署与运维】Operate PyCaret's self-hosted platform deployment, configuration, storage, queues, workers, backups, and runtime health checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about running or operating the PyCaret Control Plane rather than changing engine code or web source. It covers local single-process installs, Docker Compose deployments, production-shaped Postgres/Redis/MinIO deployments, secrets persistence, object storage, backup/restore, migrations, worker queues, optional GPU workers, and platform health checks.
pycaret-server process,api + web, SQLite/local artifacts),api + worker + Postgres + Redis + MinIO),PYCARET_* settings and Fernet/JWT handling.default, cpu-heavy, gpu, and inference worker routing.python scripts/ops_doctor.pybash scripts/check_container_secret_key.sh --data-dir ./data# Bootstrap and run a direct server install.
pycaret-server init --data-dir ./data
pycaret-server migrate
pycaret-server serve --host 0.0.0.0 --port 8020
pycaret-server doctor
# Compact Docker Compose from a source distribution.
docker compose up --build
docker compose logs -f api
docker compose down # preserves named volumes
docker compose down --volumes # wipes data volumes
# Production-shaped Compose from a source distribution.
docker compose -f infra/docker/docker-compose.prod.yml up --build
# Redis worker process.
PYCARET_RUNS_BACKEND=redis pycaret-server worker --queues default,cpu-heavy --worker-id worker-1
Route elsewhere for:
RunConfig, and pycaret library use → engine-workflows.web-ui.repo-development.Keep operations guidance self-contained. Do not rely on a local checkout path, private environment prefix, or secret value. Never print JWT secrets, Fernet keys, storage credentials, SMTP passwords, or connection passwords.