behavioral-evals

作成者: google-gemini

行動評価の作成、実行、修正、促進に関するガイダンス。エージェントの意思決定ロジックの検証、障害のデバッグ、プロンプトのデバッグなどに使用します。

npx skills add https://github.com/google-gemini/gemini-cli --skill behavioral-evals

Behavioral Evals

Overview

Behavioral evaluations (evals) are tests that validate the agent's decision-making (e.g., tool choice) rather than pure functionality. They are critical for verifying prompt changes, debugging steerability, and preventing regressions.

[!NOTE] Single Source of Truth: For core concepts, policies, running tests, and general best practices, always refer to evals/README.md.


🔄 Workflow Decision Tree

  1. Does a prompt/tool change need validation?
    • No -> Normal integration tests.
    • Yes -> Continue below.
  2. Is it UI/Interaction heavy?
  3. Is it a new test?
    • Yes -> Set policy to USUALLY_PASSES.
    • No -> ALWAYS_PASSES (locks in regression).
  4. Are you fixing a failure or promoting a test?

📋 Quick Checklist

1. Setup Workspace

Seed the workspace with necessary files using the files object to simulate a realistic scenario (e.g., NodeJS project with package.json).

2. Write Assertions

Audit agent decisions using rig.setBreakpoint() (AppRig only) or index verification on rig.readToolLogs().

3. Verify

Run single tests locally with Vitest. Confirm stability locally before relying on CI workflows.


📦 Bundled Resources

Detailed procedural guides:

  • creating.md: Assertion strategies, Rig selection, Mock MCPs.
  • fixing.md: Step-by-step automated investigation, architecture diagnosis guidelines.
  • promoting.md: Candidate identification criteria and threshold guidelines.

google-geminiのその他のスキル

greeter
google-gemini
フレンドリーな挨拶スキル
official
async-pr-review
google-gemini
ユーザーが非同期PRレビューを開始したい、PRのバックグラウンドチェックを実行したい、または以前に開始した非同期PRのステータスを確認したい場合に、このスキルをトリガーしてください…
official
ci
google-gemini
Gemini CLI向けの高性能でフェイルファストな専門スキル
official
code-reviewer
google-gemini
ローカル変更とリモートプルリクエストに対する自動コードレビュー。正確性、保守性、セキュリティにわたる構造化分析を提供。ローカルファイルシステムの変更(ステージ済みおよび未ステージ)とリモートPR(番号またはURL指定)の両方をサポートし、GitHub CLIによる自動チェックアウトを実行。コードを正確性、保守性、可読性、効率性、セキュリティ、エッジケース処理、テストカバレッジの7つの観点で分析。オプションで事前検証スイート(例:npm run preflight)を実行し、問題を検出。
official
docs-changelog
google-gemini
新リリース向けのチェンジログファイルを生成・フォーマットします。バージョン認識テンプレートとハイライト抽出機能を備え、安定版マイナーバージョン、安定版パッチ、プレビューリリースの3種類のリリースタイプに対応し、それぞれ異なるファイル更新手順を実行します。生のMarkdownリリースノートを自動処理し、PR URLをMarkdownリンクに再フォーマットし、コントリビューターセクションを削除します。リリース告知向けに、新機能をバグ修正より優先した3~5項目の簡潔なハイライトサマリーを生成します。対応...
official
docs-writer
google-gemini
Gemini CLIドキュメント向けのテクニカルライティングおよび編集。厳格なスタイル準拠を実施。一貫性を確保するため、文体、トーン、文法、フォーマット、構造を網羅した包括的なドキュメント基準を適用します。変更を行う前に、関連するコードと既存のドキュメントを調査し、影響を受けるページやサイドバーナビゲーションの更新を確認する必要があります。見出し、リスト、手順、リンク、アクセシビリティに関する特定のルールを適用します。...
official
github-issue-creator
google-gemini
GitHub issueを作成するよう求められたときにこのスキルを使用します。さまざまなissueを処理します
official
pirate-skill
google-gemini
海賊のように話す。
official