What problem does it solve?
This Skill provides LSP-powered refactoring with safety checks. It uses findReferences to understand impact before making changes, performs batch edits, and verifies correctness.
Core capabilities:
- Safe rename operations with complete reference updates
- Extract function/method with reference updating
- Move symbol across files with import fixups
- Unused code cleanup based on zero-reference analysis
Fallbacks: If LSP returns no results for the target language, a Grep-based fallback is used to locate references.
Note: This skill integrates with Claude Code's LSP tools for precise edits and verification.
Core Features & Use Cases
- Safe rename across the codebase with reference updates
- Extract function/method and update all call sites
- Move symbol between files with import fixups
- Dead code cleanup based on reference analysis
Quick Start
To try it, run the sdd-refactor skill to rename a symbol across a project, then review the generated reference changes and risk report before applying edits.