windsurf-refactoring-large
执行大规模重构与级联协调。在用户提及“大规模重构”、“代码库迁移”、“架构重构”、“重大重构”或“系统级更改”时激活。处理复杂的重构操作。
📖 中文导读:执行大规模重构与级联协调。在用户提及“大规模重构”、“代码库迁移”、“架构重构”、“重大重构”或“系统级更改”时激活。处理复杂的重构操作。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: "windsurf-refactoring-large" description: | Manage large-scale refactoring with Cascade coordination. Activate when users mention "large refactoring", "codebase migration", "architecture refactor", "major refactoring", or "system-wide changes". Handles complex refactoring operations. Use when working with windsurf refactoring large functionality. Trigger with phrases like "windsurf refactoring large", "windsurf large", "windsurf". allowed-tools: "Read,Write,Edit,Bash(cmd:*),Grep,Glob" version: 1.0.0 license: MIT author: "Jeremy Longshore jeremy@intentsolutions.io"
Windsurf Refactoring Large
Overview
This skill enables large-scale refactoring operations that span hundreds or thousands of files. It provides phased execution with checkpoints, comprehensive rollback capabilities, and AI-assisted planning. Ideal for architecture migrations, API version upgrades, dependency replacements, and codebase modernization efforts that would traditionally take weeks to complete manually.
Prerequisites
- Windsurf IDE with Enterprise or Pro subscription
- Active Cascade AI connection
- Git repository with clean working state
- Comprehensive test suite for validation
- Backup strategy for critical code paths
- Team coordination for multi-developer codebases
Instructions
- Analyze Scope
- Create Plan
- Prepare Environment
- Execute with Cascade
- Verify Completion
See {baseDir}/references/implementation.md for detailed implementation guide.
Output
- Refactored codebase with all patterns migrated
- Phase completion reports with metrics
- Before/after performance comparison
- Updated documentation and API references
- Archived rollback artifacts (kept 30 days)
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.