Parallel work review ↗
Five-stage workflow (`VALIDATE_INDEPENDENCE -> PARTITION_SCOPES -> EXECUTE_SLICES -> BLINDED_REVIEW -> INTEGRATE_AND_VERIFY`) for splitting and safely merging parallel workstreams.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Split and merge parallel engineering or review work safely by sizing coordination overhead, preventing concurrent write collisions, blinding independent reviews, and verifying real completion before integration.
"coordinate-independent-work""Split and merge parallel engineering or review work safely by sizing coordination overhead, preventing concurrent write collisions, blinding independent reviews, and verifying real completion before integration. Use when coordinating multiple agents, branches, or workstreams.""MIT"Use this Skill when splitting a task across parallel workers, subagents, worktrees, or reviewers — or when merging concurrent changes into a shared repository.
When not to use: Do not split a small, tightly coupled, or single-file task across multiple workers merely to look parallel; one focused worker is faster, cheaper, and less error-prone when coordination cost exceeds parallelism gain.
The core rule is: only add parallel workers while marginal value exceeds coordination overhead, isolate write scopes with write-bound concurrency guards, keep independent reviews genuinely independent, and treat integration as an explicit verification step.
Before spawning parallel workers or splitting tasks:
Never send vague "continue" or "help with this" prompts. Every delegated slice needs:
Remember: delegating execution does not transfer accountability, and noting "blocked on X" does not mean X's owner accepted the dependency.
In shared workspaces, reading a whole file does not authorize rewriting it, and a separate pre-write hash check followed by an unguarded write (or raw atomic rename) does not prevent lost updates if another writer edits in between.
Enforce safe concurrent writes:
git reset --hard, git checkout -- ., or stash/discard another worker's uncommitted edits.Two sessions repeating the same summary do not provide independent verification:
Keep five communication states distinct: posted ≠ delivered ≠ read ≠ understood ≠ accepted. Silence never implies agreement or handoff acceptance.
When parallel workers disagree, classify the conflict before choosing a resolution:
Preserve consequential dissent and its revisit trigger when merging.
A worker reporting "done" is a closure candidate, not integrated proof. After merging parallel outputs:
A release needs both an API error-handling audit and a frontend accessibility audit.
src/api/ read-only; Worker B audits src/ui/ read-only; Coordinator reviews both reports against actual files, applies minimal targeted edits in one controlled pass (or separate non-overlapping branches), and runs integration tests.src/shared/types.ts without locks while a third worker "reviews" by summarizing Worker A's text without inspecting the diff.Before closing coordinated work, verify:
---
name: coordinate-independent-work
description: Split and merge parallel engineering or review work safely by sizing coordination overhead, preventing concurrent write collisions, blinding independent reviews, and verifying real completion before integration. Use when coordinating multiple agents, branches, or workstreams.
license: MIT
---
# Coordinate independent work
Use this Skill when splitting a task across parallel workers, subagents, worktrees, or reviewers — or when merging concurrent changes into a shared repository.
**When not to use:** Do not split a small, tightly coupled, or single-file task across multiple workers merely to look parallel; one focused worker is faster, cheaper, and less error-prone when coordination cost exceeds parallelism gain.
The core rule is: **only add parallel workers while marginal value exceeds coordination overhead, isolate write scopes with write-bound concurrency guards, keep independent reviews genuinely independent, and treat integration as an explicit verification step.**
## 1. Size the coordination structure to the actual work
Before spawning parallel workers or splitting tasks:
1. Confirm the slices are genuinely independent (non-overlapping files, modules, or read-only research angles).
2. Check whether a deterministic local tool (search, linter, diff, test script) answers the question more reliably than an extra agent.
3. Keep **one clear integration owner** responsible for reconciling outputs and giving the user one coherent answer rather than competing contradictory replies.
4. Dissolve temporary coordination overhead as soon as the parallel slice finishes; never invent busywork for idle workers.
## 2. Write concrete, self-contained work packets
Never send vague "continue" or "help with this" prompts. Every delegated slice needs:
- exact objective and target repository/revision;
- explicit read scope and **exclusive write scope** (exact files or symbols owned, plus no-touch paths);
- dependencies and upstream assumptions;
- concrete deliverable format and required verification;
- explicit stop conditions and what belongs back to the coordinator.
Remember: **delegating execution does not transfer accountability**, and noting "blocked on X" does not mean X's owner accepted the dependency.
## 3. Prevent concurrent write collisions (TOCTOU discipline)
In shared workspaces, reading a whole file does not authorize rewriting it, and a separate pre-write hash check followed by an unguarded write (or raw atomic rename) **does not prevent lost updates** if another writer edits in between.
Enforce safe concurrent writes:
1. Assign disjoint write scopes or isolated worktrees/branches before editing.
2. Where shared targets cannot be partitioned, require a **write-bound concurrency guard** (conditional commit, compare-and-swap, enforced lock, or coordinated patch intake). If no guard exists against active concurrent mutation, pause and report the conflict instead of overwriting.
3. If a target preimage changes mid-flight, re-read and reconcile. Never run blanket `git reset --hard`, `git checkout -- .`, or stash/discard another worker's uncommitted edits.
## 4. Keep independent review genuinely independent
Two sessions repeating the same summary do not provide independent verification:
- **Blinded first pass:** For high-impact reviews, give the reviewer the raw diff, requirements, and runtime evidence *before* sharing the author's explanation so the reviewer does not anchor on the author's blind spots.
- **Contextual conflict of interest:** Check whether the reviewer shares the exact prompt lineage, flawed summary, or code authorship; if so, treat it as correlated review, not independent proof.
- **Skip ceremonial spawning:** When a deterministic compiler, schema validator, or integration test proves the contract directly, prefer that over spawning an extra reviewer agent for theater.
## 5. Respect communication stages and classify conflicts
Keep five communication states distinct: **posted ≠ delivered ≠ read ≠ understood ≠ accepted**. Silence never implies agreement or handoff acceptance.
When parallel workers disagree, classify the conflict before choosing a resolution:
- **Factual / technical dispute** → run a small, bounded discriminating check or parallel spike instead of debating in prose.
- **Write overlap / interface mismatch** → agree on a narrow boundary contract (schema, types, acceptance tests) before editing.
- **Value or priority trade-off** → surface the trade-off cleanly to the decision owner rather than letting agents vote on user priorities.
Preserve consequential dissent and its revisit trigger when merging.
## 6. Integrate with real post-merge verification
A worker reporting "done" is a closure candidate, not integrated proof. After merging parallel outputs:
1. Inspect the combined diff across boundaries (imports, types, shared registries, formatting).
2. Run focused integration checks covering cross-slice contracts and retained invariants.
3. Report merged results, unresolved gaps, and any partial outcomes honestly.
## Example
A release needs both an API error-handling audit and a frontend accessibility audit.
- **Good split:** Worker A audits `src/api/` read-only; Worker B audits `src/ui/` read-only; Coordinator reviews both reports against actual files, applies minimal targeted edits in one controlled pass (or separate non-overlapping branches), and runs integration tests.
- **Bad split:** Two workers simultaneously edit `src/shared/types.ts` without locks while a third worker "reviews" by summarizing Worker A's text without inspecting the diff.
## Completion test
Before closing coordinated work, verify:
1. Parallelism was justified by genuine independence rather than ceremony.
2. No concurrent edits were lost, overwritten, or silently reverted.
3. Independent review used primary artifacts rather than echoing producer summaries.
4. Integrated behavior was verified across slice boundaries after merging.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind coordinate-independent-workSplit and merge parallel engineering or review work safely by sizing coordination overhead, preventing concurrent write collisions, blinding independent reviews, and verifying real completion before integration.
Best for: Multi-stream tasks, parallel subagents, separate branches/worktrees, and independent code or design reviews. When not to use: Small, tightly coupled, or single-file edits where splitting work adds more overhead and conflict risk than a single focused pass. Status: Source draft, not a supported catalog release.
partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)For a release audit, Worker A inspects src/api/ read-only, Worker B inspects src/ui/ read-only, and a single coordinator reconciles both reports against actual files, applies scoped changes without overlapping writers, and runs cross-boundary integration checks.
This Skill teaches coordination discipline; actual filesystem locking, branch isolation, and subagent permissions must be enforced by the host runtime or version control system.
Because another editor or agent can modify the file between your hash check and your write (a time-of-check/time-of-use race). Safe concurrent mutation requires disjoint scopes or a write-bound guard such as a lock, compare-and-swap, or coordinated patch intake.
Showing the reviewer the author's root-cause narrative up front anchors both parties to the same blind spots. Reading the raw diff and requirements first produces genuinely independent findings.
No. Parallelism helps only when slices are genuinely independent and marginal value exceeds handoff, merge, and verification overhead.
Original Feed material is covered by MIT; preserve the bundled MIT notice when copying the directory. Inspect the registry record for current status.
native
Format-compatible baseline (skills-ref 0.1.1) only; runtime installation, activation, and behavioral evaluation remain separate.
Original clean-room public practice authored from general parallel engineering, concurrency safety, and independent review principles; no private orchestration architecture is embedded.