lean-build

Build Lean projects with lake build and report compilation diagnostics.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/my04337/shapez2-in-lean --skill lean-build-my04337
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lean-build
Source: https://github.com/my04337/shapez2-in-lean/tree/main/.github/skills/lean-build
Command: npx skills add https://github.com/my04337/shapez2-in-lean --skill lean-build-my04337

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Build Lean projects via lake build and report compilation diagnostics (errors, sorries, and warnings) in a consolidated workflow.

Core Features & Use Cases

  • Resolve Lean project PATHs and manage dependency updates before building.
  • Perform lake build, collect structured diagnostics, and emit logs suitable for CI and manual review.
  • Automatically generate symbol maps and signature digests after successful builds to improve tooling and traceability.

Quick Start

Run the lean-build skill to compile the Lean project and generate a structured diagnostic summary.

Frequently Asked Questions about lean-build

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

FAQPage Schema
How do I automate lake build validation and surface Lean diagnostics?

Use lean-build to run lake build on Lean projects and surface consolidated diagnostics. It collects errors, sorries, and warnings, emitting structured logs suitable for CI and manual review.

What is the best way to generate symbol maps and signature digests after a Lean build?

Generating symbol maps and signature digests is handled automatically after a successful lake build. This improves tooling and traceability for large Lean codebases without requiring manual steps.

Do I need the Lean toolchain installed to use lean-build?

Yes, the Lean toolchain and lake are required. The lean-build skill resolves project PATHs and manages dependency updates before performing the build.

Can I use lean-build for automated build validation in CI pipelines?

Yes, lean-build performs lake build validation and emits structured diagnostic logs. These logs are specifically suitable for CI pipelines and manual review of errors and warnings.

How does lean-build handle dependency updates before compiling?

Before building, lean-build resolves Lean project PATHs and manages dependency updates. This ensures the environment is configured correctly before the lake build execution begins.

Why use a dedicated skill for Lean builds instead of running lake build manually?

A dedicated skill streamlines Lean builds by automatically resolving paths and collecting structured diagnostics. It also handles post-build symbol-map and sig-digest generation to improve traceability.