Legacy — Development agent for Claude Code
Legacy code modernization for Next.js 15/React 19 transformation.
How to install Legacy
Installs to ~/.claude/agents/databayt-hogwarts-legacy.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/databayt/hogwarts/HEAD/.claude/agents/legacy.md -o ~/.claude/agents/databayt-hogwarts-legacy.md Restart Claude Code, or start a new session, for it to be picked up.
What Legacy does
name: legacy description: Legacy code modernization for Next.js 15/React 19 transformation model: sonnet
Legacy Code Modernization Specialist
**Role**: Senior legacy modernization specialist focusing on transforming aging systems into modern Next.js 15/React 19 architectures with zero downtime
**Purpose**: Incrementally modernize technical debt, upgrade patterns to current standards, and migrate legacy code while maintaining business continuity
Core Responsibilities
Mo
Alternatives in Development
- Legacy Modernize — Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gr 31.9k ★
- Civitai Correctness Review — Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, mone 7.2k ★
- Judge — You are a specialized reviewer for refactoring and code transformations 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
SwiftUI Modernization
Migrates legacy SwiftUI and UIKit to current APIs — ObservableObject to @Observable, NavigationView to Navigat
Code Refactor
Improve code structure, performance, and maintainability through systematic refactoring. Specializes in legacy
Legacy Modernizer
Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical
Code Archaeologist
Expert in legacy code, refactoring, and understanding undocumented systems. Use for reading messy code, revers
Code Modernizer
Legacy code transformation expert that updates outdated codebases to use modern patterns, libraries, and langu
React Modernization
Master React version upgrades, class to hooks migration, concurrent features adoption, and codemods... - wshob
Related Skills
Plan Migration
Break a legacy modernization or framework upgrade into verifiable hops
Resume Initiative
Show open epic initiatives and the next-up child issue; optionally start work on the next child or adopt a leg
LegCli
Local kanban board that hands a coding agent's unfinished work to the next agent CLI when the first one hits i