Skip to content

/build-fix

Incrementally fix Python type and lint errors:

From plugin
claude-scholar
5.5k65 skills6 agents65 commands5 hooks
Install
> /plugin marketplace add Galaxy-Dawn/claude-scholar
> /plugin install claude-scholar@claude-scholar

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/build-fix

Context preview

What this command does when you run it.

Incrementally fix Python type and lint errors:

Command definition

build-fix.md

Build and Fix

Incrementally fix Python type and lint errors:

1. Run checks:

  • mypy src/ (type checking)
  • ruff check . (linting)
  • pytest (tests)

2. Parse error output:

  • Group by file
  • Sort by severity

3. For each error:

  • Show error context (5 lines before/after)
  • Explain the issue
  • Propose fix
  • Apply fix
  • Re-run check
  • Verify error resolved

4. Stop if:

  • Fix introduces new errors
  • Same error persists after 3 attempts
  • User requests pause

5. Show summary:

  • Errors fixed
  • Errors remaining
  • New errors introduced

Fix one error at a time for safety!

Ships withclaude-scholar

Semi-automated research assistant for academic research and software development. Supports Claude Code, Codex CLI, Kimi Code CLI, and OpenCode across ideation, coding, experiments, writing, and publication.

Get the whole plugin, auto-invoked

Other commands on claude-scholar.