analyze_coverage
Scan UI components and their previews to identify missing coverage: parameter states, environment objects, dark theme, large text, and localization. Get a report of gaps without modifying code.
Instructions
Scan the codebase for UI components and the previews that cover them, and report what each component is missing: states implied by its parameters, environment objects no preview supplies, dark theme, large text, and localization when the project ships one. Read-only — it reports the gaps, it does not write previews. After editing, pass changed: true (or paths) to hear only about what you touched; the whole project is always scanned either way, so the answers stay correct.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Project directory containing phonebook.config.json | . |
| paths | No | Report only components declared in these files or directories, relative to the project directory. The whole project is still scanned. | |
| changed | No | Report only components in files with uncommitted git changes — what you just edited. Ignored outside a git repository. Combined with paths when both are given. |