check_svgrid_code
Verify SvGrid code BEFORE handing it to the user. Checks the source against the real exported surface of the current version - prop names, ColumnDef keys, grid API methods, importable symbols and theme files - plus Svelte 5 runes rules, and returns line-numbered diagnostics with the exact replacement for each. Run it on every file you write that uses SvGrid, fix what it reports, and run it again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The full file contents to check. | |
| filename | No | File name, used to pick which rules apply. Defaults to "Component.svelte". |