Skip to content
Development
Agent

parallel-execution-patterns

**Scope**: Safe parallel agent streams, file domain conflict detection, concurrent workloads.

From plugin
vexjoy-agent
449198 skills198 agents12 commands83 hooks

Claude Code

$ npx -y skills add notque/vexjoy-agent --agent claude-code

Agent definition

parallel-execution-patterns.md

Parallel Execution Patterns Reference

> **Scope**: Safe parallel agent streams, file domain conflict detection, concurrent workloads.

---

Task Parallelism Categories

| Task Type | Safe? | Constraint | |-----------|-------|------------| | Different file domains | Yes | No shared files | | Same file, different sections | No | Serialize via handoff | | Read-only analysis/audit/review | Always | No write conflicts | | Test-only agents | Yes | Read-only against source | | Schema migration + app code | No | Migration first | | Lint + format on same file | No | Sequential post-compile | | Documentation updates | Usually | Check shared index files |

---

Fan-Out Parallel Dispatch

STREAM A: golang-general-engineer → src/api/ (RUNNING)
STREAM B: typescript-frontend-engineer → src/ui/ (RUNNING)
STREAM C: database-engineer → migrations/ (RUNNING)

Fan-in: wait for A+B+C before integration.

---

File Domain Declaration (Pre-Dispatch)

Task: Refactor authentication middleware
Agent: nodejs-api-engineer
Domain: src/middleware/auth.ts, src/middleware/session.ts
Excludes: src/routes/ (owned by STREAM B)
Success: `npm test -- auth` passes

Explicit declaration makes conflicts visible at planning time.

---

Fan-In Gate

Wait conditions:
- [ ] STREAM A complete
- [ ] STREAM B complete
- [ ] STREAM C complete

BLOCKED: Do not dispatch integration until all checked.

Partial integration creates inconsistent state.

---

Pattern Catalog

Verify Domain Isolation Before Dispatch

**Signal**: Dispatching 3 agents without checking shared files. **Detection**: `grep -r "config/config" src/ | cut -d: -f1 | sort | uniq -d` **Fix**: Run domain conflict check before every parallel wave. Serialize agents sharing any file.

Treat Code Generation as Sequential Gate

**Signal**: Running `go generate` while another stream reads generated files. **Fix**: Generation completes fully, fan-in confirms output exists, then downstream starts.

Enforce Compile-Test-Lint-Format Sequence

**Signal**: Lint and compile agents dispatched simultaneously. **Fix**: Within any domain: Compile → Test → Lint → Format. Only proceed after previous exits 0.

---

Parallel Capacity Heuristics

| Scenario | Max Parallel | |----------|-------------| | Clean domain boundaries | 5-8 | | Shared config layer | 3-4 (config agent first) | | Monorepo cross-cutting | 2-3 | | Active schema migration | 1 + blocked | | Context at 70%+ | 1 only |

---

Parallelism Decision Checklist

1. `[ ]` Domain overlap check — no shared files 2. `[ ]` Dependencies resolved — prerequisites complete 3. `[ ]` Generated files stabilized 4. `[ ]` Context budget allows N agents 5. `[ ]` Fan-in gate documented in STATUS.md

Read more
@notque
Ships withvexjoy-agent

Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.

44964 skills198 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
449
Star history of notque/vexjoy-agent on GitHub, a chart by star-history.com

Other agents on vexjoy-agent.

modules

modules

Agent

**Scope**: Module selection patterns, builtin vs command/shell decisions, collection modules, and version-specific module changes…

@notque@notqueInstall Agent
testing

testing

Agent

**Scope**: Molecule test scenarios, ansible-lint rules, idempotency validation, and check-mode patterns **Version range**:…

@notque@notqueInstall Agent
communication-patterns

communication-patterns

Agent

**Scope**: Failure modes in agent output style — over-reporting, self-congratulation, verbose narration, and hedging. Covers what…

@notque@notqueInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc13d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about parallel-execution-patterns.

Which coding agents can use parallel-execution-patterns?
parallel-execution-patterns installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.