refactor-helper
Common refactoring patterns and code transformations
When & Why to Use This Skill
The refactor-helper Claude skill is a specialized developer tool designed to automate common refactoring patterns and code transformations. It streamlines the process of improving code structure and maintainability, helping software engineers reduce technical debt and enforce consistent coding standards across complex codebases efficiently.
Use Cases
- Automating the extraction of complex logic into smaller, reusable functions to improve code modularity and readability.
- Modernizing legacy codebases by transforming outdated syntax and patterns into current industry best practices.
- Performing large-scale structural changes and renaming across multiple files to ensure architectural consistency.
- Simplifying nested conditional statements and redundant code blocks to enhance overall software quality and testability.
| name | refactor-helper |
|---|---|
| description | Common refactoring patterns and code transformations |
refactor-helper
Overview
Common refactoring patterns and code transformations
This skill was converted from a bash script to follow Anthropic's Agent Skills best practices.
Usage
refactor-helper <command> [options]
Commands
TODO: Extract and document commands from the script
Run refactor-helper --help to see available commands.
When to Use
TODO: Add specific use cases
Scripts
scripts/main.sh- Main functionality (converted from original refactor-helper)
Claude can execute this script directly without loading it into context.
Additional Resources
For detailed information, see:
- reference/migration-notes.md - Conversion notes and TODOs
- reference/examples.md - Usage examples (TODO)
Progressive Disclosure
Consider adding these reference files:
reference/api-reference.md- Detailed command documentationreference/troubleshooting.md- Common issues and solutions