Migrate or align frontend repositories to the stock VitePlus workflow. Use when standardizing package or monorepo repos around `vp`, `voidzero-dev/setup-vp`, `vite-plus/test`, and VitePlus-native CI, test, and packaging flows, including updating scripts, test config, CI setup, and packaging commands.
94
94%
Does it follow best practices?
Impact
95%
2.63xAverage score across 3 eval scenarios
Passed
No known issues
{
"context": "Tests whether the agent migrates test imports from direct vitest to vite-plus/test, updates test scripts correctly, avoids invented commands, and handles coverage migration in a coordinated way.",
"type": "weighted_checklist",
"checklist": [
{
"name": "vite-plus/test imports",
"description": "Updated test files import from `vite-plus/test` instead of directly from `vitest` (e.g. `import { describe, it, expect } from 'vite-plus/test'`)",
"max_score": 20
},
{
"name": "vp test in scripts",
"description": "The `test` script in package.json is updated to use `vp test` (not `vitest run`, not `pnpm exec vitest`)",
"max_score": 15
},
{
"name": "No invented vp subcommands",
"description": "The output does NOT contain invented commands such as `vp vitest`, `vp exec vitest`, or `vp run vitest`",
"max_score": 15
},
{
"name": "Watch script uses vp test",
"description": "The watch-mode test script (if present) uses `vp test --watch` and not a direct vitest invocation",
"max_score": 10
},
{
"name": "Coverage script uses vp test",
"description": "The coverage script (if present) uses `vp test --coverage` rather than a direct vitest coverage invocation",
"max_score": 10
},
{
"name": "Coverage migrated together",
"description": "Coverage configuration and test-command wiring are updated in the same set of changes as the test script migration (both appear in the output artifacts)",
"max_score": 10
},
{
"name": "No direct package manager test call",
"description": "The output does NOT recommend running tests via `pnpm test`, `npm test`, or `yarn test` in updated scripts or documentation",
"max_score": 10
},
{
"name": "Coverage-v8 caveat documented",
"description": "The output notes or acknowledges that mixed-version warnings from `@vitest/coverage-v8` are a known VitePlus limitation (not a repo bug), in migration notes or comments",
"max_score": 10
}
]
}