parallel-execution-optimizer
できること
このツールは、作業を同時に実行できる小さな部分に分けることで、タスクを高速化するのに役立ちます。作業を計画にまとめ、一緒に進める必要がある作業は並行して実行し、競合する可能性のある作業は別々に実行されるようにします。
使う場面
- ✓多数のファイルを素早く確認する必要があるとき。
- ✓システムの複数の部分を同時にテストするとき。
- ✓複数の地域でデプロイが成功したかを確認するとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/parallel-execution-optimizer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“リポジトリ内のすべてのファイルを確認する作業を速くし、ユニットテストを並行して実行してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは作業の「マップ」を作り、同時に行えるタスク(並行)と、順番に行う必要があるタスクを見分けます。同じものを変更するタスクは慎重に別々に扱い、すべてが正しいことを確認してから結果をまとめます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Parallel Execution Optimizer
Use this skill when speed comes from doing independent work at the same time: repo inspection, file reads, API checks, browser checks, build/test lanes, deploy readbacks, or multi-worktree implementation passes.
Core Pattern
Turn urgency into a dependency graph before acting.
- Define the objective and done signal.
- Split work into lanes.
- Mark each lane as parallel, sequential, or gated.
- Run independent reads/checks together.
- Keep writes isolated by file, worktree, branch, service, or dataset.
- Merge only after evidence shows the lanes are compatible.
- End with a verification table, not a vague speed claim.
Lane Matrix
Before a large push, write a compact matrix:
Lane | Can run in parallel? | Write surface | Risk | Verification
Repo scan | yes | none | low | rg/git status outputs
Backend patch | maybe | src/api | medium | unit tests
Frontend patch | maybe | app/components | medium | browser screenshot
Deploy readback | after build | remote service | high | live URL + logs
Only run lanes in parallel when their write surfaces do not collide.
Execution Rules
- Batch file reads, searches, status checks, and metadata queries.
- Use isolated worktrees for large unrelated implementation lanes.
- Start long-running tests, builds, backfills, and deploys in separate sessions, then poll them deliberately.
- If a lane discovers a blocker that changes the plan, pause dependent lanes and update the matrix.
- Never let a background process outlive the turn unless the user explicitly asked for a continuing service.
- Do not parallelize destructive commands, migrations, writes to the same table, or live customer-impacting deploys without an explicit gate.
Output Shape
Use this when reporting:
Parallel execution result:
- Lanes run: 5
- Lanes completed: 4
- Blocked lane: deploy readback, waiting on DNS propagation
- Fast path found: batched repo scan + focused tests
- Verification: lint pass, unit pass, live smoke pass
Failure Modes
- More concurrency that creates conflicting edits.
- Benchmarking the tool instead of the task.
- Treating "fast" as done before correctness is proven.
- Forgetting to poll running sessions.
- Hiding skipped checks behind a success summary.
よくある質問
「レーン」とは何ですか?
「レーン」は、高速道路の車線のようなものです。それぞれが1つの作業を表します。同時に進められるレーンもあれば、待つ必要があるレーンもあります。
書き込みを分離するのはなぜですか?
作業のそれぞれが同じ情報を同時に変更してエラーが起きるのを防ぐためです。何かを変更する各レーンは、独立した専用の領域で作業します。
最終結果が正しいことはどうやって確認できますか?
このツールは最後に「検証表」を作成します。完了したタスク、ブロックされたタスク、重要なチェックの結果が表示され、作業が完了とみなされる前にすべてが確認されていることがわかります。
詳細
作者による元の説明
Speed up a task by turning it into a dependency graph of parallel lanes with a lane matrix, batched reads and checks, write surfaces isolated by file, worktree, branch, or service, and a final verification table. Use when the user wants a task done much faster through parallel work, concurrent agents, batched tool calls, isolated worktrees, or many independent verification lanes without losing cor
repo: affaan-m/ECC
人気
- GitHubのスター
- 280k
- ランキング
- #219
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
accessibility
280kエージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。
似ているスキル
knowledge-automation
394kナレッジボールトに新しいコンテンツを定期的に取り込む繰り返しジョブを設定し、そのジョブが動いていることを確認するようエージェントを支援します。
knowledge-source-ingest
394kチャットチャンネル、フィード、メールボックスからの新しい項目でナレッジボールトを最新に保ち、すでに取り込んだものは再び追加しないようエージェントを支援します。
watchers
260kRSSフィード、JSONのエンドポイント、またはGitHubの活動を定期的に監視し、前回の確認以降に新しくなった項目だけを報告するようエージェントを支援します。