Evals Implementのロゴ

Evals Implement

組織
tikalk
evals-implement

Use when a published goldset is ready to become executable graders and configs — Python graders and metrics with auto-run unit tests verifying grader correctness.

Add to TypingMind

概要

公開者tikalk
リポジトリadlc-team-skills
スキル名evals-implement
スター
144
フォーク
2
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

evals-implement

What this skill does

Generates the complete executable evaluation implementation following EDD Principle VIII (Close Production Loop) from the published goldset, with automated unit testing to verify evaluator correctness.

Output:

  1. Grader/Metric Implementation - Python evaluators for each goldset criterion with binary pass/fail
    • PromptFoo: Python grader functions with JSON output in evals/{system}/graders/
    • DeepEval: Custom metric classes inheriting from BaseMetric
  2. Evaluator Unit Tests - Automated tests (evals/{system}/tests/test_check_*.py) that run the goldset pass/fail examples against the generated graders to ensure the evaluator itself is accurate
  3. Evaluation Configuration - Complete config file (config.js or config.py) with Tier 1 + Tier 2 evaluation structure
  4. Auto-handoff to /evals-validate to run validation

Key EDD Principles Applied:

  • Principle VIII: Close Production Loop - Failure type gates route to appropriate actions
  • Principle II: Binary Pass/Fail - Ensure graders return strictly 1.0 (pass) or 0.0 (fail)
  • Principle IX: Test Data as Code - Unit test generated code against dataset examples

When to use

  • After /evals-clarify: Convert accepted goldset criteria into executable code
  • Regenerating configs: Re-build evaluator suite after adding new goldset criteria
  • Adding unit tests: Hardening the evaluator itself against regression or bugs

When NOT to use

  • Goldset not published: Run /evals-clarify to generate goldset.json first
  • Running evaluations: Use /evals-validate to run the suite against application outputs

Process

User Input

text
$ARGUMENTS
  • --system SYSTEM — Override active evaluation framework (promptfoo or deepeval)
  • --no-tests — Skip automated unit test generation for graders (not recommended)

Execution Steps

Phase 1: Trace-to-Grader Synthesis (Automated Eval Engineering)
  • Reads evals/{system}/goldset.json.
  • Maps rich evidence fields from the goldset criteria into grader logic (Trace-to-Grader Synthesis):
    • Uses pass_condition and fail_condition as the grader's core rubric.
    • Extracts pass/fail examples to act as raw data anchors and few-shot classification anchors inside the grader logic.
    • Injects Root Cause Analysis and axial_coding notes as contextual prompt guidelines or regex patterns to catch exact failure manifestations.
  • For PromptFoo: Generates Python grader functions (evals/{system}/graders/check_*.py) containing specialized, dynamic LLM-judge templates or regex checks compiled from these goldset inputs.
  • For DeepEval: Generates Custom Metric classes inheriting from BaseMetric compiled from these goldset inputs.
  • All graders conform strictly to the binary pass/fail standard (returning only 1.0 or 0.0, with zero Likert scale leakage).
Phase 2: Unit Test Generation
  • Generates matching unit tests (evals/{system}/tests/test_check_*.py) for each grader.
  • Unit tests verify the grader correctly identifies the goldset's training pass and fail examples.
Phase 2b: Closed-Loop Grader Self-Tuning
  • Executes generated unit tests (pytest evals/{system}/tests/) to verify evaluator accuracy.
  • Grader Calibration Loop:
    1. Inspects test results to detect any misclassifications (false positives/negatives) on the training cases.
    2. If any test fails, triggers a feedback edit step that parses the failure reasons and automatically adjusts the grader's internal prompt rubric, regex stubs, or score thresholds.
    3. Re-runs pytest to check accuracy.
    4. Repeats for up to 3 iterations (the hard circuit-breaker limit).
  • Holdout Locking: Ensure the holdout validation set (holdout.json) remains completely isolated and is never loaded or exposed to the self-tuning loop (to prevent overfitting).
  • Failure Escalation: If the grader does not converge to 100% training accuracy within 3 iterations, the loop halts, surfaces the failing test case details, and raises an error rather than passing silently.
Phase 3: Config Generation
  • Generates the unified framework configuration file (config.js or config.py).
  • Configures separate Tier 1 (fast checks, <30s, deterministic) and Tier 2 (semantic checks, <5min, LLM-judge) pipelines.
Phase 4: Auto-Handoff

Trigger /evals-validate to run validation.

Verification

  • evals/{system}/graders/ contains Python grader scripts for each criterion compiled dynamically from goldset pass/fail examples and root-cause analyses
  • evals/{system}/tests/ contains matching unit test files
  • Framework config (config.js or config.py) successfully generated
  • Grader calibration self-tuning loop ran and converged to 100% training accuracy within the 3-iteration cap (or raised explicit non-convergence errors)
  • Holdout dataset protection confirmed (validation holdout.json remained completely isolated and untouched during tuning)
  • All grader unit tests pass locally (pytest evals/{system}/tests/)
  • Handover summary lists generated graders, self-tuning iterations, and test results

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Evals Implement」では何ができますか?

Use when a published goldset is ready to become executable graders and configs — Python graders and metrics with auto-run unit tests verifying grader correctness.

TypingMindでEvals Implementを使うメリットは何ですか?

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

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

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

Evals Implementを使えるAIモデルはどれですか?

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

Evals Implementで使えるAIモデルの数に制限はありますか?

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

AIスキル「Evals Implement」は無料ですか?

はい。tikalkがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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