원클릭으로
refactor
Improve an existing working proof for structural clarity, succinctness, or reusability.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Improve an existing working proof for structural clarity, succinctness, or reusability.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | refactor |
| description | Improve an existing working proof for structural clarity, succinctness, or reusability. |
Improve the structure of an existing working proof: extract lemmas, simplify proof flow, improve naming, add documentation.
Target: $ARGUMENTS
lean_goal at key positions to confirm what each tactic achieves.lean_diagnostic_messages severity="error".lemma. See the "decompose, then compose" principle in assistants.md.simp only [...], omega, decide, aesop, etc. where the result is stable and readable.have blocks, collapse unnecessary calc chains./-- ... -/ doc comments on theorems and key lemmas.simp only [...] over bare simp — more stable and explicit./clean for that.Prove a specific sorry'd lemma iteratively using Lean LSP tools.
Improve Claude Code workflow by updating assistants.md, skills, memory, or CLAUDE.md.
Fix warnings line by line and bring code into compliance with Mathlib style standards.
Draft sorry'd theorem/lemma structure for a larger result from a proof sketch.
Fill a sorry one step at a time, directed by the user.
Read and discuss proofs, strategies, or math concepts without making any edits.