Skip to main content

Parallel Agents for Multi-File Refactors

Code
By TenaciousTenrec69 | 75 views 0 copies |

Prompt

I need to perform a cross-cutting refactor: [describe change]. Act as a coordinator agent and break this into parallel workstreams. For each workstream: (1) identify all affected files using Grep/Glob, (2) make changes, (3) validate with a local build or test. Workstreams should be: A) Database/SQL changes with migration scripts, B) Backend template/ColdFusion changes, C) Frontend JS/CSS/HTML changes, D) Test updates, E) Documentation and changelog updates. After all workstreams complete, run the full build and test suite. Flag any cross-workstream conflicts. Generate a deployment checklist including SQL scripts to run, web server config changes, and Cloudflare cache purges.

Rate this prompt

Click to rate

0.0 avg rating (0)

Notes

Tip: Use Claude Code's multi-agent orchestration with a coordinator pattern. Define sub-tasks as separate agent invocations via the SDK, each with a scoped file set and validation criteria, then have a parent agent merge results and run the build pipeline.
Subcategory: Claude