lean-style
Use when auditing Lean formatting, naming, documentation, imports or mechanical style issues.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- lean-style
- description
- Use when auditing Lean formatting, naming, documentation, imports or mechanical style issues.
03 SKILL.md 正文
Audit and repair mechanical style
Input: working files, local conventions and audit-versus-fix scope. Output: located findings and, when requested, checked mechanical edits.
Establish a lean-doctor baseline. Read neighboring maintained modules and the
project's actual lint/build configuration. Audit module documentation, import
organization, mathematical names, whitespace, notation and temporary debug
scaffolding. Use available project linters, recording their command and output.
Keep mathematical signposts and source attribution. Treat lexical findings as
candidates: comments containing sorry are not proof holes, and terminal simp
is not automatically inferior to simp only. Avoid universal proof/file-length
limits copied from another project. Do not rename APIs, change hypotheses,
generalize definitions or golf proofs as incidental formatting.
For authorized repairs, edit one owned file at a time, preserve the complete
statement/definition context and build affected targets. Route substantive
changes to lean-refactor, lean-generalize or lean-golf. Return unresolved
findings explicitly and refresh lean-verify evidence after edits.
Example: remove trailing whitespace without altering a multiline binder; changing a theorem's name requires a caller-aware refactoring instead.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use 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
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use 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
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code