Reference tile for Themis, a Node.js and TypeScript unit test framework designed for AI coding agents. Covers unit-test authoring, Jest/Vitest migration, agent-readable failure output with repair hints, and first-class integrations for Claude Code, Cursor, and generic agents.
96
94%
Does it follow best practices?
Impact
97%
2.69xAverage score across 10 eval scenarios
Passed
No known issues
{
"context": "Tests whether the agent uses the correct Themis construct for each module (intent for the multi-step pipeline, test for the pure function), structures intent blocks with the proper ordered phases, includes the triple-slash reference directive in TypeScript files, and avoids Jest/Vitest primitives.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Triple-slash reference in pipeline test",
"description": "document-parser.test.ts contains `/// <reference types=\"@vitronai/themis/globals\" />` as the first line",
"max_score": 12
},
{
"name": "Triple-slash reference in utility test",
"description": "normalize-text.test.ts contains `/// <reference types=\"@vitronai/themis/globals\" />` as the first line",
"max_score": 12
},
{
"name": "intent() for DocumentParser",
"description": "document-parser.test.ts uses `intent(...)` (not `test(...)`) for the DocumentParser pipeline test block",
"max_score": 14
},
{
"name": "test() for normalizeText",
"description": "normalize-text.test.ts uses `test(...)` (not `intent(...)`) for the normalizeText check",
"max_score": 14
},
{
"name": "intent has context phase",
"description": "The intent block in document-parser.test.ts includes a `context(...)` phase (or legacy `arrange(...)`)",
"max_score": 8
},
{
"name": "intent has run phase",
"description": "The intent block in document-parser.test.ts includes a `run(...)` phase (or legacy `act(...)`)",
"max_score": 8
},
{
"name": "intent has assert/verify phase",
"description": "The intent block in document-parser.test.ts includes an `assert(...)` or `verify(...)` phase",
"max_score": 8
},
{
"name": "No Jest/Vitest APIs in test files",
"description": "Neither test file uses `describe(`, `it(`, `expect(`, or imports from `jest`, `@jest/globals`, `vitest`, or `@vitest/globals`",
"max_score": 12
},
{
"name": "Reference directive explained",
"description": "AUTHORING_NOTES.md mentions the triple-slash reference directive and explains it provides global type access for Themis constructs",
"max_score": 12
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
rules
skills
themis