write-ai-eval-test

Installation
SKILL.md

Writing AI Eval Tests (test/ai_evals/)

Guardrails & Forbidden Actions

[!CAUTION]

  1. CRITICAL RULE — SINGLE V2 TEST ONLY: Always write only one V2 evaluation test per eval (enabledFeatures: ['DevToolsAiV2Architecture']) using the canonical template below. NEVER create V1 tests or V1+V2 pairs.
  2. CRITICAL RULE — NEVER SET OR PASS CONTEXT: NEVER call findAndSetContext (or any panel/UI context-selection helper) and NEVER pass context to evalTask.executePrompt(...), even when initial_context is present in task.textproto.
  3. CRITICAL RULE — MINIMAL FILE READS & NO UNREQUESTED COMMANDS:
    • Only read task.textproto, agent_prompt.md, and BUILD.gn files. Do NOT read ai_eval-helpers.ts, ai-eval-state-provider.ts, base-apps/, front_end/, or legacy tests that use findAndSetContext.
    • Do NOT run git, autoninja, ./dt lint, or ./dt test unless the user explicitly asks to build or run the test.

Fast 2-Step Workflow (All Domains)

Installs
2
GitHub Stars
4.1K
First Seen
Nov 6, 2026