All skills
Skillintermediate
refractor
Refactor the following code: @$ARGUMENTS
Claude Code Knowledge Pack7/10/2026
Overview
Your task
Refactor the following code: @$ARGUMENTS
Guidelines:
- Maintain functionality: Ensure no breaking changes
- Improve readability: Make code more self-documenting
- Extract common patterns: Identify and extract reusable components
- Performance optimization: Improve efficiency where possible
- Modern conventions: Use current best practices
- Type safety: Add or improve type annotations if applicable
Explain each change and why it's beneficial.