/jonhill90-skills:plan-parallel-executionfrom jonhill90-skills
Groups tasks for collision-free concurrent agent execution: derives file ownership mechanically, detects duplicate paths, then adds human judgement for shared non-file resources, prose-only dependencies, and per-group gate criteria.
Ships in jonhill90-skills. 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.
None: SKILL.md is the whole skill.
Concurrent agents fail by collision, not by confusion. Two workers editing one file, or writing one database, produce a mess that neither can see from inside its own turn — and the plan that scheduled them looked fine.
Most of the work here is mechanical and belongs in a script. This skill owns the part that is not, and the seam between them is the whole point: a file-intersection check is necessary, cheap, and blind to the collisions that actually happen.
Derive, never hand-maintain:
task → path for every file each task
creates or modifies, generated from the task list itselfA hand-kept manifest drifts from the tasks it describes, and a manifest that
disagrees with the plan is worse than none. Give the detector three exit
codes — clean, violation, could-not-measure — because a missing manifest
run through cut | sort | uniq -d produces silence, and silence is what
clean looks like.
Expect a known number of deliberate duplicates and assert it. Zero duplicates is a failure, not a pass, when you know some exist: it means the parser never saw those blocks.
This is the failure a file-based rule is structurally unable to catch, and it is the common one. Two tasks with disjoint file lists still collide on:
Enumerate these per task by hand and declare which are sequential-only. A plan that says "ledger writes never happen concurrently" and then schedules two ledger writers in one group has not been read against itself.
Some ordering constraints are stated in a task's rationale and appear in no file list. "Task N's failing run is task M's before-picture" — run M first and the evidence is destroyed permanently, and nothing mechanical objects.
Read every task's validation section looking for ordering language, and promote what you find into declared dependencies. Ascending task numbers invite the wrong order; if the number order and the real order disagree, say so loudly and in both places.
Ask what runs on a schedule while the plan executes. A migration applied on object construction, a cron that rewrites state, a watcher that restarts a service: these write during your groups and appear in no task's file list. Either quiesce them or gate them, and name which you chose.
A gate is an assertion or it is decoration. Per group, write the commands that must pass before the next group starts, and:
exit on failure — a grep -c that prints 0 and exits 1
is indistinguishable from success inside a non-set -e blockOne gate usually carries the whole plan's claim. Identify it, and state plainly that the plan stops if it fails — otherwise the next group starts on an unproven foundation and nobody decided to allow that.
An author cannot audit their own bookkeeping. The manifest, the dependency
order and the validation blocks get re-read by their author the same way they
were written. A separate context, given the finished artifact and told to
intersect the file sets and re-read every validation line, finds in one pass
what the author cannot see at all. See dispatching-subagents.
dispatching-subagents decides how many agents, what each may see,
isolation boundaries, and what counts as external evidence. This decides
what may run beside what.mechanize decides whether a step should become a tool. This applies
that decision to one domain and names the seam.sanity-check tests whether reasoning holds. Run it on the plan after
this produces one.loop-contract designs a repeating unattended loop. This designs one
bounded fan-out.A 35-task plan for 3–6 concurrent agents, reviewed adversarially before it ran. The file-ownership half held up exactly as designed: 142 paths, one intersection, and that intersection was the deliberate serialization the plan had declared.
Everything the review found was on the other side of the seam.
cut -f2 … | sort | uniq -d, with the rule "silence is clean" — returned
silence and exit 0 against the missing file.exit 0 and nothing else.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jonhill90/skills --plugin jonhill90-skills42 skills in this plugin
/adopt-or-buildDecide, per component, whether to adopt an existing name, dependency, library, or tool or build it in-house, weighing blast radius over convenience. Use at the point a name or dependency is about to be chosen or recommended — before it is proposed, not after. Not for finding a technology's capability ceiling (research-the-limit), not the mechanism for genuinely different reviewer lenses (ask-a-council, which this skill may call), and not a substitute for attacking the chosen answer (devils-advocate, which this skill invokes as its final step)./ask-a-councilConvene several harnesses or models against one question, each doing a distinct job it can fail at — different evidence, a different objective, or a withheld conclusion — before an artifact becomes load-bearing and being wrong is expensive. Diversity comes from what each reviewer is given, never from a character it plays. Use when the failure modes genuinely differ in kind — a single reviewer's prompt would only catch what its own lens looks for. Not for a question a cheap deterministic check settles (run the check first); not for one reviewer's prompt (sanity-check owns that); not for dispatch mechanics or isolation boundaries (dispatching-subagents owns those); not for trusting a verdict already returned (verify-the-instrument owns that)./close-the-loopConfirm you have everything needed to finish a change before starting it — what to implement, how it will be tested, and which rules govern it. Use before non-trivial work, when reviewing a plan for completeness, or when preparing a PR that needs planning evidence./create-skillDesign, create, and validate portable Agent Skills with effective triggers, concise instructions, and reusable scripts, references, or assets. Use when adding a new skill, substantially restructuring an existing skill, or validating a skill's structure, frontmatter, links, and bundled scripts./decide-by-variantBuild several genuinely different real artifacts in the real medium with fake data, and let the human pick by looking, instead of asking a taste decision in prose. Use whenever a decision has no objectively right answer — a glyph, a layout, a default, a name, a wording, a sort order — and describing the options in words would cost the human more thought than looking at them would. Run determine-intent first — if the answer is already a known parameter, build nothing. Not for getting different positions from agents on one question (ask-a-council); not for attacking an answer once chosen (devils-advocate runs after a variant is picked, not instead of building one)./derive-independently-then-compareDerive an answer from the source corpus a second time, without reading the first derivation, then compare — before trusting a conclusion drawn from a large body of transcripts, notes, or documents about what someone wants, prefers, or constrains. Use when a claim about a person's stated intent or a parameter cannot be traced to a quote, or before that claim is reported as fact. Runs before sanity-check and devils-advocate, not instead of them — a reviewer or an opposing case inherits whatever inputs the first pass fabricated, and this is the only one of the three that re-reads the source rather than the write-up. Not ask-a-council (different positions on a shared question, not the same question re-derived from source); not determine-signals (finds what was already checked, not whether what was reported was actually found there).