跳到正文
TakoAPI
返回技能列表

kj-parallel-agents

由 kjaylee 提供

Web & Frontend Development
—暂无评分
你的评分

简介

Dispatch multiple subagents for independent tasks simultaneously.

描述

该技能的功能

Dispatches multiple subagents to work on independent tasks at the same time instead of sequentially. Each subagent receives a focused, self-contained prompt scoped to one domain. Suited for situations where tasks have no shared state or ordering dependencies.

Sequential task handling multiplies total time by the number of tasks, while parallel dispatch collapses that to roughly the duration of the longest single task.

何时使用

  • Fixing failures in three unrelated test files at once
  • Running a UI bug fix and an API optimization simultaneously
  • Parallelizing research, implementation, and test writing across separate agents
  • Debugging multiple independent subsystem failures in one session
  • Generating assets while another agent refactors code

示例工作流

输入

User asks: Fix the collision detection bug in physics.test.ts, optimize the render pipeline, and write tests for the new level loader

智能体
  1. 1

    Identify the three tasks as independent domains with no shared state

  2. 2

    Write a focused, self-contained prompt for each task including file paths and expected output

  3. 3

    Dispatch three subagents simultaneously via sessions_spawn

  4. 4

    Wait for all agents to return their summaries

  5. 5

    Review each result for conflicts, run full test suite, and spot-check changes

输出

Three completed workstreams merged: bug fixed, pipeline optimized, tests written, all passing together

安装

clawhub install kjaylee/kj-parallel-agents

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接