Skip to main content
plugin CX Codex

code-refactoring — Claude Code plugin: cleanup and tech debt

A plugin that automates refactoring and helps manage technical debt. Useful when a codebase needs cleaning up.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install code-refactoring@claude-code-workflows
Open on GitHub

What code-refactoring does

The plugin covers three things: code cleanup, refactoring automation and technical debt management. Context restoration is part of the set too, which helps when you return to a section you have not touched in a while.

Install it from the wshobson/agents marketplace as code-refactoring@claude-code-workflows. The author is Seth Hobson, the license is MIT. Besides Claude, the plugin is listed for Claude and Cursor.

Technical debt piles up quietly, so automation here is not a luxury. If a project is already buried in dead code and duplicates, the plugin gives your agent a ready workflow instead of hand-holding.

What it helps with

  • work through accumulated technical debt
  • strip dead code and duplicates
  • refactor a section without rewriting it by hand
  • restore context on a module you have not touched in months

Example prompts for the agent

  • clean this module of dead code
  • refactor src/legacy/parser.js
  • help me work through the technical debt in this project

How to install code-refactoring

Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install code-refactoring@claude-code-workflows

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about code-refactoring

How do I install code-refactoring in Claude?

Add the marketplace with /plugin marketplace add wshobson/agents, then install the plugin: /plugin install code-refactoring@claude-code-workflows.

What does code-refactoring do?

It automates code cleanup and refactoring, helps manage technical debt and restores context.

Which platforms does the plugin support?

Claude, Claude and Cursor are listed.

Source text

code-refactoring · MIT
Code cleanup, refactoring automation, and technical debt management with context restoration

© Seth Hobson · MIT · wshobson/agents

Similar plugins

All plugins for Code review and refactoring →

From the same set342

The whole set →
agent-orchestration A plugin for multi-agent setups: optimizes how several agents work together, manages context, and helps improve the agents themselves. CX Codex ★ 41,729repo stars llm-application-dev A plugin for building LLM apps, RAG systems, and LangGraph agents. Use it for vector search, embeddings, prompt work, and model evaluation. CX Codex ★ 41,729repo stars team-collaboration A Claude plugin for team workflows: it handles issue management, standup automation and the day-to-day developer experience. CX Codex ★ 41,729repo stars error-debugging Analyzes runtime errors, debugs execution traces, and diagnoses multi-agent communication issues. Helps uncover failure points in collaborative setups. CX Codex ★ 41,729repo stars tdd-workflows Adds test-driven development workflows with red-green-refactor cycles and code review. Helpful when writing tests before feature code in supported IDEs. CX Codex ★ 41,729repo stars unit-testing Automates unit and integration testing for Python and JavaScript, with debugging support. Use it when a project needs repeatable test checks. CX Codex ★ 41,729repo stars full-stack-orchestration Runs a feature through code, tests, security checks, performance and deployment as one flow. Useful when a task pulls the whole cycle behind it. CX Codex ★ 41,729repo stars frontend-mobile-development Implements frontend user interfaces and cross-platform mobile applications. Helpful when building web UI components and mobile client code. CX Codex ★ 41,729repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor