Delphi Code Refactoring
CommunityImprove Delphi code structure safely and cleanly.
Software Engineering#refactoring#design-patterns#code-smells#guard-clauses#extract-method#delphi#object-pascal
Authordelphicleancode
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactoring techniques for Object Pascal help maintain behavior while improving readability and maintainability, reducing technical debt.
Core Features & Use Cases
- Extract Method, Extract Class, Guard Clauses, Replace Magic Numbers, Replace Conditional with Polymorphism, Introduce Parameter Object, Remove With, and Extract Interface to improve code quality and longevity.
- Use cases include cleaning up legacy Delphi units, preparing code for new features, and ensuring safe refactoring with tests and clear patterns.
- Real-world example: transform a monolithic procedure into cohesive components without changing external behavior.
Quick Start
Provide a refactoring plan for a given Delphi unit that preserves behavior while improving readability.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: Delphi Code Refactoring Download link: https://github.com/delphicleancode/delphi-spec-kit/archive/main.zip#delphi-code-refactoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.