Quality Detect Refactor Markers
Identifies code quality issues & suggests refactoring opportunities based on established markers, improving maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add quality-detect-refactor-markers npx -- -y @trustedskills/quality-detect-refactor-markers
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"quality-detect-refactor-markers": {
"command": "npx",
"args": [
"-y",
"@trustedskills/quality-detect-refactor-markers"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill identifies and flags code quality issues and potential refactoring opportunities within a given codebase. It analyzes the provided code for common anti-patterns, areas of complexity, and suggests improvements to enhance readability and maintainability. The skill aims to improve code quality by pinpointing specific problem areas that require attention.
When to use it
- Code Review Assistance: Use this skill when reviewing a colleague's code or your own work before merging into a main branch.
- Legacy Codebase Modernization: Identify and prioritize refactoring efforts in older, more complex projects.
- Onboarding New Developers: Help new team members quickly understand the codebase’s strengths and weaknesses.
- Automated Quality Checks: Integrate this skill into CI/CD pipelines to automatically flag potential quality issues during development.
Key capabilities
- Identifies code smells and anti-patterns
- Suggests refactoring opportunities
- Analyzes code complexity
- Highlights areas for improved readability
Example prompts
- "Analyze the following Python code for potential improvements: [code snippet]"
- "Can you identify any areas of high complexity in this JavaScript function? [function code]"
- "Review this Java class and suggest refactoring strategies to improve its design. [class code]"
Tips & gotchas
The skill's effectiveness depends on the clarity and completeness of the provided code. It is best used with well-formatted, reasonably sized code snippets for optimal analysis.
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.