Batch refactors code across multiple files using MorphLLM edit_file. Use for renaming patterns everywhere, style updates, large files (500+ lines), or 5+ edits per file.
From dev-workflownpx claudepluginhub alexei-led/cc-thingz --plugin dev-workflowThis skill is limited to using the following tools:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
MorphLLM edit_file provides semantic code merging at 10,500+ tokens/sec with 98% accuracy.
| Use edit_file | Use Built-in Edit/MultiEdit |
|---|---|
| Multi-file batch refactoring | Single file, clear edit |
| Style/pattern update everywhere | 2-3 targeted replacements |
| Complex prompt → many changes | Need clear diff to review/tune |
| Structural refactoring at scale | Simple rename (replace_all) |
| 5+ files need same pattern | Straightforward single-file work |
1. Use WarpGrep to find all locations needing change
2. For each file: call edit_file with changes
3. Verify with lint/test
1. Call edit_file with dryRun: true
2. Review preview output
3. If approved, call again with dryRun: false
path: "/absolute/path/to/file"
code_edit: "changed lines with // ... existing code ... markers"
instruction: "brief description of changes"
dryRun: false (set true to preview)
Use // ... existing code ... markers for unchanged sections:
// ... existing code ...
function updatedFunction() {
// new implementation
}
// ... existing code ...
instruction: "Add error wrapping to all repository methods"
code_edit: Shows only changed functions with context markers
instruction: "Update imports from old-pkg to new-pkg"
code_edit: Shows import section with changes
instruction: "Rename getUserById to findUser throughout file"
code_edit: Shows all locations with changes