A big refactor touches too many files for one pass. Your AI splits it into pieces that don't step on each other.
What happened
A public pull request in the Hermes Agent repo on GitHub shows the agent handing parts of a large refactor to helpers in separate Git worktrees. It combined their changes into one pull request with test results. Maintainers and the community reviewed it before merge, and the write-up says a person stepped in along the way.
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/plan-a-large-refactor-in-parallel-pieces && curl -fsSL https://botcurrent.com/skills/plan-a-large-refactor-in-parallel-pieces/SKILL.md -o ~/.claude/skills/plan-a-large-refactor-in-parallel-pieces/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/plan-a-large-refactor-in-parallel-pieces && curl -fsSL https://botcurrent.com/skills/plan-a-large-refactor-in-parallel-pieces/SKILL.md -o ~/.agents/skills/plan-a-large-refactor-in-parallel-pieces/SKILL.md
We check every skill file before we offer it. This one is the prompt above in skill form.
Passed Skill file is well formed
Passed Runs its own code or programs
Passed Connects to the internet from code
Passed Touches passwords, keys or private files
Passed Deletes or overwrites things in bulk
Passed Hidden or scrambled code
Passed Tries to override your instructions
Passed Invisible characters in the text
Passed Sends your data somewhere else
Passed Can pay or buy without asking you
Passed Downloads or installs other software
Passed Has a password or key written into it
Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com, github.com. Fingerprint: 22124da39d85. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
A plan that splits the refactor into separate pieces, with the order to do them and tests to run after each.
You'll need
The goal of the refactor
The folders or modules involved
How you run the full test suite
Before you switch it on
Acts with your OK
If you give this job to an agent that works in your accounts:
Access it needs
Your code repository and a terminal
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
Heads up: Run the full test suite after you combine pieces. Each can pass alone and still break together.
More details: full instructions, sources and safeguards
Before you begin
Approve compute budget, externally exposed code and final merges after regression review.
Use this in your own AI tool
Copy the starter, then open your own AI tool.
Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
Review the draft and held questions. Any later action needs separate approval.
What you need
Authorized scope and dependency maps with expected preserved behavior.
Integration constraints, shared-contract ownership and reviewer acceptance criteria.
A private work-partition proposal; no subagents, compute, code disclosure, pushes or merges are activated.
Start here
01Map supplied refactor scope and shared contracts to proposed isolated work areas.
02Identify interface owners, integration order and unresolved design decisions.
03Plan combined regression checks beyond local areas; reserve agent execution, repository writes and merges for separate approval.
Advanced prompt availability
Advanced prompt
No accepted companion is available for this record. The original material below retains its original status.
Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access
Proposed inputs
Name
Refactor scope map
Owner
Maintainer
Minimum scope
Affected areas, desired structure and preserved interfaces
Quality check
Identify shared files and generated artifacts.
Name
Integration constraints
Owner
Engineering lead
Minimum scope
Ownership rules, baseline checks and merge-review requirements
Quality check
Distinguish local completion from combined acceptance.
Access and setup — proposed or unknown
Proposed minimum
Fictional dependency maps and an offline work-partition proposal.
Compatibility unknowns
Unknown: current runtime, isolated work-area support, test environment and integration tooling.
External actions requiring approval
Repository edits, compute allocation, code disclosure, pull-request publication and final merge.
Source evidence, attribution & limitations
Full source evidence
Public artifact · Coding orchestration
Original task title: Refactor a large codebase through coordinated subagents
Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.
Editorial classification; no execution or compatibility test is implied.
No tool mapping reviewed for this task.
Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.
The problem
A large structural refactor spans too many files for one isolated editing pass to coordinate safely.
Suggested task
Delegate refactoring across isolated work areas, reconcile changes and gather pull-request test evidence.
What you could produce
A coordinated refactor pull request with check results.
Where these suggestions come from
Core problem: Our interpretation of the task
Agent job: Our interpretation of the task
Expected output: Our interpretation of the task
Relevant job roles: Our interpretation of the task
Benefit type: Our interpretation of the task
Suggestions and their limits
Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.
Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.
Before you try it · suggestions untested
Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.
A broad structural refactor can divide neatly by directory while still sharing interfaces, generated files and tests across boundaries. Parallel work may make each local change look reasonable even when the combined result contains conflicting assumptions.
A coordination packet could define ownership, shared contracts and integration checkpoints before edits begin. Maintainers could see where work can proceed independently and which changes require joint review, without treating parallel completion as evidence that behavior was preserved.
Why an agent / simpler alternative
Useful judgment
Partition responsibilities and identify shared dependencies that make apparently separate edits interact.
Simpler alternative
Use a sequential refactor when the change is tightly coupled or small enough for one maintainer to review coherently.
Unsuitable when
The repository lacks a behavior baseline or no one owns integration and regression review.
Expected deliverable and review checks
Proposed artifact
Work partition with shared-contract owners, integration sequence and proposed regression evidence.
Critical checks
Every shared interface has an explicit coordination owner.
Combined review includes cross-area behavior beyond local checks.
Missing output evidence
No new workflow run or output inspection was performed for this overlay; use the canonical source-outcome references.
First check — proposed, unexecuted
Status
proposed_unexecuted
Synthetic fixture
A fictional refactor plan assigns the same interface to two workers and lists only local checks.
Acceptance checks
Expose overlapping ownership.
Require combined evidence without claiming any tests have passed.
Stop conditions
Worktree creation, code edits, test execution or merge actions are needed.
A coordinated refactor pull request with check results.
What you need: Source-named agent: Hermes Agent. Suggested inputs: Refactor scope map; Integration constraints. Fictional dependency maps and an offline work-partition proposal. Workflow costs and current compatibility remain unverified.
Approve compute budget, externally exposed code and final merges after regression review.
Public artifact. BotCurrent has not independently tested this workflow.
Related tasks
Suggestions share task wording or context; compatibility and execution remain unverified.
Allow optional analytics to help us improve BotCurrent? We use PostHog to see which pages and buttons people use, including recordings with anything you type hidden. Searches and saved items are excluded. Privacy details