ワンクリックで
ops-run-local
Manage the local Docker Compose development environment. Supports start, stop, restart, and status operations.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manage the local Docker Compose development environment. Supports start, stop, restart, and status operations.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Check application logs from local Docker Compose or remote AWS CloudWatch environments. Supports local, staging, and production targets.
Deploy the Your Project Rails application to staging or production. Supports local builds via bin/deploy-staging and CI/CD via branch pushes.
Verify that Solid Queue background jobs are running properly. Checks worker health, recurring job execution, and optionally triggers a test job to prove end-to-end processing. Supports local, staging, and production targets.
Verify that OpenTelemetry traces are being collected and exported to X-Ray. Check trace health, find slow requests, investigate errors, and view service dependencies.
Best practices for Rails Action Mailer. Use when writing new mailers, refactoring existing mailers, or when a mailer has inline business logic, missing previews, synchronous delivery, or mixed responsibilities. Applies patterns - single-responsibility mailers, parameterized mailers, deliver_later by default, mailer concerns, service delegation, previews, and structured testing.
Best practices for Rails Active Job with Solid Queue. Use when writing new background jobs, refactoring existing jobs, or when a job has mixed responsibilities, inline business logic, non-idempotent design, or missing error handling. Applies patterns - single-responsibility jobs, argument serialization, idempotent design, retry/discard strategies, queue management, recurring schedules, job concerns, and service delegation.
| name | ops-run-local |
| description | Manage the local Docker Compose development environment. Supports start, stop, restart, and status operations. |
| allowed-tools | ["Bash","Read"] |
Manage the local Docker Compose stack for the Your Project Rails application.
Action: $ARGUMENTS (expected: start, stop, restart, or status; default: start)
Verify Docker is running:
docker info > /dev/null 2>&1
If not running, inform the user to start Docker Desktop.
Verify .env file exists:
test -f .env
If not, inform the user to copy env.sample to .env.
startBuild and start all services in the background:
docker compose up --build -d
Wait for the db health check to pass:
docker compose ps
Run a health check:
curl -sf http://localhost:3000/up
Report the result: services running, port 3000 available
stopStop all services:
docker compose down
Confirm services are stopped:
docker compose ps
restartStop all services:
docker compose down
Build and start all services:
docker compose up --build -d
Health check:
curl -sf http://localhost:3000/up
statusShow running containers:
docker compose ps
Run health checks:
curl -sf http://localhost:3000/up && echo "Web: healthy" || echo "Web: unhealthy"
Show recent logs (last 10 lines per service):
docker compose logs --tail=10 web worker
Run the specified action now.