parallel-edits

Coordinate batched edits across multiple files with parallel validation.

17|1|Updated Nov 17, 2024
One-click install
npx skills add https://github.com/mifunedev/orchestra --skill parallel-edits-mifunedev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-edits
Source: https://github.com/mifunedev/orchestra/tree/main/.ralph/skills/parallel-edits
Command: npx skills add https://github.com/mifunedev/orchestra --skill parallel-edits-mifunedev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Efficiently coordinates edits across multiple files, ensuring changes are planned, validated, and applied in a safe, batched workflow.

Core Features & Use Cases

  • Plan-driven edits: identify all affected files and determine exact old/new string pairs before applying changes.
  • Read-before-write validation: read target files in parallel to verify content and ensure edits are applicable.
  • Synchronized execution: apply all edits in a single batch, preserving indentation and structure, with clear reporting of results.
  • Use Case: refactor a module across several files or update multiple imports consistently across a codebase.

Quick Start

Plan the edits across all target files, then execute them in a single parallel batch.

Frequently Asked Questions about parallel-edits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate multi-file code refactors across a repository?

Multi-file code refactors are coordinated by planning exact old and new string pairs across affected files, reading targets in parallel to validate content, and executing synchronized batch edits that preserve indentation.

What is the best way to apply consistent import updates across multiple files?

Consistent import updates across multiple files are applied using a plan-read-validate-execute workflow that reads target files in parallel, verifies exact string matches, and executes all replacements in a single synchronized batch.

Can I validate file contents before applying batch edits to prevent mismatches?

Yes, read-before-write validation reads all target files in parallel to verify exact content and ensure edits are applicable before any changes are executed, preventing mismatches and failed replacements.

Does parallel batch editing preserve exact indentation during large-scale renames?

Parallel batch editing preserves exact indentation and file structure during large-scale renames by enforcing strict uniqueness or replace-all strategies when applying coordinated edits across multiple files.

When should I use a plan-driven workflow for multi-file edits?

A plan-driven workflow should be used for multi-file edits when changes must remain consistent across many files, such as module refactors or import updates, requiring all affected files and exact string pairs to be identified beforehand.

What are the limitations of using parallel edits for codebase changes?

Parallel edits require exact old and new string pairs to be defined beforehand and rely on strict uniqueness or replace-all strategies, meaning ambiguous string matches without clear validation will cause batch execution to fail.