Output SDK 開発サービスが実行中であることを確認します。 次のような場合に使用: ワークフローをデバッグするとき、開発を始めるとき、接続エラーが発生したとき、サービスが停止している可能性があるとき、または「ECONNREFUSED」やタイムアウトエラーが表示されたとき。
Verify Output SDK development services are running. Use when debugging workflows, starting development, encountering connection errors, services may be down, or when you see "ECONNREFUSED" or timeout errors.
このスキルは、Output SDKの開発に必要なサービスがすべて正常に動作しているか確認します。Output SDKはローカル開発に3つのサービスが必要です:Dockerコンテナ(独立したアプリケーション実行環境)、APIサーバー、およびそのUIを備えたTemporalサーバー(ワークフロー実行基盤)です。
docker ps | grep output
期待される結果: outputに関連するコンテナが実行中に表示されます。何も表示されない場合は、Dockerが起動していないか、サービスが開始されていません。
curl -s http://localhost:3001/health
期待される結果: ヘルスステータスが返されます。「接続拒否」のエラーが出る場合は、APIサーバーが起動していません。
curl -s http://localhost:8080 > /dev/null && echo "Temporal UI accessible" || echo "Temporal UI not accessible"
期待される結果: 「Temporal UI accessible」と表示されます。アクセスできない場合は、Temporalサーバーが起動していない可能性があります。
# すべての開発サービスを開始
npx output dev
すべてのサービスが初期化されるまで30~60秒待ってから、確認を再実行してください。
# `output dev`は部分的に起動した状態を自動で修復します。
# 欠けているコンテナに対して起動コマンドを実行し、
# 監視のため接続を保つため、このコマンドを使用してください。
npx output dev
すべて停止して新しく開始する場合:
npx output dev down
npx output dev
lsof -i :3001 と lsof -i :8080docker compose logsIF docker_not_running:
処置: Docker Desktop/デーモンを起動する
待機: Docker初期化まで
IF no_output_containers:
実行: npx output dev
待機: 30~60秒
IF api_not_responding:
確認: ポート3001が競合していないか
実行: output dev(まだ起動していない場合)
IF temporal_not_accessible:
確認: ポート8080が競合していないか
確認: Temporalエラーについてcompose ログを確認
IF all_services_healthy:
進行: ワークフローデバッグを開始
シナリオ: ユーザーがワークフロー実行時に「接続拒否」を報告している
# まずサービスが実行中か確認
docker ps | grep output
# 出力: (空白 - コンテナなし)
# サービスを開始
npx output dev
# 待機して確認
sleep 60
curl -s http://localhost:3001/health
# 出力: {"status":"healthy"}
シナリオ: サービスの部分的な障害
# APIは応答するがTemporalは応答しない
curl -s http://localhost:3001/health # 成功
curl -s http://localhost:8080 # 失敗
# Temporalログを確認
docker compose logs temporal
# Temporalのみを再起動
docker compose restart temporal
This skill verifies that all required Output SDK development services are running and healthy. The Output SDK requires three services for local development: Docker containers, the API server, and the Temporal server with its UI.
docker ps | grep output
Expected: You should see containers related to output running. If no containers appear, Docker may not be running or the services haven't been started.
curl -s http://localhost:3001/health
Expected: Returns a health status response. If this fails with "Connection refused", the API server is not running.
curl -s http://localhost:8080 > /dev/null && echo "Temporal UI accessible" || echo "Temporal UI not accessible"
Expected: "Temporal UI accessible". If not accessible, Temporal server may not be running.
# Start all development services
npx output dev
Wait 30-60 seconds for all services to initialize, then re-run the checks.
# `output dev` reconciles a partially-up stack itself — it runs `up -d` for the
# missing containers, then attaches to monitor. Prefer it over raw compose so
# the project name and compose file match what the CLI uses.
npx output dev
To stop everything first and start clean:
npx output dev down
npx output dev
lsof -i :3001 and lsof -i :8080docker compose logsIF docker_not_running:
ACTION: Start Docker Desktop/daemon
WAIT: for Docker to initialize
IF no_output_containers:
RUN: npx output dev
WAIT: 30-60 seconds for services
IF api_not_responding:
CHECK: port 3001 for conflicts
RUN: output dev (if not already running)
IF temporal_not_accessible:
CHECK: port 8080 for conflicts
CHECK: docker compose logs for Temporal errors
IF all_services_healthy:
PROCEED: with workflow debugging
Scenario: User reports "connection refused" when running a workflow
# First, check if services are running
docker ps | grep output
# Output: (empty - no containers)
# Start services
npx output dev
# Wait and verify
sleep 60
curl -s http://localhost:3001/health
# Output: {"status":"healthy"}
Scenario: Partial service failure
# API responds but Temporal doesn't
curl -s http://localhost:3001/health # Works
curl -s http://localhost:8080 # Fails
# Check Temporal logs
docker compose logs temporal
# Restart just Temporal
docker compose restart temporal
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。