agisota/old-one/code-refactoring-refactor-clean

Claude Code and agent skill by agisota/old-one

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its qu

Install

npx vskill@latest install agisota/old-one/code-refactoring-refactor-clean

SKILL.md

Refactor and Clean Code

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

Context

The user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.

Requirements

$ARGUMENTS

Instructions

1. Code Analysis

First, analyze the current code for:

  • Code Smells
  • Long methods/functions (>20 lines)
  • Large classes (>200 lines)
  • Duplicate code blocks
  • Dead code and unused variables
  • Complex conditionals and nested loops
  • Magic numbers and hardcoded values
  • Poor naming conventions
  • Tight coupling between components
  • Missing abstractions
  • SOLID Violations
  • Single Responsibility Principle violations
  • Open/Closed Principle issues
  • Liskov Substitution problems
  • Interface Segregation concerns
  • Dependency Inversion violations
  • Performance Issues
  • Inefficient algorithms (O(n²) or worse)
  • Unnecessary object creation
  • Memory leaks potential
  • Blocking operations
  • Missing caching opportunities

Note

Skill content truncated for token efficiency. Full version available in the source repository.

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

Repository stars
3
Repository forks
1
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. 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/agisota/old-one/code-refactoring-refactor-clean/badge)](https://verified-skill.com/skills/agisota/old-one/code-refactoring-refactor-clean)

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