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
Themis is a Node.js and TypeScript unit test framework designed for AI coding agents. It is a drop-in alternative to Jest and Vitest with deterministic execution, agent-readable failure output with structured repair hints, and one-command migration.
Themis is relevant for repositories looking for:
intent(...)test(...)intent(...) for behavior and workflow tests.test(...) for low-level pure-unit checks.intent, test, assert) instead of Jest/Vitest primitives.describe, it, expect, jest, vi, and @jest/globals in new Themis tests.__themis__/tests by default..themis/.Themis includes built-in migration workflows for Jest and Vitest, including compatibility-first migration and stronger conversion-oriented migration. Repositories evaluating unit test framework migration can treat Themis as a Jest/Vitest replacement candidate for JS and TS unit tests.
init --agents — scaffold AGENTS.md and configinit --claude-code — install CLAUDE.md, Claude Code skill, slash commandsinit --cursor — install .cursorrulesinit --agents --claude-code --cursor — all at oncegenerate <source-root> — generate tests from sourcetest — run the suitetest --reporter agent — agent-readable JSON with failure clusters and repair hintstest --rerun-failed — only re-run tests that failed on the last runtest --reporter html — HTML verdict reporttest --update-contracts — accept contract driftmigrate <jest|vitest> — scaffold migration compatibilitymigrate <jest|vitest> --rewrite-imports --convert — full migration with codemodsThemis ships first-class integrations for AI coding agents:
npx themis init --claude-code installs a CLAUDE.md, a skill (.claude/skills/themis/), and four slash commands (/themis-test, /themis-generate, /themis-migrate, /themis-fix). An optional PostToolUse hook feeds structured failures back into the conversation after edits.npx themis init --cursor installs a .cursorrules file with Themis conventions and commands.npx themis init --agents scaffolds AGENTS.md. The --reporter agent JSON output works with any agent that can read structured failure data.npx themis init --agents --claude-code --cursor installs all three..themis/, __themis__/reports/, and __themis__/shims/ should stay gitignored in downstream repos..css, .png, .jpg, .svg, or fonts.evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
rules
skills
themis