build-fix

Fix Python build, lint, and type errors incrementally with pytest, ruff, and mypy.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fernando-fernandez3/claude-code-resources --skill build-fix-fernando-fernandez3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/fernando-fernandez3/claude-code-resources/tree/main/my-config/skills/build-fix
Command: npx skills add https://github.com/fernando-fernandez3/claude-code-resources --skill build-fix-fernando-fernandez3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Incrementally fix Python build, lint, and type errors.

Core Features & Use Cases

  • Incremental error diagnosis: Identify and categorize failures from pytest, ruff, and mypy.
  • Guided fix loop: Read errors, explain issues, propose minimal changes, apply fixes, and re-run checks.
  • Safe iteration: Stop after three attempts if errors persist or cause cascading issues.

Quick Start

Run the guided fix workflow on a failing project to resolve build, lint, and type errors efficiently.

Frequently Asked Questions about build-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix pytest and ruff errors in my Python project?

You can incrementally fix pytest and ruff errors by running a guided fix loop that reads failures, explains issues, proposes minimal changes, applies fixes, and re-runs checks. This Skill automates that exact workflow for Python projects.

What is the best way to incrementally resolve mypy type checking errors?

Incrementally resolving mypy type checking errors is best done with a guided fix workflow that diagnoses failures, proposes minimal code changes, and re-runs checks to verify results. This approach stops safely after three attempts if errors persist.

Can I use this approach to fix Python build failures across pytest, ruff, and mypy simultaneously?

Yes, you can fix Python build failures across pytest, ruff, and mypy simultaneously. The workflow identifies and categorizes failures from all three tools, applies targeted fixes, and re-runs checks to ensure the entire build passes.

Does this incremental fix loop stop if changes cause cascading build errors?

Yes, the incremental fix loop stops after three attempts if errors persist or cause cascading issues. This safety guard prevents infinite loops and limits unintended side effects from automated code changes.

Why should I use an incremental fix workflow instead of manually resolving lint and type errors?

An incremental fix workflow is preferable because it reads errors, explains the underlying issues, and proposes minimal changes before applying them. This structured approach resolves lint and type errors faster and safer than manual debugging by re-running checks automatically.