Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
deployment-and-data-ops【部署与运维】Operate Jarbas and Rosie service setup, data loading, validation, assets, and maintenance workflows safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to install, start, seed, validate, or troubleshoot the service/data lifecycle around Serenata de Amor's Jarbas Django service and Rosie outputs.
Route elsewhere:
jarbas-data-api.suspicions.xz generation are owned by rosie-suspicion-pipeline.Identify the environment path: Docker Compose local, local Python service stack, or reference-only production maintenance.
Prepare configuration using configuration.md. Never invent or print real credentials.
Bring up prerequisites from docker-and-services.md: legacy Python dependencies, PostgreSQL for full Jarbas semantics, optional RabbitMQ/Celery, cache, and optional Node/Elm asset tooling.
Run the safe preflight helper before service-changing operations:
$ python sub-skills/deployment-and-data-ops/scripts/jarbas_manage_check.py --repo-root <serenata-checkout>
Use --no-run to inspect the command and default environment keys without invoking Django.
Seed data using data-loading.md and management-commands.md. The safe sample order is migrations first, then reimbursements, companies, suspicions, search vector, and optional tweets/social-media/receipt commands.
Build or collect frontend/static assets only when the legacy Node/Elm stack is available; see frontend-assets.md.
For maintenance scripts and one-off research data acquisition, classify the script before running anything using research-and-maintenance-scripts.md.
Diagnose known failures with troubleshooting.md.
manage.py check is a configuration/import preflight; it does not replace migrations, sample data loads, API tests, or PostgreSQL-backed search validation.manage.py check, but full Jarbas behavior uses PostgreSQL-specific fields and search vectors.tweets, tweet, receipts, receipts_text, socialmedia, and update have side effects or external dependencies; read their command notes before use.python manage.py check.