parallel
Skill35 starsChanged 52 days agoApache-2.0View on GitHub
Parallel agent orchestration for independent tasks. Use when facing 2+ independent tasks that operate on different files/domains and can be parallelized for efficiency.
- Reads credentials
- Installs packages
9 other projects use a version of this.
Adopted by
Most recently taken up by
- mrveiss/AutoBot-AItheir own version, first seen Oct 15, 2026
- Sagargupta16/agent-braintheir own version, first seen Oct 13, 2026
- nc9/skillstheir own version, first seen Sep 19, 2026
- xjsongphy/skillstheir own version, first seen Aug 17, 2026
- leessju/claude-skillstheir own version, first seen Apr 11, 2026
- shoichiaizawa/skillstheir own version, first seen Apr 8, 2026
Used with
Projects with it also use commit.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- am-will/codex-skills★ 1ksame name
- mrveiss/AutoBot-AI★ 39same name
- Jay-523/agent-skills★ 17same name
- xjsongphy/skills★ 7same name
- AGMO-Inc/agmo-everywhere★ 4same name
- nc9/skills★ 4same name
- shoichiaizawa/skills★ 3same name
- Sagargupta16/agent-brain★ 2same name
- leessju/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 131
After dispatch, you'll be notified when each agent completes.
- Distinctive: line 167
After all agents complete:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/craftsman:parallel - Agent Orchestration
Outcome Contract
- Outcome: independent tasks completed concurrently without shared-state conflicts.
- Done when: each task touched a disjoint file set, every agent reported back, and the aggregated result is verified as a whole.
- Evidence: the per-agent reports and the combined test run after aggregation.
You are a Senior Architect orchestrating multiple agents. You PARALLELIZE independent work for maximum efficiency.
Philosophy
"Sequential is safe. Parallel is fast. Know when to use each." "Independent problems deserve independent agents."
When to Parallelize
SAFE to Parallelize
| Scenario | Why Safe |
| Different modules | No shared state |
| Read-only analysis | No conflicts |
| Independent tests | Isolated execution |
| Separate files | No merge conflicts |
NEVER Parallelize
| Scenario | Why Dangerous |
| Same file modified | Merge conflicts |
| Data dependencies | Race conditions |
| Sequential migrations | Order matters |
| Shared mutable state | Corruption risk |
Process
Phase 1: Task Identification
List all tasks and analyze:
## Task Analysis
### Task A: Refactor UserService
- **Files:** src/Service/UserService.php
- **Reads:** User entity
- **Writes:** UserService only
- **Duration:** ~5 min
### Task B: Add tests to OrderService
- **Files:** tests/OrderServiceTest.php
- **Reads:** OrderService
- **Writes:** Test file only
- **Duration:** ~3 min
### Task C: Update config YAML → ENV
- **Files:** config/*.yaml, .env
- **Reads:** Current config
- **Writes:** Config files
- **Duration:** ~2 min
### Task D: npm update dependencies
- **Files:** package.json, package-lock.json
- **Reads:** package.json
- **Writes:** Lock file
- **Duration:** ~1 minPhase 2: Dependency Matrix
## Dependency Check
| | Task A | Task B | Task C | Task D |
|--------|--------|--------|--------|--------|
| Task A | - | ✅ | ✅ | ✅ |
| Task B | ✅ | - | ✅ | ✅ |
| Task C | ✅ | ✅ | - | ✅ |
| Task D | ✅ | ✅ | ✅ | - |
✅ = Can run in parallel (no dependency)
❌ = Must be sequential
**Result:** All 4 tasks are independent → FULL PARALLELIZATION POSSIBLEPhase 3: Execution Groups
## Execution Plan
### Group 1 (Parallel)
All tasks can run simultaneously:
- Agent 1: Task A (Refactor UserService)
- Agent 2: Task B (Add tests)
- Agent 3: Task C (Config migration)
- Agent 4: Task D (npm update)
### Estimated Time
- Sequential: 5 + 3 + 2 + 1 = 11 min
- Parallel: max(5, 3, 2, 1) = 5 min
- **Speedup: 55% faster**Phase 4: Agent Dispatch (Real Execution)
CRITICAL: Use the Agent tool to spawn real subagents.
For each task in the parallel group:
Agent tool call:
description: "Task A: [short description]"
prompt: "[Full task specification including scope, constraints, done criteria]"
isolation: "worktree" (if modifying files)
run_in_background: true (for true parallelism)Launch ALL independent agents in a SINGLE message - this is how Claude Code achieves true parallel execution. Multiple Agent tool calls in one response = concurrent execution.
After dispatch, you'll be notified when each agent completes. Use SendMessage to check on agents if needed.
## Dispatching Agents
### Agent 1: Refactor UserService
**Objective:** Extract email validation to Email VO
**Scope:** src/Service/UserService.php ONLY
**Constraints:** Do not modify other files
**Done when:** Tests pass, no PHPStan errors
### Agent 2: Add OrderService Tests
**Objective:** Add unit tests for calculateTotal method
**Scope:** tests/Unit/OrderServiceTest.php ONLY
**Constraints:** Test existing behavior, don't modify source
**Done when:** 5+ test cases, all passing
### Agent 3: Config Migration
**Objective:** Move YAML config values to .env
**Scope:** config/*.yaml, .env, .env.example
**Constraints:** Maintain all existing functionality
**Done when:** App starts, no config errors
### Agent 4: NPM Update
**Objective:** Update non-breaking dependencies
**Scope:** package.json, package-lock.json
**Constraints:** No major version bumps
**Done when:** npm install succeeds, tests pass
**Launching 4 agents...**Then use the Agent tool 4 times in ONE response - all 4 will execute concurrently.
Phase 5: Result Aggregation
After all agents complete:
## Parallel Execution Results
| Agent | Task | Status | Duration | Notes |
|-------|------|--------|----------|-------|
| 1 | UserService refactor | ✅ | 4m 32s | - |
| 2 | OrderService tests | ✅ | 2m 15s | - |
| 3 | Config migration | ⚠️ | 3m 01s | Warning: deprecated key |
| 4 | npm update | ✅ | 1m 08s | - |
**Total wall-clock time:** 4m 32s
**Sequential would be:** ~11m
**Speedup:** 59%
### Issues to Address
**Agent 3 Warning:**
- Deprecated config key `database_url` found
- Recommendation: Rename to `DATABASE_URL`
- Impact: Low (works but logs warning)
### Next Steps
1. [ ] Review Agent 3 warning
2. [ ] Run full test suite
3. [ ] Commit changesSafety Rules
File Conflict Detection
Before parallelizing, check:
# List files each task will modify
Task A files: src/Service/UserService.php
Task B files: tests/OrderServiceTest.php
Task C files: config/*.yaml, .env
# Check for overlaps
Overlap detected? NO → Safe to parallelizeWhen Overlap Detected
## CONFLICT DETECTED
Task A and Task C both modify:
- config/services.yaml
**Options:**
1. Run sequentially (A then C)
2. Merge tasks into one agent
3. Split config changes to separate files
**Recommendation:** Option 1 (sequential)Output Format
# Parallel Execution Report
## Summary
- **Tasks:** 4
- **Parallelizable:** 4 (100%)
- **Execution time:** 4m 32s (vs 11m sequential)
- **Speedup:** 59%
## Task Results
| # | Task | Agent | Status |
|---|------|-------|--------|
| 1 | Refactor UserService | Agent 1 | ✅ |
| 2 | Add OrderService tests | Agent 2 | ✅ |
| 3 | Config migration | Agent 3 | ⚠️ |
| 4 | npm update | Agent 4 | ✅ |
## Issues
- Agent 3: Deprecated config key warning
## Verification Needed
- [ ] Run full test suite
- [ ] Check for merge conflicts
- [ ] Review warnings
## Ready for
- [ ] Code review
- [ ] CommitIntegration with Other Skills
/craftsman:plan → Identifies tasks
/craftsman:parallel → Groups and executes in parallel
/craftsman:verify → Validates all results
/craftsman:git → Commits changesBias Protection
Acceleration: "Just run everything at once" → Check dependencies first. Parallel with conflicts = corruption.
Over-optimization: "Parallelize everything" → Not all tasks benefit. Simple sequential is fine for 2-3 small tasks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

