Vscode Extension Refactorer
This tool automates complex VS Code extension refactoring tasks, streamlining development and improving code quality efficiently.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add vscode-extension-refactorer npx -- -y @trustedskills/vscode-extension-refactorer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"vscode-extension-refactorer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/vscode-extension-refactorer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with and utilize the VS Code Extension Refactorer. It can automatically refactor code within a VS Code environment, suggesting improvements and applying changes based on defined rules or patterns. The agent can manage extensions, execute refactoring operations, and monitor the results directly through the VS Code interface.
When to use it
- Automated Code Cleanup: When you need to standardize formatting across a large codebase quickly.
- Refactoring Legacy Code: To simplify complex or outdated code structures with automated suggestions.
- Extension Management: For installing, enabling, and disabling VS Code extensions as part of a larger development workflow.
- Automated Bug Fixes: When refactorer can automatically fix common coding errors based on predefined rules.
Key capabilities
- Code Refactoring
- VS Code Extension Management (install/enable/disable)
- Rule-based code improvements
- Monitoring of refactoring operations
Example prompts
- "Install the 'ESLint' extension in VS Code and enable it."
- "Refactor this file to adhere to standard JavaScript formatting rules using the available extensions."
- "Run a quick fix on all instances of unused variables in my current workspace."
Tips & gotchas
- Requires a VS Code environment to be active. The agent needs access and permissions within that environment.
- The effectiveness of refactoring depends heavily on the quality and configuration of installed extensions and rulesets.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.