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-helper

SKILL.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:

  1. Code duplication: repeated logic that should be extracted into shared functions
  2. Long functions: functions doing too much that should be split by responsibility
  3. Deep nesting: excessive if/else or loop nesting that can be flattened with early returns or extraction
  4. God objects: classes with too many responsibilities that should be decomposed
  5. Magic values: hardcoded strings and numbers that should be named constants
  6. Dead code: unused variables, unreachable branches, commented-out code
  7. Poor abstractions: leaky abstractions, unnecessary indirection, or missing abstractions
  8. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leonj1/plugin-marketplace/refactor-helper/badge)](https://verified-skill.com/skills/leonj1/plugin-marketplace/refactor-helper)

Something wrong with this skill or its page? Tell us.