跳过主要内容
code-refactoringby Seth HobsonDevelopmentGitHub stars: 40.1k

Code Refactoring plugin: what it installs and how to add it

Automates code cleanup, refactoring, and technical debt work while restoring context for ongoing changes.

From the Marketplace: claude-code-workflows marketplace

Install

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

Run both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

What is inside

  • 3commands
  • 2agents

About this plugin

The plugin supports code cleanup, refactoring automation, technical debt management, and context restoration for ongoing development work. Its commands cover restoring context, cleaning up code, and handling technical debt.

Use it when a codebase needs structured maintenance or when work resumes after context has been lost. It includes agents for reviewing code and modernising legacy code.

What's inside

  • 3 slash commands: /context-restore, /refactor-clean, and /tech-debt
  • 2 agents: code-reviewer and legacy-modernizer

More from claude-code-workflows

Skills, not plugins

Prefer a single skill for development work? 471 skills in the same category, each installed on its own.

Development skills