Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
deployment-runtime【部署与运维】Start Gerev from source or Docker, build the UI, and troubleshoot storage, boot, and deployment layout issues.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about running Gerev from source, starting the Docker/compose stack, building the UI bundle, or troubleshooting startup/storage/port behavior.
Read deployment-runtime.md for the boot sequence, Docker/compose layout, storage paths, and UI build expectations.
Read troubleshooting.md for startup, storage, model-cache, and UI-serving failures.
Read frontend-api.md when you need the backend route contract that the UI expects during boot and polling.
Run the bundled inspect_runtime_paths.py read-only helper for a concise layout summary:
python scripts/inspect_runtime_paths.py --app-dir <checkout>/app --json
Add --strict when you want the helper to exit nonzero if required runtime files are missing.
run.sh runs migrations and starts Uvicorn on port 80.Dockerfile installs the backend dependencies, pre-caches the model stack, and copies the built UI into /ui.docker-compose.yaml mounts ~/.gerev/storage:/opt/storage and shows the optional NVIDIA GPU reservation.app/paths.py selects /opt/storage in Docker-like mode and a home-directory storage tree otherwise.split_PDF_into_paragraphs is imported but missing.Included here: source startup, Docker/compose, UI build, storage layout, ports, and the boot-time service behavior that makes the app usable.
Do not use this sub-skill for connector credential setup or search ranking internals unless those details are needed only to explain startup/runtime behavior.