/mkanat-skills:cleanupfrom mkanat skills
Analyzes code for redundant transformations, unnecessary defensive code, and backwards-compatibility shims, then iteratively fixes and re-inspects until no further cleanups remain.
Ships in mkanat skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Look over the current change (or the whole codebase if there is no current change) and look for:
Print out your findings, if any. Then, fix any findings you found.
After fixing your findings, look over the code again: now that we have done that cleanup, are there any other cleanups available? Print out your new findings. Then fix them.
Continue to do that in a loop (look over the code again, find any new cleanups that are visible now that you've fixed the last ones, print them out, and fix them if you find any) until you find no more cleanups to do upon reinspection.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-cleanup, refactoring, redundancy-detection, code-quality
npx claudepluginhub mkanat/skills --plugin mkanat-skillsOther plugins' skills for the same job