원클릭으로
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.