• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

output-services-check

プラグイン
outputai
ソース
GitHub で見る ↗
説明

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.

ユースケース
  • ワークフローをデバッグするとき
  • 開発を始めるとき
  • 接続エラーが発生したとき
  • サービスが停止している可能性があるとき
  • ECONNREFUSED やタイムアウトエラーが表示されたとき
本文(日本語訳)

Output Services Health Check

概要

このスキルは、Output SDKの開発に必要なサービスがすべて正常に動作しているか確認します。Output SDKはローカル開発に3つのサービスが必要です:Dockerコンテナ(独立したアプリケーション実行環境)、APIサーバー、およびそのUIを備えたTemporalサーバー(ワークフロー実行基盤)です。

このスキルを使用する場合

  • デバッグセッションを開始するとき
  • 接続拒否エラー(ECONNREFUSED)が発生したとき
  • ワークフローが起動または接続できないとき
  • ワークフロー実行時にタイムアウトエラーが発生したとき
  • ワークフロー関連のコマンドを実行する前
  • 開発環境が応答しないように見えるとき

手順

ステップ1:Dockerコンテナを確認

docker ps | grep output

期待される結果: outputに関連するコンテナが実行中に表示されます。何も表示されない場合は、Dockerが起動していないか、サービスが開始されていません。

ステップ2:APIサーバーの状態を確認

curl -s http://localhost:3001/health

期待される結果: ヘルスステータスが返されます。「接続拒否」のエラーが出る場合は、APIサーバーが起動していません。

ステップ3:Temporal UIにアクセスできるか確認

curl -s http://localhost:8080 > /dev/null && echo "Temporal UI accessible" || echo "Temporal UI not accessible"

期待される結果: 「Temporal UI accessible」と表示されます。アクセスできない場合は、Temporalサーバーが起動していない可能性があります。

修復手順

Dockerが起動していない場合:

  1. Docker Desktop(macOS/Windows)またはDockerデーモン(Linux)を開始する
  2. Dockerが完全に初期化されるまで待つ
  3. 上記の確認を再実行する

サービスが起動していない場合:

# すべての開発サービスを開始
npx output dev

すべてのサービスが初期化されるまで30~60秒待ってから、確認を再実行してください。

一部のサービスだけダウンしている場合:

# `output dev`は部分的に起動した状態を自動で修復します。
# 欠けているコンテナに対して起動コマンドを実行し、
# 監視のため接続を保つため、このコマンドを使用してください。
npx output dev

すべて停止して新しく開始する場合:

npx output dev down
npx output dev

サービスの起動に失敗した場合:

  1. ポート競合を確認:lsof -i :3001 と lsof -i :8080
  2. Dockerログを確認:docker compose logs
  3. システムリソース(メモリ、ディスク容量)が十分あるか確認する

判定フロー

IF 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
原文(English)を表示

Output Services Health Check

Overview

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.

When to Use This Skill

  • Starting a debugging session
  • Encountering connection refused errors (ECONNREFUSED)
  • Workflows failing to start or connect
  • Timeout errors when running workflows
  • Before running any workflow commands
  • When the development environment seems unresponsive

Instructions

Step 1: Check Docker Containers

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.

Step 2: Check API Server Health

curl -s http://localhost:3001/health

Expected: Returns a health status response. If this fails with "Connection refused", the API server is not running.

Step 3: Check Temporal UI Accessibility

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.

Remediation Steps

If Docker is not running:

  1. Start Docker Desktop (macOS/Windows) or the Docker daemon (Linux)
  2. Wait for Docker to fully initialize
  3. Re-run the checks

If services are not running:

# Start all development services
npx output dev

Wait 30-60 seconds for all services to initialize, then re-run the checks.

If only some services are down:

# `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

If services fail to start:

  1. Check for port conflicts: lsof -i :3001 and lsof -i :8080
  2. Check Docker logs: docker compose logs
  3. Ensure you have sufficient system resources (memory, disk space)

Decision Tree

IF 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

Examples

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 による自動翻訳です。