All Use CasesPostToolUsePostToolUsePostToolUse
Claude Code setups for refactoring and modernization
Cut technical debt without breaking what works. Skills, agents, plugins, and how-tos that help Claude Code untangle legacy code, extract modules, and migrate across framework versions with tests in the loop.
29 items across skills, agents, plugins, MCP servers, prompts, hooks, and guides.
Example prompts
Concrete things you can type into Claude Code for refactoring. Each example uses a real skill, agent, slash command, hook, or MCP server listed below.
- Extract a tangled module into smaller files
Use the refactor skill on src/lib/orders.ts and propose a split — keep behavior identical and update imports.
- Migrate from React 18 to 19
Use the migration-specialist agent to plan the upgrade, surface breaking changes, and stage PRs by package.
- Find and dedupe code across a monorepo
Use the monorepo-manager skill to find duplicated utils across apps/ and extract them to packages/shared.
- Modernize a callback-heavy module to async/await
Refactor src/lib/jobs.ts from callbacks to async/await, keeping behavior identical, and update the tests.
Skills (8)
Browse all skillsCode Review
Perform thorough code reviews with actionable feedback
reviewcode-qualityworkflow
Context Engineering Kit
Advanced context engineering techniques and patterns with minimal token footprint for efficient Claude Code sessions
contextoptimizationefficiencytokens
Architecture Diagram Generator
Generate Mermaid diagrams showing system architecture, data flows, and component relationships from your codebase
architecturediagramsmermaidvisualization+1
Database Migration Planner
Plan and generate safe database migrations with rollback strategies and zero-downtime deployment considerations
databasemigrationssqlschema+1
Code Refactor
Systematically refactor code for improved readability, maintainability, and performance
refactoringcode-qualitycleanuppatterns
Performance Benchmark
Profile and benchmark code performance, identify bottlenecks, and suggest optimizations with before/after measurements
performancebenchmarkingprofilingoptimization
Monorepo Manager
Manage monorepo operations including dependency graphs, affected package detection, build ordering, and workspace coordination
monorepoworkspacedependenciesbuild
Code Walkthrough
Generate an interactive walkthrough of a codebase feature, tracing execution flow from entry point to output
code-reviewdocumentationonboardingarchitecture+1
Agents (8)
Browse all agentsTypeScript Pro
Professional TypeScript engineer specializing in scalable, type-safe applications for Node.js and browser environments
Developmenttypescriptnode.js+3
Backend Architect
Senior backend engineer specializing in scalable API design, microservices, and distributed systems
Developmentbackendapi+3
Code Explorer
Deeply analyzes existing codebase features by tracing execution paths, mapping architecture layers, understanding patterns and abstractions, and documenting dependencies
Developmentanalysisarchitecture+3
Code Architect
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify
Developmentarchitecturedesign+3
Database Expert
Specialist in SQL and NoSQL database design, query optimization, migrations, and performance tuning
Data & AIdatabasesql+4
Performance Optimizer
Specialist in profiling, benchmarking, and optimizing application performance across frontend and backend
Quality & Testingperformanceoptimization+3
Monorepo Architect
Specialist in designing and maintaining monorepo architectures with efficient build systems and dependency management
Infrastructuremonorepoturborepo+5
Migration Specialist
Expert in planning and executing code migrations, framework upgrades, and system transitions with minimal risk
Developmentmigrationrefactoring+4
Plugins (8)
Browse all pluginsFeature Development
Guided feature development with codebase understanding and architecture focus. A comprehensive 7-phase workflow for building features systematically with specialized agents for exploration, architecture, and review.
featuredevelopmentarchitectureofficial+1
Serena
Semantic code analysis beyond syntax. Intelligent code understanding, refactoring suggestions, and codebase navigation through deep language analysis. Understands code meaning, not just structure.
code-analysisrefactoringsemanticofficial
Cursor Rules Converter
Import and convert .cursorrules files to CLAUDE.md format for seamless migration from Cursor to Claude Code
migrationcursorclaude-mdconversion+1
Monorepo Navigator
Smart navigation across monorepo packages and workspaces with dependency-aware context switching
monoreponavigationworkspacesturborepo+1
Performance Profiler
Profile and optimize code performance with bundle analysis, runtime benchmarking, memory leak detection, and actionable improvement suggestions
performanceprofilingoptimizationbundle-size+1
Architecture Patterns
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.
architecturegoai
Health Check Endpoints
Health check endpoints for liveness, readiness, dependency monitoring. Use for Kubernetes, load balancers, auto-scaling, or encountering probe failures, startup delays, dependency checks, timeout configuration errors.
architecturekubernetesmonitoringai
Microservices Patterns
Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.
architecture
MCP Servers (1)
Browse all MCP serversHooks (3)
Browse all hooksLint on Edit
Automatically run ESLint on files after Claude Code edits them
lintingeslintcode-quality
Format on Save
Run Prettier to format files after Claude Code writes or edits them
formattingprettiercode-quality
Bundle Size Monitor
Monitors JavaScript bundle size after builds and warns when the bundle exceeds size thresholds
performancebundle-sizeoptimizationbuild