refactoring-assistant
Suggest and guide application of refactoring patterns to improve code quality
npx skills add a5c-ai/babysitter --skill refactoring-assistant --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Refactoring Assistant Skill Suggests appropriate refactoring patterns and guides their application to improve code quality, maintainability, and migration readiness. ## Purpose Enable guided refactoring for: - Code quality improvement - Design pattern application - Migration preparation - Technical debt reduction - Maintainability enhancement ## Capabilities ### 1. Extract Method/Class Suggestions - Identify extraction candidates - Suggest method boundaries - Recommend class decomposition - Guide interface extraction ### 2. Move Method Recommendations - Detect misplaced methods - Suggest target classes - Analyze dependencies - Guide safe relocation ### 3. Rename Refactoring - Suggest meaningful names - Propagate renames safely - Handle cross-references - Update documentation ### 4. Inline Refactoring - Identify inline candidates - Remove unnecessary indirection - Simplify call chains - Reduce complexity ### 5. Pull Up/Push Down Member - Analyze inheritance hierarchies - Suggest member movement - Optimize class hierarchies - Improve polymorphism ### 6. Design Pattern Application - Recognize pattern opportunities - Guide pattern implementation - Suggest appropriate patterns - Valid
- Purpose
- Capabilities
- 1. Extract Method/Class Suggestions
- 2. Move Method Recommendations
- 3. Rename Refactoring
- 4. Inline Refactoring
- 5. Pull Up/Push Down Member
- 6. Design Pattern Application
- Tool Integrations
- Output Schema
- Integration with Migration Processes
- Related Skills
- Related Agents
What does the refactoring-assistant skill do?
Suggest and guide application of refactoring patterns to improve code quality
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill refactoring-assistant --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
