leonj1/plugin-marketplace/refactor-helper
Claude Code and agent skill by leonj1/plugin-marketplace
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Analyze code for refactoring opportunities and apply improvements
Install
npx vskill@latest install leonj1/plugin-marketplace/refactor-helperSKILL.md
The same SKILL.md was published earlier as leonj1/plugin-marketplace/refactor-helper.
Analyze the selected code or file for refactoring opportunities. Look for:
- Code duplication: repeated logic that should be extracted into shared functions
- Long functions: functions doing too much that should be split by responsibility
- Deep nesting: excessive if/else or loop nesting that can be flattened with early returns or extraction
- God objects: classes with too many responsibilities that should be decomposed
- Magic values: hardcoded strings and numbers that should be named constants
- Dead code: unused variables, unreachable branches, commented-out code
- Poor abstractions: leaky abstractions, unnecessary indirection, or missing abstractions
- Type safety: places where stronger typing would prevent bugs
For each opportunity found:
- Describe the problem in one sentence
- Show the current code
- Show the refactored code
- Explain the benefit (readability, testability, performance, safety)
Apply refactorings that are safe and improve clarity. Preserve external behavior. Do not change public APIs unless explicitly asked.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/refactor-helper/skills/refactor-helper/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leonj1/plugin-marketplace/refactor-helper)