Takes messy Python and makes it maintainable through a four-phase workflow: analyze complexity metrics, plan changes with mandatory migration checklists for destructive refactors, execute transformations one pattern at a time, then validate with static analysis before tests. The safety protocol is unusually strict, requiring you to search all usages, migrate incrementally, and verify complete migration before removing old code. Built for legacy code modernization and onboarding scenarios where scattered globals and 500-plus line files need proper OOP structure. The hard stance on regression prevention (any failure means total failure) makes it slower but appropriate when correctness matters more than speed. Includes scripts for measuring cognitive complexity and architectural anti-patterns.

skills.sh installs
183
GitHub stars
4
last updated
Jun 3, 2026

Install

$ npx -y skills add acaprino/alfio-claude-plugins --skill python-refactor --agent claude-code

Installs into .claude/skills of the current project.

Files

Takes messy Python and makes it maintainable through a four-phase workflow: analyze complexity metrics, plan changes with mandatory migration checklists for destructive refactors, execute transformations one pattern at a time, then validate with static analysis before tests. The safety protocol is unusually strict, requiring you to search all usages, migrate incrementally, and verify complete migration before removing old code. Built for legacy code modernization and onboarding scenarios where scattered globals and 500-plus line files need proper OOP structure. The hard stance on regression prevention (any failure means total failure) makes it slower but appropriate when correctness matters more than speed. Includes scripts for measuring cognitive complexity and architectural anti-patterns.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/acaprino/alfio-claude-plugins
Categories
Code Review & Quality, Python
First seen
Jun 3, 2026
1melodic-software avatararchitecture-documentationmelodic-software/claude-code-pluginsGenerate architecture documents using templates with diagram integration. Use for creating C4 diagrams, viewpoint documents, and technical overviews.180skills.sh installs
2agentbay-ai avatardouban-movie-reviewagentbay-ai/agentbay-skills查询豆瓣电影热门影评信息。当用户想要查询某部电影的豆瓣影评、用户评价、热门短评时使用此skill。178skills.sh installs
3sickn33 avatarreact-flow-architectsickn33/antigravity-awesome-skillsreact flow architect176skills.sh installs
4alinaqi avatargemini-reviewalinaqi/claude-bootstrapgemini review174skills.sh installs
5akillness avatarcode-reviewakillness/oh-my-skillscode review171skills.sh installs
6tuziapi avatartuzi-format-markdowntuziapi/tuzi-skills格式化纯文本或 Markdown 文件,添加 frontmatter、标题、摘要、小标题、加粗、列表和代码块。当用户要求"格式化markdown"、"美化文章"、"添加格式"或改善文章排版时使用。输出到 {filename}-formatted.md。165skills.sh installs