python-code-simplifier
CommunitySimplify and refactor Python code.
Authorvrazdalovschi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill tackles over-engineered, verbose, or hard-to-read Python code, particularly code generated by LLMs, by simplifying it to its most direct and maintainable form while preserving essential behavior.
Core Features & Use Cases
- Complexity Audit: Identifies unnecessary abstractions, indirection, and speculative architecture.
- Minimal Edits: Plans and executes surgical changes, prioritizing removal over replacement.
- Behavior Preservation: Ensures that the core functionality remains intact after simplification.
- Use Case: You have a Python script generated by an AI that uses many complex classes and helper functions for a simple task. Use this Skill to refactor it into a more straightforward, readable, and maintainable script.
Quick Start
Use the python-code-simplifier skill to review and simplify the Python code in the file 'complex_script.py'.
Dependency Matrix
Required Modules
None requiredComponents
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: python-code-simplifier Download link: https://github.com/vrazdalovschi/dotfiles/archive/main.zip#python-code-simplifier 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 223,000+ vetted skills library on demand.