scottnarmstrong/leanautoformalizationskills/lean-elaboration
Diagnose and improve Lean 4 elaboration performance in a repo — locate genuine hot spots, route by profile phase, apply the proven levers (consumer import narrowing, nlinarith elimination, targeted simp-only, head-class caches, leaf splits, folding hypothesis types to the abbrev their consumer expects, naming the function in congr), and A/B every change. Use when a repo builds slowly, a file blows past heartbeats, before landing perf edits, or when planning an elaboration campaign.
Agent skill · version 0.0.0-main.1795939607.g1837b95 · from scottnarmstrong/LeanAutoformalizationSkills
Install
npx yarkr-cli add skill:scottnarmstrong/leanautoformalizationskills/lean-elaborationWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:scottnarmstrong/leanautoformalizationskills/lean-elaboration
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:scottnarmstrong/leanautoformalizationskills/lean-elaborationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:scottnarmstrong/leanautoformalizationskills/lean-elaborationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.