Skip to content
navigateopenescclose
Claude+372Whisper+228LangChain+168Codex+223NotebookLM+276DALL-E 3+192DeepL+249n8n+208Topaz Video AI+153LlamaIndex+161
Code Refactoring logo
Skill

Code Refactoring

Counts technical debt against stated thresholds before any line of code is touched.

0
SaveVisit website ↗

Install

Claude Code: /plugin marketplace add wshobson/agents → /plugin install code-refactoring
Triggers on

Teknik borç ölçülürken, eski bir kod tabanı kademeli yenilenirken ya da bir modül SOLID gözüyle yeniden yazılırken devreye giriyor.

Needs tools
ReadEditGrepBash
Author
Seth Hobson
License
MIT

The tech-debt command does not report vague smells; it counts against explicit limits — cyclomatic complexity above ten, nesting deeper than three levels, methods over fifty lines, classes past five hundred lines or twenty methods — and weights each hotspot by how often that file changes, so effort lands where the pain actually is. The refactor-clean command then performs the rewrite under SOLID review, with an explicit instruction not to over-engineer, which is the failure mode of every automated cleanup. The legacy-modernizer agent handles framework migrations using the strangler pattern and one fixed order of operations: tests first, then the refactor, with feature flags for the switchover. A context-restore command rehydrates earlier project knowledge under a token budget and a similarity cutoff.

Comments(0)

Sign in to comment

No comments yet — be the first.

Similar skills

Report this comment

Why are you reporting this?