Refactor

🌐Community
by evan-acg · vlatest · Repository

Refactors legacy ACG backend code into modern Python, improving maintainability and performance based on best practices.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add evan-acg-refactor npx -- -y @trustedskills/evan-acg-refactor
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "evan-acg-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/evan-acg-refactor"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill helps you restructure and improve existing code. It can take a block of code as input, analyze its structure, and suggest or automatically apply refactoring changes to enhance readability, maintainability, and efficiency. The goal is to produce cleaner, more organized code while preserving functionality.

When to use it

  • Legacy Codebases: Improve the clarity and organization of older code that's difficult to understand.
  • Code Reviews: Automate some aspects of code review by suggesting refactoring opportunities.
  • Technical Debt Reduction: Systematically address areas of technical debt within a project.
  • Preparing for New Features: Refactor existing code before adding new features to simplify the development process.

Key capabilities

  • Code analysis and suggestion generation
  • Automated refactoring application
  • Preservation of functionality during refactoring

Example prompts

  • "Refactor this Python function to improve its readability: [paste code here]"
  • "Suggest ways to simplify this JavaScript block: [paste code here]"
  • "Apply a common refactoring pattern (e.g., extract method) to this Java class: [paste code here]"

Tips & gotchas

The skill works best with well-defined code blocks. Providing clear context and specifying the desired refactoring style will improve results.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
evan-acg
Installs
7

🌐 Community

Passed automated security scans.