首页/ AI 技能 / @skilllib/skill-2117939930272417846
Skill站外收录 @skilllib/skill-2117939930272417846

windsurf-multi-file-editing

支持跨多个文件的协同编辑与原子化变更,可统一执行重构、符号重命名或代码迁移,确保修改在多文件间保持一致,适用于复杂项目中的批量维护与结构优化场景。

0.0 (0) 31 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# Windsurf Multi File Editing ## Overview This skill enables coordinated multi-file editing operations within Windsurf using Cascade AI. It provides atomic changes across multiple files, ensuring consistency when renaming symbols, moving code, or making cross-file refactoring changes. The skill handles dependency tracking, preview generation, and rollback capabilities for safe multi-file operations. ## Prerequisites - Windsurf IDE installed and configured - Active Cascade AI subscription - Project workspace initialized with `.windsurf/` directory - Git or version control for rollback safety - Understanding of project file structure and dependencies ## Instructions 1. **Scope the Operation** 2. **Configure Operation Template** 3. **Generate Preview** 4. **Execute with Preview** 5. **Verify Results** See `{baseDir}/references/implementation.md` for detailed implementation guide. ## Output - Modified files with consistent changes applied - `edit-history.json` log with operation details - Rollback snapshot for recovery if needed - Validation report with syntax check results ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Windsurf Multi-File Editing Documentation](https://docs.windsurf.ai/features/multi-file-editing) - [Cascade AI Coordination Guide](https://docs.windsurf.ai/cascade/coordination) - [Atomic Operations Best Practices](https://docs.windsurf.ai/best-practices/atomic-ops)

评论 0

还没有评论,来抢沙发。