project-numina/numina-lean-agent / skills/code-transform
code-transform
VerifiedCode transformation tools for repairing, simplifying, and extracting Lean proofs
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.1 KB |
| reference-axle-extract-theorems.md | markdown | 1.5 KB |
| reference-axle-repair-proofs.md | markdown | 1.9 KB |
| reference-axle-simplify-theorems.md | markdown | 1.6 KB |
| reference-axle-sorry2lemma.md | markdown | 1.8 KB |
SKILL.md
View on GitHub---
name: code-transform
description: "Code transformation tools for repairing, simplifying, and extracting Lean proofs"
---
# Code Transform Tools
Tools for automatically transforming and improving Lean proof code. All scripts use `python skills/cli/axle.py <subcommand>`.
## Available Tools
| Tool | Purpose | When to use |
|------|---------|-------------|
| **axle repair-proofs** | Auto-fix broken proofs using configurable repair strategies | When a proof fails and you want automated repair before manual editing |
| **axle simplify-theorems** | Clean up proofs by removing unused tactics and bindings | As a final cleanup step after a proof is verified |
| **axle sorry2lemma** | Lift sorry placeholders into standalone named lemmas | When a proof has multiple sorry sub-goals you want to tackle independently |
| **axle extract-theorems** | Split a Lean file into structured per-theorem records | For analysis, dataset construction, or understanding file structure |
For full parameters and examples, read the corresponding `reference-<tool>.md` file in this directory.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |