lean-report

Convert Lean project blueprints into LaTeX reports with TikZ figures and PDF output.

2|Updated May 26, 2026
One-click install
npx skills add https://github.com/r-irbe/proof-skills --skill lean-report
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lean-report
Source: https://github.com/r-irbe/proof-skills/tree/main/skills/lean-report
Command: npx skills add https://github.com/r-irbe/proof-skills --skill lean-report

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts Lean project blueprints into publication-grade LaTeX reports by ingesting blueprint artifacts (LaTeX nodes, dependency DAG, JSON metadata) and turning them into narrative, figures, and a final PDF.

Core Features & Use Cases

  • Ingest blueprint artifacts (LaTeX nodes, dependency DAG, JSON metadata) and prepare data for reporting.
  • Generate per-chapter narrative with mathematical exposition and cross-references.
  • Produce TikZ figures for dependency maps and module maps and compile a final PDF via latexmk.
  • Integrate with the six-stage INGEST → PLAN → NARRATE → ILLUSTRATE → ASSEMBLE → COMPILE pipeline for end-to-end automation.

Quick Start

Convert a Lean blueprint into a publishable LaTeX report using the INGEST → PLAN → NARRATE → ILLUSTRATE → ASSEMBLE → COMPILE pipeline.

Frequently Asked Questions about lean-report

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

FAQPage Schema
How do I convert a Lean blueprint into a LaTeX report?

To convert a Lean blueprint into a LaTeX report, ingest LaTeX nodes, dependency DAGs, and JSON metadata through the six-stage INGEST, PLAN, NARRATE, ILLUSTRATE, ASSEMBLE, and COMPILE pipeline to generate a publication-grade PDF.

What does blueprint ingest mean for Lean report generation?

Blueprint ingest is the process of parsing Lean project artifacts like LaTeX nodes, dependency graphs, and JSON metadata to prepare the structural data required for automated narrative generation and report compilation.

Can I generate dependency graph figures in LaTeX from Lean projects?

Yes, you can generate dependency graph figures in LaTeX from Lean projects by transforming the ingested dependency DAG into TikZ figures during the ILLUSTRATE stage of the reporting workflow.

Do I need a specific environment to automate Lean project report generation?

Yes, automating Lean project report generation requires the standard Lean tooling environment along with latexmk to compile the final PDF from the assembled LaTeX nodes and generated figures.

What is the best way to structure a multi-chapter LaTeX report from Lean blueprints?

The best way to structure a multi-chapter LaTeX report from Lean blueprints is to use the PLAN and NARRATE stages to generate per-chapter mathematical exposition with cross-references before assembling and compiling the final document.

Why does my Lean blueprint report compilation fail during the ASSEMBLE stage?

Lean blueprint report compilation may fail during the ASSEMBLE stage if the ingested JSON metadata or dependency DAG is incomplete, preventing proper cross-referencing and TikZ figure integration before the final latexmk compilation.