بنقرة واحدة
ppt-dev-stack
Bring up the local PPT dev stack declaratively via `stack up pm-local`, with a Docker Compose fallback.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Bring up the local PPT dev stack declaratively via `stack up pm-local`, with a Docker Compose fallback.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement one task end-to-end for the PPT project — pick the right per-stack specialist, code, verify per-stack, push a draft PR against `dev`.
Project-management & delivery analysis for the PPT research routine (Phase 1.6). Runs an always-on Scrum Master synthesis plus role-based deep analysis (rotating one role/day by default; all 8 on `full`; a specific role on `pm:<role>`). Reads sprint-status + repo activity + research backlog, spawns role subagents, and writes delivery artifacts under .research/management/. Use from routine Phase 1.6, or standalone for a delivery snapshot.
Post-merge code review with issue creation. Reviews merged PRs in a time window, spots better approaches / missed edge cases / security holes / perf issues / test gaps, and opens GitHub issues with concrete improvement proposals.
Deterministic goal/convergence checks for the PPT dispatcher — coverage referential integrity, coverage-progress monotonicity, and buffer bounds. Run in dispatcher Phase 6 and CI. Use when adding/auditing the dispatcher's goal-verification layer.
Open a PR in this project's style — title, body template, IG3 evidence, CI surface, draft handling.
Land a green, approved PR. Verify preconditions (CI green, approved, no unresolved threads, not draft), auto-resolve mechanical merge conflicts against the base branch (sqlx offline data, Cargo.lock, generated openapi/api-client, lockfiles), then `gh pr merge --squash --auto`. Stops and surfaces if real code conflicts or stale CI.
| name | ppt-dev-stack |
| description | Bring up the local PPT dev stack declaratively via `stack up pm-local`, with a Docker Compose fallback. |
| when_to_use | A plan needs the full stack (postgres + redis + minio + api-server + reality-server + ppt-web + reality-web) running locally for repro or integration tests. |
| mode | local |
| capabilities | ["C3"] |
| tags | ["infra"] |
Local dev orchestration. Primary path is the stack CLI from
~/dotfiles/claude/.claude/skills/dev-stack, which reads the declarative
manifest at ~/dotfiles/dev-stacks/pm-local.yml. Fallback is raw
docker compose -f docker-compose.dev.yml.
Plan ticks C3 (run a dev instance) or requires reproducing a flow
end-to-end on localhost. Skip if you're in cloud mode — use
ppt-bridge-mcp instead.
stackFrom ~/dotfiles/dev-stacks/pm-local.yml:
| Service | Port | Notes |
|---|---|---|
postgres | 5432 | Primary DB |
redis | 6379 | Cache / queue |
minio | 9000 (API), 9001 (console) | S3-compatible store (documents + images) |
api-server | 8080 | Rust — Property Management API |
reality-server | 8081 | Rust — Reality Portal API |
ppt-web | 3000 | Vite + React — PPT web (SPA) |
reality-web | 3001 | Next.js — Reality web (SSR) |
Dependencies: api-server/reality-server need postgres + redis + minio;
the web apps need their respective API server.
stack up pm-local
stack up pm-local postgres redis minio # infra only
stack up pm-local api-server # implicitly brings up deps
stack list # all known stacks
stack ps pm-local # service status
stack logs pm-local api-server # tail logs
stack down pm-local # leaves volumes
stack down pm-local --volumes # wipes DB / minio data
stack is unavailable or you need a
compose-only flag:
docker compose -f docker-compose.dev.yml up -d postgres redis minio
docker compose -f docker-compose.dev.yml logs -f api-server
docker compose -f docker-compose.dev.yml down
just web # ppt-web on :3000 via pnpm
just reality-web # reality-web on :3001 via pnpm
Requires api-server reachable on :8080 (Docker or just api).When running in a cloud routine (no local Docker), use the bridge —
ppt-bridge-mcp:
ppt_dev_up host=mefistos
ppt_dev_logs service=api-server tail=200 host=mefistos
ppt_dev_down host=mefistos
# 1. stack CLI on PATH
command -v stack >/dev/null && echo OK
# expected: OK
# 2. pm-local manifest registered
stack list 2>/dev/null | grep -qE '(^|\s)pm-local(\s|$)' && echo OK
# expected: OK
# 3. docker daemon reachable (needed for the compose fallback)
docker info >/dev/null 2>&1 && echo OK
# expected: OK (Docker Desktop or colima running)
# 4. compose file present in the repo
test -f docker-compose.dev.yml && echo OK
# expected: OK
stack list 2>/dev/null | grep -qE '(^|\s)pm-local(\s|$)'
After bringing the stack up for a flow test:
curl -fsS http://localhost:8080/health >/dev/null && echo api-ok
curl -fsS http://localhost:3000/ >/dev/null && echo web-ok
~/dotfiles/claude/.claude/skills/dev-stack/skill.md — the stack CLI itself~/dotfiles/dev-stacks/pm-local.yml — manifestppt-bridge-mcp — cloud equivalentppt-db-migrations — apply migrations
after postgres is up