proof-refactoring-assistant

Community

Refactor formal proofs for clarity.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps improve the quality of formal proofs in systems like Isabelle and Coq by restructuring them to be more readable, modular, and maintainable, without altering their underlying logical meaning.

Core Features & Use Cases

  • Identify Code Smells: Detects issues like long, monolithic proofs, poor naming, and lack of documentation.
  • Apply Refactoring Patterns: Offers strategies such as extracting helper lemmas, simplifying structures, and improving naming.
  • Use Case: You have a complex, multi-hundred-line proof that is difficult for new team members to understand. This Skill can help break it down into smaller, well-named, and documented lemmas, making it accessible.

Quick Start

Use the proof refactoring assistant to refactor the provided Coq proof by extracting helper lemmas for repeated patterns.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: proof-refactoring-assistant
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#proof-refactoring-assistant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.