Help us improve
Share bugs, ideas, or general feedback.
From codescene
Uses Code Health findings to guide refactoring in small, safe steps with measurable baselines and verification.
npx claudepluginhub codescene-oss/codescene-mcp-server --plugin codesceneHow this skill is triggered — by the user, by Claude, or both
Slash command
/codescene:guiding-refactoring-with-code-healthThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use Code Health as the control signal for refactoring. The agent should first understand why a file is hard to work with, establish a measurable baseline, then improve it in small structural steps and verify that each step helped. The goal is not just cleaner code, but code that is easier for both humans and agents to understand and modify safely.
Generates quantified business justifications for refactoring work, translating code health metrics into delivery speed and defect reduction arguments for stakeholders.
Identifies code smells, assesses refactoring risk, and builds incremental execution plans with rollback strategies. Activates on refactoring, code cleanup, tech debt, or duplication reduction requests.
Applies disciplined refactoring in small, verifiable steps to improve code structure without changing behavior: extract functions, rename, move code.
Share bugs, ideas, or general feedback.
Use Code Health as the control signal for refactoring. The agent should first understand why a file is hard to work with, establish a measurable baseline, then improve it in small structural steps and verify that each step helped. The goal is not just cleaner code, but code that is easier for both humans and agents to understand and modify safely.
Do not use this skill when the task is to rank project-wide priorities. Use prioritizing-technical-debt for that.
code_health_review: Detailed maintainability findings for a file.code_health_score: Numeric baseline and trend check across refactoring iterations.code_health_review on the target file.code_health_score so the refactoring starts from a measurable baseline.code_health_review to see whether the targeted structural problems were reduced.code_health_score as the compact checkpoint to confirm directional improvement across iterations.