Use when selecting, installing, or sequencing Lean 4 proof-automation skills for this repo; catalogs local skills and external GitHub skills for theorem proving, review, refactoring, visualization, and autoproofing workflows.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lean Skill Library?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nickgou-nuke-lean-skill-library)
---
name: lean-skill-library
description: Use when selecting, installing, or sequencing Lean 4 proof-automation skills for this repo; catalogs local skills and external GitHub skills for theorem proving, review, refactoring, visualization, and autoproofing workflows.
---
<!-- repository-context-rule -->
## Repository context rule
For repository work, the current checked-out codebase is the context. Search
existing implementation and trace actual carriers, definitions, imports,
instances, theorem statements, and uses before claiming a structure is missing
or incorrect. A local absence is not a repository-wide absence. Names,
heuristics, summaries, and documentation guide discovery but do not override
source. Follow `docs/REPO_DEEP_SEARCH_PROTOCOL.md` before repo-wide gap claims.
# Lean Skill Library
This skill is an index, not a proof workflow. Use it to pick the narrowest
skill set for a Lean task, or to decide whether an external skill should be
installed locally.
## Default ordering
0. `protected-baseline-formalization` as the operating identity for any repository-wide formalization request; its gate checklist overrides closure claims.
1. `lean4` for any Lean edit, build, or diagnostic work.
2. `lean-proof` for theorem proving and `sorry` filling.
3. `proof-only-mandate` for anti-cheat / no-wrapper policy enforcement.
4. `lean-mwe` for minimization and small reproducible examples.
5. `lean-bisect` for regressions and failing-build isolation.
6. `mathlib-build` and `mathlib-review` for build/review gates.
7. `paperproof-validator` for proof-state inspection.
8. `lean-dag-wire-refactor` for wrapper cleanup and duplicate theorem surfaces.
9. `categorical-infrastructure-projection` and `virasoro-finite-to-infinite-transition` for bridge work.
10. `sympy-lean-handoff` for exact symbolic verification followed by Lean 4 translation.
11. `mission-loop`, `closure-mission-loop`, and `closure-debt-proof` for repeated debt burn-down.
## External candidates
See [references/catalog.md](references/catalog.md) for the local index of
external public skills and Lean tooling repositories.
See [references/collected-skills.md](references/collected-skills.md) for the
capability map of the vendored Lean skill pack and related tooling.
## Use rules
- Keep Lean proof authority in Lean, not in the skill catalog.
- NEVER USE STALE DOCS: Do not read, cite, or use stale documents, obsolete docstrings,
or dead historical taxonomies (e.g. abandoned representation ladders or outdated transcript
summaries) in program design or proof construction. Live Lean source and kernel-checked
theorems decide truth.
- Prefer repo-local skills first.
- Install external skills only when the local stack lacks the capability.
- Update the catalog when a skill is added, removed, or promoted.