/dstack-run:diamond-taskfrom DStack Run
Partitions large issues/PRs into disjoint write sets for isolated workers, then mechanically unions their diffs for review. Use when a single worker can't handle the full surface but work splits cleanly.
Ships in DStack Run. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One issue or pull request is too large or too entangled for a single worker, yet its whole writable surface splits cleanly into pieces no two workers need to touch at once. This skill turns that issue into a small production line: partition the work into disjoint write sets, run one isolated worker per set, union their diffs mechanically, and have a fresh reviewer approve the result. It is the sole generator of production task DAGs, and it works only on the local machine: named local run artifacts and declared target write sets, with the pre-run checkpoint as rollback. Nothing here reaches a remote or makes an irreversible change.
For genuinely independent parallel tasks that share no issue and no writable surface, use parallel-launch instead.
One issue or pull request with its acceptance criteria; the local target workspace, whose current bytes and metadata are the composition base; the checks each worker and the final composed result must satisfy; named local locations for the checkpoint, the isolated composition, and the run report; and any fixed ordering constraints between units of work (otherwise the partition itself decides which worker nodes are independent). The production task DAG comes from those units of work and their declared ordering constraints only. If required input, a checkpoint, isolation, or a required check is unavailable, return blocked without touching the target. When the acceptance criteria or the write-set partition were drafted by the agent rather than supplied by the user, confirm them with the user before dispatching any writer.
Capture the exact target base in the named checkpoint first. Then enumerate every target byte the task may create, replace, or delete: integration edits, formatting changes, and generated output the final result requires all count. An unenumerated byte is an uncovered byte later.
Partition the complete writable surface into worker nodes with pairwise-disjoint write sets. Define each set by canonical target paths and, where a path is shared, by non-overlapping byte regions or insertion boundaries. Give every node its task, its allowed write set, the checks it must satisfy, the proof it must return, and only the inputs it needs. Every content byte the composer might otherwise have to author must belong to some worker node, because the composer authors nothing: it applies returned diffs by mechanical union inside the declared sets and changes nothing outside them.
Stop before running any worker if coverage is incomplete, any two sets overlap, or isolation cannot be provided. That stop is split-falsified: discard any isolated compositions, restore the target from the checkpoint if application began, keep the evidence, and emit no partial composition.
Run every ready node in an isolated copy of the base, give each worker that copy's absolute path, and state in its brief that every read and write must resolve under it. Each worker may change only its declared write set and must return its exact diff, its check results, and its proof. No worker approves its own result, and no worker approves the composition. Any change to the target checkout that no approved composition declares stops the run as split-falsified.
Validate each returned diff against its node contract before composing anything. An overlap, an out-of-set byte, or a failing check falsifies the responsible node: re-run only that node in fresh isolation and validate again. When the failure spans write sets or exposes missing partition coverage, the split itself is falsified instead of any one node.
Rebuild the isolated composition from the checkpoint and union the validated worker diffs mechanically: reproduce every diff byte-for-byte, change nothing outside the declared write sets, and write no reconciling, improving, formatting, or completing content of your own. Verify the composed bytes against every returned diff and run the declared composed-result checks.
Attribute any composition mismatch or failing check to exactly one worker node, re-run only that node, then rebuild from the checkpoint and repeat validation. A mismatch that spans write sets falsifies the split. If a node repeats an equivalent out-of-set change, check failure, composition mismatch, or review finding after its isolated re-run, that node is terminally falsified (node-falsified): stop with the target unchanged or restored, the responsible node named, the falsifying evidence retained, and no partial composition emitted.
Hand the validated composition and all proofs to a fresh isolated reviewer who was neither a worker nor the composer; only that reviewer may approve. A review finding falsifies exactly one worker node (re-run it, rebuild from the checkpoint, repeat composition, checks, and fresh review), or the split when the finding spans write sets.
After approval, apply the reviewed mechanical union to the named target and verify its bytes equal the approved composition. Record everything in the run report: the node contracts, the diffs, the proofs, the composed check results, the reviewer identity and verdict, and the final byte comparison. Never report approval unless the composed checks, the byte comparison, and the fresh-review verdict all pass in the same replay.
On success return approved with the applied composed local result and that run report. On a clean stop return blocked, split-falsified, or node-falsified with the unchanged or restored target, no partial composition, the responsible node or split, and the falsifying evidence. Report either case in run order: checkpoint → partition → run → validate → compose → attribute → review → apply.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/append-run-logUse when a completed agent run must be recorded as durable, queryable evidence. Not for remote, credential, publish, deploy, or irreversible changes./artifact-arenaUse when asked to run /artifact-arena to generate and judge competing artifact implementations. Not for remote, credential, publish, deploy, or irreversible changes./cybernetic-loopUse when the caller supplies a falsifiable out-of-happy-path invariant and a finite budget. Restores via bounded patches or reverts. Not for normal feature delivery or universal retries./diagnose-loop-healthUse when a configured loop misbehaves, produces unexpected results, or its setup soundness is questioned. Not for tasks that require source or remote-system changes, not for loop design./feedback-sweepUse when asked to /feedback-sweep [setup|reconfigure] [mode:non-interactive]. Not for discovering recurring feedback patterns./figure-it-outUse when non-trivial work should run a matched playbook to verified real-surface completion, or a bespoke workflow when none fits. Not for remote, credential, publish, deploy, or irreversible changes.npx claudepluginhub gosuda/dstack-skills --plugin dstack-runOther plugins' skills for the same job