Wendy Cloud Testingのロゴ

Wendy Cloud Testing

組織
wendylabsinc
wendy-cloud-testing

Wendy Cloud testing skill — supplies test commands, stack setup, and failure-mode knowledge for the cloud monorepo. Use when: (1) running Swift broker integration tests, (2) checking whether the local dev stack is healthy, (3) diagnosing enrollment or certificate errors, (4) verifying device reachability. Pair with /wendy-iterating to drive a continuous fix loop.

概要

公開者wendylabsinc
リポジトリclaude-skills
スキル名wendy-cloud-testing
スター
62
フォーク
5
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    wendylabsincがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルWendy Cloud TestingをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/wendylabsinc/claude-skills/tree/main/wendy-cloud-testing
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wendylabsinc/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/wendy-cloud-testing .claude/skills/wendy-cloud-testing
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWendy Cloud Testingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にWendy Cloud Testingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Wendy Cloud Testingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Wendy Cloud Testing

This skill supplies the Wendy Cloud-specific testing knowledge. Pair it with /wendy-iterating to drive a continuous iterate-fix-ship loop:

"Iterate on this feature using /wendy-iterating. Use /wendy-cloud-testing to determine how to test for bugs and completion."

Prerequisites Check

Run at the very start of every session. Fix every gap before running any tests.

bash
#!/usr/bin/env bash
set -euo pipefail
MISSING=()

if ! command -v brew &>/dev/null; then MISSING+=("Homebrew"); fi

if ! command -v docker &>/dev/null; then
  MISSING+=("Docker Desktop")
else
  if ! docker info &>/dev/null 2>&1; then
    open -a Docker
    until docker info &>/dev/null 2>&1; do sleep 3; done
  fi
fi

if ! command -v gh &>/dev/null; then MISSING+=("gh"); fi
if ! gh auth status &>/dev/null 2>&1; then MISSING+=("gh auth (run: gh auth login)"); fi
if ! command -v swift &>/dev/null; then MISSING+=("Swift toolchain"); fi
if ! command -v protoc &>/dev/null; then brew install protobuf; fi
if ! command -v wendy &>/dev/null; then MISSING+=("wendy CLI"); fi
[ -d "/Users/wendy/Documents/Projects/pki-core" ] || \
  gh repo clone wendylabsinc/pki-core /Users/wendy/Documents/Projects/pki-core -- --depth=1

if [ ${#MISSING[@]} -gt 0 ]; then
  echo "BLOCKED:"; for item in "${MISSING[@]}"; do echo "  - $item"; done; exit 1
fi
echo "All prerequisites satisfied."

Repository Layout

RepoLocationPurpose
cloud/Users/wendy/Documents/Projects/cloudMain monorepo (console, swift broker, infra). main = current codebase; legacy = old Firebase prod, frozen
pki-core/Users/wendy/Documents/Projects/pki-corePKI certificate authority engine

Stack Architecture

Ports

PortServiceNotes
50051Swift brokerPlaintext gRPC
50052Swift tunnel-brokerOne-way TLS
8080Swift broker HTTPVideo REST/WebSocket
9400EnvoygRPC-web proxy
9443pki-coreCertificate issuance
9300PostgresPrimary database

Starting the full stack

bash
cd /Users/wendy/Documents/Projects/cloud
make dev-local    # broker built on the host (fast rebuilds)
# or: make dev-docker   # broker in Docker, no Swift toolchain needed

Both are zero-parameter: Postgres, Swift broker + tunnel-broker, gRPC-web Envoy, dev user/org seed. There is no separate Go services container any more.

Verify:

bash
lsof -iTCP:50051 -iTCP:50052 -iTCP:9400 -sTCP:LISTEN -nP 2>/dev/null | grep -E "50051|50052|9400"

The launcher copies docker-compose.override.yml.example to docker-compose.override.yml on first run; edit that copy rather than writing one by hand.

Authenticating the CLI Against the Local Stack

Known broken end to end (WDY-2330) per cloud docs/local-dev.md: the broker only trusts wendy-auth realm JWKS, so the HS256 Dev Login token is rejected (UNAUTHENTICATED). Treat this flow as its shape, not a working path, until console/ replaces it.

Run once per session:

bash
cd /Users/wendy/Documents/Projects/cloud
wendy auth login --cloud http://localhost:9200 --cloud-grpc localhost:50051 --json \
  > /tmp/wendy-auth-out.txt 2>&1 &
sleep 3
cat /tmp/wendy-auth-out.txt

Then use Chrome MCP tools to complete the browser flow:

  1. Navigate to the cli-auth URL printed in the output.
  2. If redirected to /login: click "Dev Login (local only)", wait 3s, re-navigate.
  3. Click "Select" next to "wendylabsinc".
  4. Wait 8 seconds for certificate issuance.
  5. Verify: output ends with Certificates saved.

Running the Test Suite

Swift integration tests (primary signal)

bash
cd /Users/wendy/Documents/Projects/cloud
make test-swift 2>&1 | tail -40

Filter to a specific test (the Makefile target has no FILTER knob):

bash
cd swift && swift test --filter <TestName>

Tests use BrokerFixture (in-process gRPC, MockPKIServer, real Postgres). No real Swift broker or pki-core needed. Approximately 60 tests across 8 suites.

What to Check Each Iteration

  1. Run make test-swift — any failures are the primary signal.
  2. With make dev-local, broker logs go only to the launcher terminal (swift/scripts/start-local.sh runs the broker in the background on stdout; no log file). Read them there.
  3. With make dev-docker, check container logs: docker compose logs --since 10m swift-broker 2>/dev/null | grep -iE "error|fatal|panic" | tail -20
  4. Check device reachability: wendy discover --json 2>&1 | head -10

Clean Definition

An iteration is clean when ALL of the following hold:

  • make test-swift reports 0 failures
  • No error|fatal|panic lines in broker logs from the last check interval
  • wendy discover returns at least one device (or device testing is explicitly skipped)

Common Failure Modes

SymptomLikely CauseFix
Bool? nil creates OID 0 paramsPostgresNIO cannot infer type for nil BoolUse \(value)::bool explicit cast
connection pool exhaustedPostgres default max_connections (100) hitSet pool size to 1 in TestDB.swift
Handler not registered in BrokerFixtureHandler created but never added to test serverRegister handler in BrokerFixture.swift
Address already in use on :50051 or :50052Previous broker process still runningpkill -f start-local.sh; pkill -f /.build/.*broker; sleep 2
unknown profile "operator-tier-a"pki-core profile name mismatchUse profile "operator" in CertificateServiceHandler.swift
certificate is not valid for client authenticationProduction CLI cert missing clientAuth Extended Key UsageKnown cloud PKI bug; use local stack for testing

Device Testing (Optional)

Skip if no device is on the network or if the production cert lacks clientAuth Extended Key Usage (a known cloud PKI bug).

bash
# Discover devices
wendy discover --json 2>&1

# Check device info (requires valid clientAuth cert)
wendy cloud device info --device "$DEVICE_HOST" --json 2>&1 | head -20

If device info fails with "certificate is not valid for client authentication", skip the mTLS checks — this is the known production PKI bug, not a regression.

よくある質問

AIスキル「Wendy Cloud Testing」では何ができますか?

Wendy Cloud testing skill — supplies test commands, stack setup, and failure-mode knowledge for the cloud monorepo. Use when: (1) running Swift broker integration tests, (2) checking whether the local dev stack is healthy, (3) diagnosing enrollment or certificate errors, (4) verifying device reachability. Pair with /wendy-iterating to drive a continuous fix loop.

TypingMindでWendy Cloud Testingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Wendy Cloud Testingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWendy Cloud Testingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/wendylabsinc/claude-skills/tree/main/wendy-cloud-testingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Wendy Cloud Testingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Wendy Cloud Testingは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWendy Cloud Testingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Wendy Cloud Testing」は無料ですか?

wendylabsincがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇