Refactoring Catalog
Automates database schema refactorings based on predefined rules, improving performance and maintainability within your backend systems.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add refactoring-catalog npx -- -y @trustedskills/refactoring-catalog
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"refactoring-catalog": {
"command": "npx",
"args": [
"-y",
"@trustedskills/refactoring-catalog"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, refactoring-catalog, provides a catalog of code refactorings to improve code quality and maintainability. It allows an AI agent to identify opportunities for improvement within existing codebases and apply proven refactoring techniques. The catalog includes descriptions and examples of common refactorings, enabling more informed decisions about code changes.
When to use it
- Legacy Codebase Cleanup: Use this skill when working with older projects that require modernization and improved structure.
- Code Review Assistance: Integrate the skill into a code review process to suggest potential refactorings for developers.
- Automated Refactoring Tasks: Employ the skill to automate repetitive or straightforward refactoring tasks, freeing up developer time.
- Learning & Education: Utilize the catalog as a resource for learning and understanding common code refactoring patterns.
Key capabilities
- Catalog of code refactorings
- Descriptions of each refactoring technique
- Examples illustrating refactoring application
Example prompts
- "Suggest refactorings for this function: [code snippet]"
- "What are some ways to improve the readability of this class?"
- "Show me examples of how to apply the 'Extract Method' refactoring."
Tips & gotchas
The effectiveness of this skill depends on providing clear and well-defined code snippets for analysis. While it provides suggestions, always review proposed changes carefully before applying them to ensure they align with project goals and maintain functionality.
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.