Refactor

🌐Community
by johnlindquist · vlatest · Repository

Automatically refactors Node.js code to align with John Lindquist's style guide for improved readability and maintainability.

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 johnlindquist-refactor npx -- -y @trustedskills/johnlindquist-refactor
2

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

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

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

About This Skill

What it does

The johnlindquist-refactor skill helps you improve existing code by suggesting and implementing changes. It can identify areas of inefficiency, readability issues, or potential bugs within your codebase. This skill aims to make your code cleaner, more maintainable, and perform better through automated refactoring suggestions.

When to use it

  • Improving Legacy Code: Refactor older codebases that have accumulated technical debt.
  • Code Review Assistance: Get suggestions for improving code during a review process.
  • Learning Best Practices: See how the skill applies common refactoring patterns and learn from its suggestions.
  • Optimizing Performance: Identify bottlenecks in your code and receive recommendations to improve execution speed.

Key capabilities

  • Code analysis
  • Refactoring suggestions
  • Automated implementation of changes

Example prompts

  • "Refactor this JavaScript function to use arrow functions."
  • "Suggest improvements for the readability of this Python script."
  • "Can you identify any potential performance bottlenecks in this Go code?"

Tips & gotchas

This skill is most effective with well-structured and commented code. While it can suggest changes, always review its recommendations carefully before applying them to ensure they align with your project's goals and coding standards.

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
johnlindquist
Installs
19

🌐 Community

Passed automated security scans.