Refactor Archeology
Uncovers hidden dependencies & technical debt in legacy codebases to guide safe and effective refactoring efforts.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add refactor-archeology npx -- -y @trustedskills/refactor-archeology
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"refactor-archeology": {
"command": "npx",
"args": [
"-y",
"@trustedskills/refactor-archeology"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes existing codebases and suggests architectural improvements. It identifies potential areas for refactoring, proposes alternative designs, and helps modernize legacy systems by applying established patterns. The goal is to improve maintainability, scalability, and overall code quality through systematic analysis and targeted changes.
When to use it
- Modernizing Legacy Code: When dealing with older projects that are difficult to understand or extend.
- Improving System Architecture: To identify bottlenecks and areas where the system's design can be optimized for better performance and resilience.
- Refactoring Complex Modules: For large, monolithic components needing restructuring into smaller, more manageable units.
- Applying Design Patterns: When you want to systematically introduce established architectural patterns (e.g., microservices) to improve code organization.
Key capabilities
- Codebase analysis
- Architectural pattern identification
- Refactoring suggestions
- Design modernization proposals
Example prompts
- "Analyze this codebase and suggest ways to improve its architecture."
- "Identify potential areas for refactoring in this module."
- "Propose a design that incorporates the microservices pattern into this system."
Tips & gotchas
The effectiveness of this skill depends on providing clear, well-structured code as input. It's best suited for larger projects with established architectural patterns, rather than small scripts or toy examples.
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.