Registry / jeremylongshore

jeremylongshore/tons-of-skills-marketplace/legacy-code-remover

Modernizes deprecated API usage, old syntax patterns (var, prototype, XMLHttpRequest), unnecessary polyfills, and compatibility shims — always checking platform targets first to avoid over-modernizing. Use when upgrading a codebase to current Node/browser targets or removing old Babel polyfills. Trigger with "remove legacy code", "modernize deprecated APIs".

AI agent · version 0.0.0-main.1794343454.g0500b27 · from jeremylongshore/tons-of-skills-marketplace

Install

npx yarkr-cli add agent:jeremylongshore/tons-of-skills-marketplace/legacy-code-remover

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:jeremylongshore/tons-of-skills-marketplace/legacy-code-remover
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:jeremylongshore/tons-of-skills-marketplace/legacy-code-remover

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:jeremylongshore/tons-of-skills-marketplace/legacy-code-remover

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