技能 parallel-workflows

parallel-workflows

安全

並行執行多個任務

循序執行多個獨立任務會浪費時間。此技能透過識別獨立任務並使用 Task 工具同時執行來優化並行處理,最多可減少 67% 的總執行時間。

支持: Claude Codex Code(CC)
📊 69 充足
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“parallel-workflows”。 Analyze this project structure

预期结果:

Analyzing project structure with 3 parallel agents...

[Agent 1] Analyzing components/...
[Agent 2] Analyzing lib/
[Agent 3] Analyzing app/

Results:
- components/: 12 files, React components
- lib/: 8 files, utility functions
- app/: 15 files, main application code

Total time: 12 seconds (vs 30 seconds sequential)

正在使用“parallel-workflows”。 Run quality checks

预期结果:

Running quality checks in parallel...

[Lint] No issues found
[Type Check] No errors
[Tests] 15/15 passing

All checks passed in 20 seconds

正在使用“parallel-workflows”。 Build header, footer, and sidebar

预期结果:

Building 3 components in parallel...

[Header] Complete (25s)
[Footer] Complete (22s)
[Sidebar] Complete (28s)

All components created successfully in ~28 seconds

安全审计

安全
v6 • 1/21/2026

All static findings are false positives. The skill is documentation-only, providing guidance on using the Task tool for parallel execution. No shell commands, network requests, or cryptographic operations are performed.

2
已扫描文件
714
分析行数
0
发现项
6
审计总数
未发现安全问题
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
87
内容
19
社区
100
安全
91
规范符合性

你能构建什么

多檔案專案分析

同時分析程式碼庫的不同目錄。此技能不再循序處理 src/components、src/lib 和 src/app,而是並行啟動三個代理,在三分之一的時間內完成分析。

品質檢查流程

同時執行程式碼檢查、類型檢查和測試。此技能並行執行所有品質檢查,然後以統一格式報告結果,非常適合 CI/CD 提交前工作流程。

元件開發衝刺

同時建立多個獨立的 UI 元件。此技能從 Plans.md 偵測獨立元件並並行建置,大幅加速前端開發。

试试这些提示

分析專案結構
Analyze this project structure. Use parallel execution to examine different directories concurrently: components/, lib/, and app/. Report findings for each directory.
執行所有品質檢查
Run all quality checks in parallel: lint, type-check, and tests. Wait for all to complete then provide a unified summary of results.
建置多個功能
Create these components in parallel: header, footer, and sidebar. Each component should be built independently without sharing files.
審查多個模組
Review these three modules for code quality issues. Run all three reviews in parallel and compile a combined report.

最佳实践

  • 明確定義沒有共享檔案依賴關係的獨立任務
  • 使用 Plans.md 格式指定要並行執行的任務
  • 在執行並行任務之前檢查依賴關係分析

避免

  • 嘗試並行化具有共享檔案依賴關係的任務
  • 並行執行資料庫遷移(會導致鎖定)
  • 跳過依賴關係分析步驟

常见问题

哪些任務可以並行化?
不共享檔案、資料輸出或執行順序的任務。每個任務必須完全獨立。
並行執行快多少?
效能提升取決於任務數量。三個獨立任務通常比循序執行快 60-67%。
如果一個並行任務失敗會怎樣?
成功的任務結果會被保留。失敗的任務會顯示錯誤詳情,並提供僅重試這些任務的選項。
我可以控制有多少任務並行執行嗎?
此技能會根據可用資源進行優化。對於非常大的任務集,請考慮分成較小的批次。
此技能會執行 shell 命令嗎?
不可以。此技能使用 Task 工具提供文件模式。實際命令執行取決於您定義的任務。
什麼觸發短語會啟動此技能?
日文: 並列で実行、同時にやって、まとめてやって。英文: run in parallel、do these together、check all。

开发者详情

文件结构

📄 SKILL.md