write-ai-eval-test
Installation
SKILL.md
Writing AI Eval Tests (test/ai_evals/)
Guardrails & Forbidden Actions
[!CAUTION]
- 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.- CRITICAL RULE — NEVER SET OR PASS CONTEXT: NEVER call
findAndSetContext(or any panel/UI context-selection helper) and NEVER passcontexttoevalTask.executePrompt(...), even wheninitial_contextis present intask.textproto.- CRITICAL RULE — MINIMAL FILE READS & NO UNREQUESTED COMMANDS:
- Only read
task.textproto,agent_prompt.md, andBUILD.gnfiles. Do NOT readai_eval-helpers.ts,ai-eval-state-provider.ts,base-apps/,front_end/, or legacy tests that usefindAndSetContext.- Do NOT run
git,autoninja,./dt lint, or./dt testunless the user explicitly asks to build or run the test.