Codebase Cleanup Refactor Clean
Refactors and cleans complex backend codebases, improving readability, maintainability, and performance according to rmyndharis's standards.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add rmyndharis-codebase-cleanup-refactor-clean npx -- -y @trustedskills/rmyndharis-codebase-cleanup-refactor-clean
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"rmyndharis-codebase-cleanup-refactor-clean": {
"command": "npx",
"args": [
"-y",
"@trustedskills/rmyndharis-codebase-cleanup-refactor-clean"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill refactors and cleans up existing codebases. It aims to improve code quality, readability, and maintainability by applying established coding standards and best practices. The tool can identify and remove dead code, simplify complex logic, and generally make a codebase more robust.
When to use it
- Legacy Code: To modernize and improve the structure of older projects with accumulated technical debt.
- Code Reviews: As an automated assistant during code reviews to suggest improvements and enforce coding standards.
- Onboarding New Developers: To create a cleaner, more understandable codebase for new team members.
- Preparing for Refactoring: To prepare a codebase for larger-scale refactoring efforts by initially cleaning up surface-level issues.
Key capabilities
- Code refactoring
- Dead code removal
- Coding standard enforcement
- Improved readability
Example prompts
- "Clean up this Python script and adhere to PEP 8 guidelines."
- "Refactor this JavaScript function for better performance and clarity."
- "Remove any unused variables or functions from this codebase."
Tips & gotchas
This skill is most effective when applied to codebases that already have a reasonable level of structure. It's recommended to review the changes made by the tool before merging them into production.
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.