Implement, debug, refactor, migrate, review, or explain Effect TypeScript code. Use when a task touches `effect` or `@effect/*` APIs, especially services, layers, schemas, runtime wiring, platform or CLI packages, Effect testing, or Promise-to-Effect migration.
98
100%
Does it follow best practices?
Impact
93%
1.16xAverage score across 3 eval scenarios
Passed
No known issues
{
"context": "The agent is asked to audit and fix an Effect TypeScript project configuration. This scenario tests whether the agent knows the correct package selection (no @effect/schema, single platform runtime), required tsconfig options, language-service setup, and VS Code workspace TypeScript settings.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Removed @effect/schema",
"description": "The corrected package.json does not include @effect/schema as a dependency, since Schema is part of the effect package itself",
"max_score": 10
},
{
"name": "Single platform package",
"description": "The corrected package.json includes only one platform runtime package (@effect/platform-node, since the project targets Node.js), and @effect/platform-bun is removed",
"max_score": 10
},
{
"name": "Test framework added",
"description": "vitest and @effect/vitest are added to the dependencies or devDependencies in the corrected package.json",
"max_score": 8
},
{
"name": "strict: true set",
"description": "The corrected tsconfig.json has strict set to true",
"max_score": 8
},
{
"name": "exactOptionalPropertyTypes",
"description": "The corrected tsconfig.json includes exactOptionalPropertyTypes: true",
"max_score": 7
},
{
"name": "verbatimModuleSyntax",
"description": "The corrected tsconfig.json includes verbatimModuleSyntax: true",
"max_score": 7
},
{
"name": "noUnusedLocals",
"description": "The corrected tsconfig.json includes noUnusedLocals: true",
"max_score": 5
},
{
"name": "noImplicitOverride",
"description": "The corrected tsconfig.json includes noImplicitOverride: true",
"max_score": 5
},
{
"name": "Language service plugin",
"description": "The corrected tsconfig.json includes @effect/language-service in the compilerOptions.plugins array",
"max_score": 10
},
{
"name": "language-service in package.json",
"description": "The corrected package.json includes @effect/language-service as a dev dependency",
"max_score": 7
},
{
"name": "VS Code workspace TypeScript",
"description": "The .vscode/settings.json file sets typescript.tsdk to ./node_modules/typescript/lib and enables typescript.enablePromptUseWorkspaceTsdk: true",
"max_score": 8
},
{
"name": "Audit report completeness",
"description": "AUDIT.md explains each category of problem found (wrong schema package, dual platform runtimes, missing test tools, tsconfig strictness gaps, missing language service) with a reason for each fix",
"max_score": 8
},
{
"name": "Node module settings",
"description": "The corrected tsconfig.json uses module: NodeNext (or similar Node-appropriate setting) rather than a bundler-only setting, consistent with the Node.js runtime target",
"max_score": 7
}
]
}