Trace-MCP Refactoring
Provides a safe, automated refactoring workflow to rename symbols, extract functions, and analyze change impact across entire projects.
The Trace-MCP Refactoring skill transforms how Claude handles complex code changes by providing a structured, risk-aware workflow for project-wide modifications. Instead of guessing at references, it uses the trace-mcp server to perform deep impact analysis, detect naming collisions, and execute atomic renames that update definitions, imports, and JSX usages simultaneously. This skill is essential for maintaining large codebases, reducing technical debt through automated complexity reporting, and ensuring that structural changes never break cross-file dependencies or hidden call sites.
主な機能
01Reverse-dependency tracking to identify impacted files and tests
02Intelligent function extraction with automatic variable capture
03Comprehensive complexity reports to quantify refactoring success
04Automated project-wide symbol renaming with collision detection
05Risk assessment based on code churn, complexity, and test coverage
0688 GitHub stars
ユースケース
01Extracting complex logic into reusable functions without missing closure variables
02Analyzing the risk and downstream impact of proposed architectural changes
03Safely renaming core classes or methods across multi-file TypeScript/JavaScript projects