CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific proof obligation benefits from formal verification; use proof-writer for ordinary mathematical drafting.

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/lean-formalize/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body encodes a well-sequenced, genuinely expert Lean formalization workflow with strong validation checkpoints and mostly actionable tables, loops, and checklists. Its weaknesses are repetition of core principles across sections, an oversized inline reviewer-routing layer, and unresolved shared-references paths.

Suggestions

State the "conditional lemma ≠ original theorem / a successful build of a different module is not evidence" principle once in a dedicated section; it is currently restated in sections 1, 2, 4, and 5.

Move the opening reviewer-routing blockquote and section 4's routing policy details into references/adversarial-review.md, keeping a one-line pointer per checkpoint to cut body length substantially.

Resolve or inline the three ../shared-references/*.md links (reviewer-backends, reviewer-routing, fan-out-pattern) so every path referenced by the body is reachable from the bundle.

DimensionReasoningScore

Conciseness

The ~370-line body avoids known-concept padding and nearly every paragraph encodes a genuine Lean-project failure mode (sorryAx on the dependency chain, conditional lemmas vs. the target, compile-success of the wrong root module), but key principles are restated across sections 1, 2, and 5, reviewer routing rules appear in both the opening blockquote and three section-4 subsections, and generic honesty policy is woven throughout. Mostly efficient but could be tightened considerably, fitting the 3 anchor better than 2 (no padded explanations of things Claude already knows) or 4 (repetition exceeds minor trimming).

3 / 5

Actionability

Concrete guidance throughout: an entry-state decision table, an interface ledger table, a 7-step implementation loop with specific actions ("Test unfamiliar declarations locally with `#check`", "Compile the affected module; after integration, compile the downstream target"), a worked example type (`Certificate x → Desired x`), a final-evidence checklist, and a fill-in continuation-note template. As an instruction-only skill this is actionable, but the copy-paste commands (lake build, #print axioms) live one hop away in references, leaving minor gaps that keep it below the 5 anchor.

4 / 5

Workflow Clarity

Clear sequence (sections 1–6 with an ASCII core-workflow diagram), explicit A/B/C validation checkpoints with stated triggers, feedback loops ("Diagnose the first relevant error... Implement valid fixes, compile them, and request follow-up"), and a final verification checklist. The reviewer-routing overlay with pending/unavailable states and validation specifics deferred to references (exit-status checking, axiom printing) muddy the mainline flow, matching the 4 anchor rather than 5.

4 / 5

Progressive Disclosure

The three local references (adversarial-review.md, lean-working-loop.md, verification-and-handoff.md) all exist, are substantive, and are well-signaled with "read when" conditions — but three ../shared-references/*.md links do not resolve within this bundle, and substantial reviewer-routing and objection-handling policy is inlined in the body that belongs in adversarial-review.md. Structure is good but the body is not a lean overview, fitting the 3 anchor better than 4 (more than minor organization gaps) or 2 (references are clearly signaled, not buried).

3 / 5

Total

14

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: comprehensive third-person concrete actions, an explicit "Use when" trigger clause, and explicit disambiguation from the sibling proof-writer skill. The only gap is a few natural synonyms (e.g., "formalize", "proof assistant", ".lean", "Mathlib") that would broaden trigger coverage.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions covering the full lifecycle in third person: "Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement", plus "Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff". Coverage is comprehensive with no minor gaps, matching the 5 anchor rather than 4.

5 / 5

Completeness

Explicitly answers both "what" (develop/verify, continue, audit, connect inputs, check transitive axioms, hand off) and "when" ("Use when Lean is requested or a specific proof obligation benefits from formal verification"). The "when" clause is explicit with concrete triggers, and it additionally routes ordinary drafting to proof-writer, matching the 5 anchor.

5 / 5

Trigger Term Quality

Core natural terms are present ("Lean", "formal verification", "Lean project", "mathematical proof") — the words a user requesting this skill would actually say. Missing common synonyms and file extensions such as ".lean", "Mathlib", "proof assistant", or "formalize", so it fits the 4 anchor (good coverage, a few natural terms missing) rather than the 5 anchor.

4 / 5

Distinctiveness Conflict Risk

Clear niche (Lean formal verification) with distinct triggers, and it actively disambiguates from the closest sibling skill ("use proof-writer for ordinary mathematical drafting"), minimizing overlap risk. Matches the 5 anchor (clear niche, distinct triggers, minimal conflict risk).

5 / 5

Total

19

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 4 suspicious

Warning

Total

13

/

16

Passed

Repository

wanshuiyin/Auto-claude-code-research-in-sleep

Path

skills/lean-formalize/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.