用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jeffrey-dot-li/lean-homology --skill draft命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | draft |
| description | Draft sorry'd theorem/lemma structure for a larger result from a proof sketch. |
Draft the theorem/lemma structure needed to prove a larger result.
This is NOT the builtin /plan command. The builtin /plan enters a read-only planning mode that produces a markdown plan for user approval before any code is written. /draft writes actual Lean code — sorry'd declarations that compile — directly in the source files.
Topic / proof sketch: $ARGUMENTS
sorry proofs — no filled proofs in this mode.sorry'd statement compiles with lean_diagnostic_messages (use severity="error") before moving on. Warnings about sorry and linter noise are expected — only errors matter.The top-level theorem should read like a proof outline — each step composing named lemmas with simple plumbing (rw, exact, simp, apply). If the top-level proof still needs >10 lines of non-trivial tactics at any step, a lemma might be missing from the decomposition.
Prefer general, reusable lemma statements over proof-specific helpers. A good decomposition builds tools (e.g., sigmaι_cancel, sigmaι_comp_fst_eq) that apply beyond the current theorem.
A compilable file (or section) of sorry'd declarations with clear names and docstrings. Iterate with the user until the decomposition is right.
/-- ... -/ docstrings explaining the mathematical content.