Agent Skills: Code Refactoring Patterns

When and how to refactor complex functions including complexity thresholds (50+ statements, 12+ branches), extraction patterns, guard clauses, and testing strategies. Use when ruff/pylint complexity warnings appear or code becomes hard to maintain.

code-refactoringID: randalmurphal/claude-config/Code Refactoring Patterns

Install this agent skill to your local

pnpm dlx add-skill https://github.com/randalmurphal/claude-config/Code Refactoring Patterns

Skill Files

Browse the full folder contents for Code Refactoring Patterns.

Download Skill

Loading file tree…

Select a file to preview its contents.