Windmillに新しいTriggerCrud型のトリガーを追加する際、バックエンドからCLI、画面、同期やキャプチャ機能まで必要な変更箇所を確認できる開発チェックリストです。
- 新しい外部サービスのトリガーを追加したいとき
- 実装箇所の抜け漏れを点検したいとき
- トリガー追加のPR前に検証したいとき
WindmillのAI生成モード向けに、実際の利用要求に沿ったベンチマークケースを作成・実行します。生成結果を決定的な検証とLLM評価で確認し、AIチャットやcopilotの変更前後を比較できます。
Author and run black-box benchmark cases for the Windmill AI generation modes (flow/app/script/cli/global) in ai_evals/. Use when adding or changing eval cases, or when running before/after benchmarks for AI chat / copilot changes.
実行スコア 未検証
インストール方法を見るWindmillのAI生成モード(flow、app、script、cli、global)を対象に、ブラックボックス形式のベンチマークケースを作成して実行します。各ケースは現在の本番プロンプトやツールを通る実際の生成経路を試し、決定的な検証で構文エラーや必須ファイルの不足などを確認したうえで、LLMが利用者目線の要件を評価します。ケース作成では自然な依頼文を使い、特定の実装形を固定するのではなく、必要な振る舞いや制約を評価項目にします。モデルを指定して実行し、変更前後の結果を比べることもできます。
AIチャットやcopilotの変更による生成品質への影響を確認したいときに向いています。新しい評価ケースを追加する場合や、利用者の依頼に対して必要な振る舞いが実現されるかを継続的に見たい場合にも使えます。
実行にはBunが必要です。フロントエンド系モードではWindmillバックエンドへの接続と既存ワークスペースが必要です。モデルプロバイダーのキーはai_evals/.envから読み込まれ、判定には別途Anthropicへの呼び出しが使われます。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
ai_evals/ is a black-box benchmark runner for the Windmill AI generation modes:
flow, app, script, cli, global. It always tests the current production
prompts, tools, and guidance in this checkout. Each attempt runs the real production
path, deterministic validation, then LLM judging.
The goal is to test current production guidance with realistic user requests — not to pin one exact implementation shape.
cd ai_evals
bun install # first time; frontend modes also need `cd frontend && bun install`
bun run cli -- models # list model aliases
bun run cli -- cases global # list cases for a mode
bun run cli -- run global global-test1-script-create --model sonnet
Frontend modes (flow/script/app/global) route model calls through a Windmill
backend's /api/w/<ws>/ai/proxy, so you need any reachable backend:
WMILL_AI_EVAL_BACKEND_URL=http://127.0.0.1:<port> WMILL_AI_EVAL_BACKEND_WORKSPACE=integration-tests \
bun run cli -- run global <caseIds...> --models sonnet,gpt-5.5,gemini-3.1-pro-preview
WMILL_AI_EVAL_BACKEND_WORKSPACE=integration-tests (or any existing workspace) to
reuse one. The only side effect of a run is upserting an f/evals/ai/<provider>
resource there.ai_evals/.env and are auto-loaded by bun. The judge is a
separate Anthropic call (default claude-sonnet-4-6) regardless of the model under
test.judgeChecklist.expected fixtures only when exact structure really matters.Prompts should sound like something a user would naturally ask. Do not write prompts as if the user knows Windmill internals unless the case explicitly tests a power-user workflow.
Good:
Bad:
branchone with 3 branches and a default branch."rawscript step with this exact topology."Use deterministic checks only for hard failures: missing required files; unexpected extra files when the prompt says not to create them; syntax errors; unresolved flow refs; missing required special modules or suspend config; obvious corruption.
Do not encode one preferred implementation. Bad hard checks: exact step topology for a creation flow; exact branch structure when the prompt only asked for routing; exact input shape when multiple reasonable shapes are acceptable.
Every non-trivial case should have a judgeChecklist capturing user-visible behavior
that must be present, important constraints, and key completion criteria — not
low-level implementation details unless truly required.
Good: "the flow calculates the order total with 8% tax"; "the flow reuses the existing
workspace script instead of rewriting the logic". Bad: "uses branchone"; "contains a
rawscript node".
See ai_evals/README.md for the full case format, fields, and fixture details.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Windmillに新しいTriggerCrud型のトリガーを追加する際、バックエンドからCLI、画面、同期やキャプチャ機能まで必要な変更箇所を確認できる開発チェックリストです。
WindmillのAIチャットを変更するときに、ツールやプロンプト、結果の返し方、コンテキスト量を整理し、評価で変更前後の挙動を比べるための指針です。
Windmill CLIのコマンドを使い、スクリプトやフローなどの管理、ジョブの実行履歴確認、失敗原因の調査を進めるためのリファレンスです。
モジュールのインターフェースを小さく保ちながら、内部に複雑な処理をまとめる設計を支援します。テストしやすさや変更のしやすさを考え、処理の境目を整理できます。
変更内容を確認し、対象ファイルだけを選んで、形式や長さの規則に沿ったConventional Commits形式のGitコミットを作成するスキルです。
Windmillのデータテーブルでスキーマ変更をマイグレーションとして管理し、適用・ロールバックする方法や、ロールに基づく権限の扱いを案内します。