code-refactoring

PackAI & models

code-refactoring is a plugin for AI agents that handles code cleanup, refactoring automation, and technical debt management with context restoration. It lets an agent tidy messy code, restructure it safely, and keep track of leftover technical debt across sessions.

Unavailable. Delivery for this kind is on the roadmap — not serving yet.

Have an AI agent that supports plugins.

What your AI can do with it

  • Cleans up messy code automatically
  • Automates refactoring of existing code
  • Tracks and manages technical debt
  • Restores context so refactoring work continues across sessions

Getting started

  1. Have an AI agent that supports plugins.
  2. Add the code-refactoring plugin to the agent's configuration.
  3. Point the agent at the codebase you want cleaned up.
  4. Ask the agent to refactor code or record technical debt as needed.

Signals

GitHub stars
40k
Forks
4k
Last commit
Sep 2026

Questions

What does context restoration mean here?
The plugin keeps track of refactoring work and technical debt so the agent can pick up where it left off, even after a session ends.
Can it restructure code without breaking things?
It is designed to restructure code safely as part of its refactoring automation, though you should review changes as with any code modification.
Does it work on any programming language?
The item does not specify supported languages.
Advanced
Item type
plugin
Key
wshobson-agents-code-refactoring
Source
github.com/wshobson/agents