Skip to content

/fix

Fix type errors instead of ignoring them. Use when cleaning up type ignores across files or batch-fixing type errors.

shell
$ npx -y skills add bendrucker/claude --skill fix --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/fix
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Fix type errors instead of ignoring them. Use when cleaning up type ignores across files or batch-fixing type errors.

SKILL.md

fix.SKILL.md
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|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

1. For each file above, spawn a `type-ignore:fixer` agent with prompt: "Fix type ignores in <file_path>" 2. Run type checking to verify fixes 3. Report summary: files fixed, ignores resolved, issues remaining

Spawn agents in parallel via multiple `Agent` calls in a single message.

Read it on GitHub ↗
Ships withbendrucker-claude

My personal plugin marketplace for Claude Code, Anthropic's AI coding assistant.

Get the whole plugin, auto-invoked
Stats
15
Stars
0
Views
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
14h ago
Last commit
1y ago
Created

Repo: bendrucker/claude