fix-build-failures

Fix TypeScript, Webpack/Vite, Python, and Docker build failures in PRs.

Updated Dec 15, 2025
One-click install
npx skills add https://github.com/VectorInstitute/aieng-bot-maintain --skill fix-build-failures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-build-failures
Source: https://github.com/VectorInstitute/aieng-bot-maintain/tree/main/.claude/skills/fix-build-failures
Command: npx skills add https://github.com/VectorInstitute/aieng-bot-maintain --skill fix-build-failures

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill fixes build and compilation errors across TypeScript, frontend tooling (Webpack/Vite), Python builds, and related environments, helping teams deliver build-stable PRs faster.

Core Features & Use Cases

  • TypeScript/JS Build Fixes: address compilation errors by updating type annotations, signatures, or deprecated APIs
  • Front-end Build Tools: resolve Webpack/Vite/config issues and plugin compatibility
  • Python Build Fixes: adjust imports, resolve dependencies, and fix packaging issues
  • Docker & CI Artifacts: help with Docker-related build problems and CI pipeline hiccups
  • Use Case: A PR fails during build; apply targeted fixes to restore a successful build with minimal changes.

Quick Start

Run fix-build-failures on a failing PR to automatically diagnose and repair build errors, update configurations as needed, and push a clean build-ready patch.

Frequently Asked Questions about fix-build-failures

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

FAQPage Schema
How do I fix TypeScript compilation errors in my PR?

TypeScript compilation errors are fixed by updating type annotations, function signatures, or deprecated API calls. This Skill diagnoses the specific error in your build logs, applies targeted updates to resolve type mismatches or missing declarations, and validates the fix with npm ci && npm run build before pushing the corrected code to your PR branch.

Can this fix Webpack or Vite build failures automatically?

Yes. Webpack and Vite build failures are resolved by identifying configuration issues, plugin incompatibilities, or missing dependencies. This Skill inspects build logs, updates configuration or dependency versions as needed, and re-runs the build to confirm the fix works on your PR.

What Python build errors can be fixed?

Python build failures including import errors, missing dependencies, and packaging issues are diagnosed and repaired. The Skill adjusts imports, updates requirements.txt, and runs pip install -r requirements.txt && python -m build to validate the fix before committing to your PR.

How does this work with my CI pipeline and pull requests?

This Skill integrates into PR-oriented CI by reading .pr-context.json for PR metadata and .failure-logs.txt to inspect build errors. It performs root-cause analysis, applies fixes locally, validates success, and pushes changes safely to the correct PR branch without including bot-generated files.

Does this handle Docker build failures?

Yes. Docker build errors are fixed by diagnosing issues in Dockerfiles or build context, applying targeted corrections, and running docker build to confirm success. Fixes are validated and pushed to your PR branch.

What if my build failure is in TypeScript, Python, and Docker all at once?

This Skill targets failures across TypeScript, Webpack/Vite, Python, and Docker environments within a single PR. It prioritizes root-cause analysis and applies fixes appropriate to each failure type, validating each with its respective build command before committing.