parallel-workflows
Optimizes parallel execution of multiple tasks. Use when user mentions 並列で実行, 同時にやって, まとめてやって, run in parallel, do these together. Do NOT load for: 単一タスク, 順次実行が必要な作業, 依存関係のあるタスク.
Best use case
parallel-workflows is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Optimizes parallel execution of multiple tasks. Use when user mentions 並列で実行, 同時にやって, まとめてやって, run in parallel, do these together. Do NOT load for: 単一タスク, 順次実行が必要な作業, 依存関係のあるタスク.
Optimizes parallel execution of multiple tasks. Use when user mentions 並列で実行, 同時にやって, まとめてやって, run in parallel, do these together. Do NOT load for: 単一タスク, 順次実行が必要な作業, 依存関係のあるタスク.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "parallel-workflows" skill to help with this workflow task. Context: Optimizes parallel execution of multiple tasks. Use when user mentions 並列で実行, 同時にやって, まとめてやって, run in parallel, do these together. Do NOT load for: 単一タスク, 順次実行が必要な作業, 依存関係のあるタスク.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/parallel-workflows/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How parallel-workflows Compares
| Feature / Agent | parallel-workflows | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Optimizes parallel execution of multiple tasks. Use when user mentions 並列で実行, 同時にやって, まとめてやって, run in parallel, do these together. Do NOT load for: 単一タスク, 順次実行が必要な作業, 依存関係のあるタスク.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Parallel Workflows Skill
複数タスクの並列実行を最適化するスキル。
Task ツールを活用して、独立したタスクを同時に処理します。
---
## トリガーフレーズ
このスキルは以下のフレーズで自動起動します:
- 「並列で実行して」「同時にやって」
- 「まとめてやって」「一気にやって」
- 「効率的にやって」「速くやって」
- "run in parallel", "do these together"
---
## 関連コマンド
- `/work` - Plans.md のタスクを実行(並列実行対応)
---
## 概要
Claude Code は複数のタスクを並列実行できます。
このスキルは、どのタスクが並列化可能かを判断し、最適な実行計画を立てます。
---
## 並列化パターン
### パターン1: 複数ファイルの同時分析
**使用場面**: コードレビュー、構造把握
```
Task tool を並列起動:
- agent1: src/components/ を分析
- agent2: src/lib/ を分析
- agent3: src/app/ を分析
```
**VibeCoder向け言い方**:
```
「このプロジェクトの構造を教えて」
→ 自動的に並列分析を実行
```
### パターン2: テストとビルドの同時実行
**使用場面**: CI/CD、品質チェック
```
並列実行:
- npm run lint
- npm run type-check
- npm run test
直列実行(依存あり):
- npm run build(上記が全て成功後)
```
**VibeCoder向け言い方**:
```
「チェックして」
→ lint, type-check, test を並列実行
```
### パターン3: 複数機能の同時実装
**使用場面**: 独立した機能の開発
```
Plans.md:
- [ ] ヘッダーコンポーネント作成
- [ ] フッターコンポーネント作成
- [ ] サイドバーコンポーネント作成
→ 3つのTask agentを並列起動
```
**VibeCoder向け言い方**:
```
「レイアウトを全部作って」
→ 独立したコンポーネントを並列実装
```
---
## 判定ロジック
### 並列化可能な条件
1. **ファイル依存なし**: 同じファイルを編集しない
2. **データ依存なし**: 出力が他の入力にならない
3. **順序依存なし**: 実行順序が結果に影響しない
### 並列化不可の例
```
❌ 並列化不可:
1. API クライアント作成
2. API クライアントを使うコンポーネント作成
→ 2は1の出力に依存
✅ 並列化可能:
1. ログインページ作成
2. 会員登録ページ作成
→ 互いに独立
```
---
## 実装ガイド
### Task ツールを使った並列実行
```typescript
// 並列実行パターン
const tasks = [
{ name: "タスクA", prompt: "..." },
{ name: "タスクB", prompt: "..." },
{ name: "タスクC", prompt: "..." }
];
// 全てのタスクを run_in_background: true で起動
// TaskOutput で結果を収集
```
### 統合レポートの生成
各タスク完了後、以下の形式でレポートを生成:
```markdown
## 📊 並列タスク実行レポート
**実行日時**: {{timestamp}}
**タスク数**: {{count}}件(並列実行)
**所要時間**: {{duration}}秒
### 完了タスク
| # | タスク | ステータス | 所要時間 | 成果物 |
|---|-------|----------|---------|-------|
{{#each tasks}}
| {{index}} | {{name}} | {{status}} | {{duration}}秒 | {{output}} |
{{/each}}
### 変更ファイル一覧
{{#each files}}
- `{{path}}` ({{action}})
{{/each}}
```
---
## 実行例
### 例1: プロジェクト分析
```
ユーザー: 「このプロジェクトについて教えて」
Claude Code:
🔍 プロジェクトを並列分析中...
├── [Agent 1] 構造分析中...
├── [Agent 2] 依存関係チェック中...
└── [Agent 3] コード品質分析中...
完了!
📁 プロジェクト概要:
- フレームワーク: Next.js 14
- 主要ディレクトリ: 15個
- ファイル数: 87個
- 依存パッケージ: 23個
- コード品質: 良好(lint警告: 3件)
```
### 例2: 複数機能の実装
```
ユーザー: 「ヘッダー、フッター、サイドバーを作って」
Claude Code:
📋 3つの独立タスクを検出 → 並列実行します
├── [Agent 1] ヘッダー作成中... ✅ 完了
├── [Agent 2] フッター作成中... ✅ 完了
└── [Agent 3] サイドバー作成中... ✅ 完了
⏱️ 所要時間: 45秒(直列なら2分15秒)
```
### 例3: 品質チェック
```
ユーザー: 「全部チェックして」
Claude Code:
🔍 品質チェックを並列実行中...
├── [Lint] ✅ 問題なし
├── [Type] ✅ 型エラーなし
├── [Test] ✅ 15/15 通過
└── [Build] ✅ 成功
✅ 全チェック通過!
```
---
## パフォーマンス指標
| シナリオ | 直列実行 | 並列実行 | 改善率 |
|---------|---------|---------|--------|
| 3ファイル分析 | 30秒 | 12秒 | 60% |
| lint+test+build | 45秒 | 20秒 | 55% |
| 3コンポーネント作成 | 3分 | 1分 | 67% |
---
## エラーハンドリング
### 一部タスク失敗時
1. 成功したタスクの結果は保持
2. 失敗タスクのエラー詳細を表示
3. 再実行オプションを提示
```
📊 並列実行完了(一部エラー)
├── [Task 1] A作成 ✅ (25秒)
├── [Task 2] B作成 ❌ エラー
│ └── 原因: TypeScriptエラー
└── [Task 3] C作成 ✅ (22秒)
⚠️ 1件のタスクが失敗しました。
失敗したタスクを再実行しますか? (y/n)
```
---
## 使用上の注意
### 推奨
- ✅ 独立したファイルの同時編集
- ✅ 複数の分析タスクの並列実行
- ✅ 非依存テストの同時実行
### 非推奨
- ❌ 同一ファイルへの同時書き込み
- ❌ 依存関係のあるタスクの並列化
- ❌ データベースマイグレーションの並列実行
---
## VibeCoder 向けまとめ
| やりたいこと | 言い方 | 並列化 |
|-------------|--------|--------|
| 複数ページ作成 | 「ページを全部作って」 | ✅ 自動 |
| コード分析 | 「このプロジェクトを分析して」 | ✅ 自動 |
| 品質チェック | 「チェックして」 | ✅ 自動 |
| 順番に実装 | 「順番にやって」 | ❌ 直列 |
**ポイント**: 特に意識しなくても、Claude Code が自動的に並列化可能なタスクを判断して最適化します。Related Skills
tdd-workflows-tdd-refactor
Use when working with tdd workflows tdd refactor
tdd-workflows-tdd-red
Generate failing tests for the TDD red phase to define expected behavior and edge cases.
tdd-workflows-tdd-green
Implement the minimal code needed to make failing tests pass in the TDD green phase.
tdd-workflows-tdd-cycle
Use when working with tdd workflows tdd cycle
git-pr-workflows-pr-enhance
You are a PR optimization expert specializing in creating high-quality pull requests that facilitate efficient code reviews. Generate comprehensive PR descriptions, automate review processes, and ensu
git-pr-workflows-onboard
You are an **expert onboarding specialist and knowledge transfer architect** with deep experience in remote-first organizations, technical team integration, and accelerated learning methodologies. You
git-pr-workflows-git-workflow
Orchestrate a comprehensive git workflow from code review through PR creation, leveraging specialized agents for quality assurance, testing, and deployment readiness. This workflow implements modern g
git-advanced-workflows
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
antigravity-workflows
Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.
ai-automation-workflows
Build automated AI workflows combining multiple models and services. Patterns: batch processing, scheduled tasks, event-driven pipelines, agent loops. Tools: inference.sh CLI, bash scripting, Python SDK, webhook integration. Use for: content automation, data processing, monitoring, scheduled generation. Triggers: ai automation, workflow automation, batch processing, ai pipeline, automated content, scheduled ai, ai cron, ai batch job, automated generation, ai workflow, content at scale, automation script, ai orchestration
expo-cicd-workflows
Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.
parallel-swarm-implementation
Loop 2 of the Three-Loop Integrated Development System. META-SKILL that dynamically compiles Loop 1 plans into agent+skill execution graphs. Queen Coordinator selects optimal agents from 86-agent registry and assigns skills (when available) or custom instructions. 9-step swarm with theater detection and reality validation. Receives plans from research-driven-planning, feeds to cicd-intelligent-recovery. Use for adaptive, theater-free implementation.