lean-run

Build Lean projects and run lake exe targets to verify program output.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you build Lean projects and validate the executable output by using lean-build followed by lake exe, enabling quick verification of program results.

Core Features & Use Cases

  • Automated Lean build and run flow using lean-build and lake exe.
  • Output verification and comprehensive run diagnostics for Lean targets.
  • Works with Main.lean and other entry points to confirm correct behavior.

Quick Start

Build the project with lean-build, run the target via lake exe, and verify the output.

Frequently Asked Questions about lean-run

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

FAQPage Schema
How do I run a Lean 4 executable and verify its output?

You can verify Lean 4 program output by building the project with lean-build and running the target via lake exe, enabling quick validation of executable results.

How do I build and test a Main.lean entry point in a Lean project?

Testing a Main.lean entry point involves using lean-build to compile the project and lake exe to run the target, confirming correct behavior through output verification.

What do I need to build and run Lean 4 targets?

Building and running Lean 4 targets requires the Lean toolchain, lake, and lean-run scripts to perform compilation, execution, and output verification.

Why use lake exe after lean-build for Lean 4 projects?

Running lake exe after lean-build automates the end-to-end flow from compilation to execution, providing comprehensive run diagnostics and enabling optional expectation checks.

Can I check expected output when running a Lean 4 executable?

You can check expected output when running a Lean 4 executable by using lean-run scripts to perform optional expectation checks alongside the lake exe run.