Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

kj-parallel-agents

bởi kjaylee

Web & Frontend Development
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Dispatch multiple subagents for independent tasks simultaneously.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install kjaylee/kj-parallel-agents

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết