Updates code to use modern language features and patterns while preserving behavior.
Modernizes code to use current language features and patterns while preserving behavior.
/plugin marketplace add avovello/cc-plugins/plugin install refactor@cc-pluginsUpdates code to use modern language features and patterns while preserving behavior.
✅ DOES:
❌ DOES NOT:
var → const/letfunction() → arrow functions () =>async/awaitrequire() → import/export% formatting → f-stringspathlib instead of os.patharray() → []??fn() =>%wio/ioutil → io and os packagesPart of refactor workflow when modernization is requested or detected.
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>