| name | type-ignore:fix |
| disable-model-invocation | true |
| description | Fix type errors instead of ignoring them. Use when cleaning up type ignores across files or batch-fixing type errors. |
| argument-hint | <file-or-glob> |
| context | fork |
| agent | general-purpose |
| allowed-tools | ["Read","Grep","Glob","Agent"] |
Type Ignore Fixer
Fix type errors instead of ignoring them.
Scope
$ARGUMENTS
If no scope provided, scan the entire codebase.
Type Ignores Found
!rg '@ts-ignore|@ts-expect-error|eslint-disable|biome-ignore|oxlint-disable|oxfmt-ignore|type:\s*ignore|noqa|pylint:\s*disable|//nolint|//lint:ignore|#\[allow\(' -g '*.{ts,tsx,js,jsx,py,go,rs,rb}' -l 2>/dev/null || echo "none found"
Process
- For each file above, spawn a
type-ignore:fixer agent with prompt: "Fix type ignores in <file_path>"
- Run type checking to verify fixes
- Report summary: files fixed, ignores resolved, issues remaining
Spawn agents in parallel via multiple Agent calls in a single message.