vitest_scaffold_config
Generates Vitest browser config, test setup, and package.json test script to scaffold migration for a given package.
Instructions
Deterministically generates vitest.config.browser.mjs, test/setup.ts, and adds package.json test:vitest:browser script.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packagePath": "<packagePath>"
},
"name": "vitest_scaffold_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Package classification tier from vitest_classify_package | |
| packagePath | Yes | Absolute path to the package directory |