skill-lake-repair

Parse Lean lake build outputs and apply deterministic fixes iteratively.

5|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/benbrastmckie/ProofChecker --skill skill-lake-repair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-lake-repair
Source: https://github.com/benbrastmckie/ProofChecker/tree/main/.claude/skills/skill-lake-repair
Command: npx skills add https://github.com/benbrastmckie/ProofChecker --skill skill-lake-repair

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates repairing Lean lake build errors by parsing diagnostics and applying deterministic fixes to progress builds.

Core Features & Use Cases

  • Automated error detection and an iterative repair loop for Lake/Lake-based Lean projects.
  • Handles missing cases, unused variables, and unused imports with safe placeholders and minimal disruption.
  • Provides configurable max retries, dry-run previews, and detailed logs for traceability.

Quick Start

Run lake build with the auto-repair loop enabled to automatically fix common Lean build errors.

Frequently Asked Questions about skill-lake-repair

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

FAQPage Schema
How do I automatically fix Lean lake build errors?

You can automatically fix Lean lake build errors by running lake build with an auto-repair loop that parses diagnostics and applies deterministic fixes iteratively. This process targets iterative software compilation workflows to progress builds while preserving code integrity.

What common Lean build errors can be automatically repaired?

Common Lean build errors like missing cases, unused variables, and unused imports can be automatically repaired using safe placeholders and minimal disruption. The tool classifies these errors from lake build outputs and applies targeted fixes.

Can I preview automated Lake build repairs before applying changes?

Yes, you can preview automated Lake build repairs before applying changes using the dry-run preview feature. This allows you to verify the deterministic fixes and ensure code integrity before modifying your Lean project.

How does the auto-repair loop handle infinite build cycles?

The auto-repair loop handles infinite build cycles using configurable max retries to ensure progress. It applies safety checks and logs all fixes for auditability, stopping the iterative process if the Lean build errors persist beyond the retry limit.

Do I need any dependencies to run Lean Lake auto-repair?

No external dependencies are required to run Lean Lake auto-repair. You simply need your Lean Lake project ready and run the lake build command with the auto-repair loop enabled to start parsing diagnostics and applying fixes.