lean-report
Skill3 starsChanged 24 days agoApache-2.0View on GitHub
USE FOR: converting a Lean 4 project blueprint into a publication-grade LaTeX report: blueprint artifact ingestion. DO NOT USE FOR: generating the blueprint itself (@lean-blueprint). TRIGGERS: blueprint to report, generate report, latex pdf.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-guard-judge-evalSkill
- applied-data-information-securitySkill
- applied-engineering-disciplinesSkill
- applied-legal-reasoningSkill
- epistemic-discovery-engineSkill
- epistemic-mappingSkill
- hol-metamath-adapterSkill
- isabelle-isar-adapterSkill
- itp-cross-portingSkill
- lean-ai-formalizationSkill
- lean-applied-reasoningSkill
- lean-axiom-closureSkill
- lean-bigraph-modelingSkill
- lean-bisectSkill
- lean-blueprintSkill
- lean-buildSkill
- lean-causal-reasoningSkill
- lean-competitive-mathSkill
- lean-convergence-verificationSkill
- lean-core-onlySkill
- lean-dag-visualizerSkill
- lean-deep-auditSkill
- lean-doc-feedbackSkill
- lean-doc-improvementSkill
- lean-doc-requirementsSkill
- lean-enforcementSkill
- lean-formalization-breakdownSkill
- lean-gatewaySkill
- lean-integration-protocolSkill
- lean-knowledge-formalizationSkill
- lean-math-analysisSkill
- lean-math-discreteSkill
- lean-math-dynamicalSkill
- lean-math-foundationsSkill
- lean-math-optimizationSkill
- lean-math-stochasticSkill
- lean-mweSkill
- lean-nested-learningSkill
- lean-package-researchSkill
- lean-pedagogical-expositionSkill
- lean-proof-refactorSkill
- lean-proof-repairSkill
- lean-proof-reviewSkill
- lean-proofSkill
- lean-prSkill
- lean-quality-engineSkill
- lean-replay-verificationSkill
- lean-researchSkill
- lean-retroactive-auditSkill
- lean-retro-methodologySkill
- lean-review-councilSkill
- lean-security-formalizationSkill
- lean-setupSkill
- lean-specificationSkill
- lean-tautology-triageSkill
- lean-upstream-portingSkill
- lean-vendor-substrateSkill
- lean-zettelkastenSkill
- math-product-managementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Verify prerequisites (Part 12.1 below — blueprint artifacts exist, LaTeX toolchain present).
- Very specific: line 52
STOP if \cref references emit "??" after two latexmk passes — the blueprint is out of sync.
- Distinctive: line 54
STOP if narration drifts from Lean source (Part 13 final row) — the source changed after narration.
- Very specific: line 58
STOP if the figures stage produces empty TikZ outputs — dot2tex is optional but required for dependency graphs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SK-62: Blueprint-to-Report Generator
Convert a Lean 4 project blueprint (extracted LaTeX nodes, dependency graphs, JSON metadata) into a publication-grade LaTeX report with natural language narrative, mathematical exposition, and visual dependency maps.
Routing
- USE FOR: converting a Lean 4 project blueprint into a publication-grade LaTeX report via the 6-stage
INGEST → PLAN → NARRATE
→
ILLUSTRATE → ASSEMBLE
→ COMPILE pipeline; ingesting blueprint artifacts (LaTeX nodes, dependency DAG, JSON metadata); generating
per-chapter
mathematical prose
with
\leanrefcross-references; producing TikZ dependency figures; runninglatexmkto PDF. - DO NOT USE FOR: generating the blueprint itself (delegate to
@lean-blueprint); writing one chapter without the pipeline (delegate to
Workflow
- Verify prerequisites (Part 12.1 below — blueprint artifacts exist, LaTeX toolchain present).
- First-time: run Part 12.2 (INGEST → PLAN → NARRATE → ILLUSTRATE → ASSEMBLE → COMPILE). Each stage's contract is in the handbook (Parts 3–8).
- Incremental: run Part 12.3 — re-blueprint, re-ingest, diff, narrate only changed chapters, recompile.
- On compilation error consult Part 13 (Troubleshooting) below; on output-artifact question consult Part 14 below.
- Handoff to
@lean-doc-feedbackonce the PDF lands so the doc-sync skill can record the new artifact in the repository's tracking matrix.
Recovery & STOP
- STOP if
\crefreferences emit "??" after two latexmk passes — the blueprint is out of sync; re-run INGEST per Part 12.3. - STOP if narration drifts from Lean source (Part 13 final row) — the source changed after narration; re-run NARRATE for affected chapters only.
- STOP if the figures stage produces empty TikZ outputs —
dot2texis optional but required for dependency graphs; install or fall back to module-map-only figures.
Handoffs
- Predecessors:
agent:gateway(top-level invocation),skill:lean-blueprint(produces the blueprint artifacts this skill consumes),skill:lean-doc-requirements(chapter-scope decisions). - Successors:
skill:lean-doc-feedback(record the PDF artifact + cross-references),skill:lean-doc-improvement(per-chapter post-narration edits),
Detailed reference
Full encyclopedic reference, decision trees, and lookup tables live in
references/lean-report-handbook.md .
See also
../../references/lean-report-handbook.md-- Completelean-reportHandbook../lean-gateway/SKILL.md-- Top-level skill router
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

