Suggest Refactoring — Development skill for Claude Code
/suggest-refactoring - Suggest Refactoring Opportunities.
How to install Suggest Refactoring
Installs to ~/.claude/commands/poulpybifle-claude-code-framework-suggest-refactoring.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/PoulpYBifle/Claude-Code-Framework/HEAD/.claude/commands/suggest-refactoring.md -o ~/.claude/commands/poulpybifle-claude-code-framework-suggest-refactoring.md Restart Claude Code, or start a new session, for it to be picked up.
What Suggest Refactoring does
/suggest-refactoring - Suggest Refactoring Opportunities
Analyzes code and suggests specific refactoring opportunities with implementation plans.
Usage
/suggest-refactoring [path] [focus-area]
Parameters
path: Path to analyze (optional, defaults to src/)focus-area: Focus area (complexity, duplication, performance, maintainability, all)
What this command does
- Analyze code quality:
- Identify code smells
- Find refactoring opportunities
- Assess arc
Alternatives in Development
- Om Prep 1on1 — Prep for an upcoming 1:1 — load person context, surface open items, suggest agenda based on vault state 4.6k ★
- Sales Safari — Mine watering holes for product opportunities; observe conversations, sort findings into pain killers vs money 324 ★
- Contract Review Skill — Review legal contracts for risks, extract key terms, and suggest redlines 192 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Review Index Delta
Compare the Claude-Code-Projects-Index against this marketplace and suggest repos worth refactoring as plugins
Metamorphosis
Intelligent refactoring with LSP analysis, gap analysis, TDD, and verification
Code Refactoring Plan
Analyze code smells and technical debt, producing a prioritized refactoring roadmap.
File Organization Refactoring
Reorganize project files and folders safely with tested, incremental migrations.
Code Refactoring
Orchestrate large structural code refactors combining semantic search
Sdlc Tech Debt
Tech debt paydown and strategic refactoring - prioritize improvements
Related Agents
Cohesion Lens
Paradigm lens agent for single responsibility and cohesion observation. Used by /prism to identify modules, fi
Refactor Scout
Scan code for structural health - code smells, duplication, complexity hotspots, and refactoring opportunities
Swe Code Reviewer
Tactical code quality reviewer that identifies refactoring opportunities within existing architecture