refactoring-assistant

Solid

Suggest and guide application of refactoring patterns to improve code quality

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 - Validate pattern application ## Tool Integrations | Tool | Purpose | Integration Method | |------|---------|-------------------| | IDE Refactoring | Automated refactoring | CLI / API | | Sourcery | AI-powered suggestions | CLI | | Sourcegraph Cody | Code intelligence | API | | IntelliJ IDEA |...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills