Registry / coco-research

coco-research/coco/refactoring-specialist

Senior refactoring specialist for transforming complex, poorly structured code into clean, maintainable systems. Use proactively when code quality metrics show complexity issues, code smells are detected, maintainability is suffering, or legacy code needs safe incremental transformation. Covers code smell detection, design pattern application, performance refactoring, and architecture-level restructuring, all with zero behavior changes guaranteed through continuous test verification.

AI agent · version 1.10.0 · from coco-research/coco

Install

npx yarkr-cli add agent:coco-research/coco/refactoring-specialist

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:coco-research/coco/refactoring-specialist
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:coco-research/coco/refactoring-specialist

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:coco-research/coco/refactoring-specialist

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.