본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

dispatching-parallel-agents

서로 독립적인 버그나 테스트 실패를 별도 에이전트에 맡겨 동시에 조사하고 수정합니다. 담당 범위를 정하고 결과 검토, 변경 충돌 확인, 전체 테스트와 통합까지 안내합니다.

원문원문 설명 보기

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

AI 평가90점/ 100설치 방법 보기

이럴 때 유용합니다

  • 원인이 다른 테스트 실패 조사
  • 서로 다른 기능의 독립적인 버그 수정
  • 여러 에이전트의 담당 범위 정리
  • 병렬 작업으로 나온 수정 검토 및 통합

한국어 소개

할 수 있는 일

dispatching-parallel-agents는 서로 독립적인 버그나 테스트 실패를 문제 영역별로 나눠 별도 에이전트에 맡기고 동시에 조사하고 수정하도록 합니다. 각 담당에게 필요한 정보만 전달하고 대상 테스트나 기능, 목표, 변경 범위, 보고 내용을 명확히 합니다. 작업이 돌아오면 원인과 수정 내용을 읽고 변경 충돌을 확인한 뒤 전체 테스트를 실행하고 통합하는 절차를 안내합니다.

이럴 때 유용합니다

여러 테스트 파일이 서로 다른 원인으로 실패하거나 별개의 기능에서 독립적인 버그가 발생했을 때 유용합니다. 각 문제를 이해하는 데 다른 조사 결과를 기다릴 필요가 없어야 하며, 담당자들이 같은 파일이나 리소스를 변경하지 않아야 합니다.

사용 예시

  • “원인이 다른 테스트 실패를 정리하고 담당을 나눠 동시에 조사해 주세요.”
  • “각 담당의 변경 범위와 보고할 내용을 정해 주세요.”
  • “돌아온 수정의 충돌을 확인하고 전체 테스트를 실행한 뒤 통합해 주세요.”

주의 사항

여러 에이전트를 동시에 실행할 수 있는 환경이 필요합니다. 관련된 실패, 시스템 전체 상태를 알아야 하는 문제, 같은 파일이나 리소스를 사용하는 작업에는 적합하지 않습니다. 문제의 위치를 아직 모르는 탐색적 조사도 대상에서 제외합니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

객관 평가

AI가 SKILL.md의 내용만을 근거로 4가지 관점에서 판정했습니다. 스타 수나 인기도는 판정에 넣지 않았습니다.

지시의 명확성언제 쓰고 무엇을 하는지 알 수 있는가
A양호의존 관계와 공유 상태가 없는 독립 과제의 병렬 처리 용도와 적용하지 않을 조건을 명시합니다.
절차의 구체성절차·입출력·예시가 구체적으로 적혀 있는가
A양호문제 분류, 담당 지시 예시, 보고 내용, 충돌 확인과 전체 테스트 실행 절차를 제시합니다.
안전성전송·삭제·명령 실행 등을 명시하고 있는가
A양호변경 범위를 제한하고 파일이나 리소스 공유를 피하며 통합 전에 충돌 확인과 테스트를 요구합니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
B일부 부족여러 하위 에이전트의 동시 실행을 전제하지만 지원 환경이나 설정 방법은 제시하지 않습니다.

총점은 각 항목을 A=25점, B=15점, C=5점으로 더한 값입니다. 2026년 10월 19일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(1)

  • SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Dispatching Parallel Agents

Overview

You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.

When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.

Core principle: Dispatch one agent per independent problem domain. Let them work concurrently.

When to Use

digraph when_to_use {
    "Multiple failures?" [shape=diamond];
    "Are they independent?" [shape=diamond];
    "Single agent investigates all" [shape=box];
    "One agent per problem domain" [shape=box];
    "Can they work in parallel?" [shape=diamond];
    "Sequential agents" [shape=box];
    "Parallel dispatch" [shape=box];

    "Multiple failures?" -> "Are they independent?" [label="yes"];
    "Are they independent?" -> "Single agent investigates all" [label="no - related"];
    "Are they independent?" -> "Can they work in parallel?" [label="yes"];
    "Can they work in parallel?" -> "Parallel dispatch" [label="yes"];
    "Can they work in parallel?" -> "Sequential agents" [label="no - shared state"];
}

Use when:

  • 3+ test files failing with different root causes
  • Multiple subsystems broken independently
  • Each problem can be understood without context from others
  • No shared state between investigations

Don't use when:

  • Failures are related (fix one might fix others)
  • Need to understand full system state
  • Agents would interfere with each other

The Pattern

1. Identify Independent Domains

Group failures by what's broken:

  • File A tests: Tool approval flow
  • File B tests: Batch completion behavior
  • File C tests: Abort functionality

Each domain is independent - fixing tool approval doesn't affect abort tests.

2. Create Focused Agent Tasks

Each agent gets:

  • Specific scope: One test file or subsystem
  • Clear goal: Make these tests pass
  • Constraints: Don't change other code
  • Expected output: Summary of what you found and fixed

3. Dispatch in Parallel

Issue all three subagent dispatches in the same response — they run in parallel:

Subagent (general-purpose): "Fix agent-tool-abort.test.ts failures"
Subagent (general-purpose): "Fix batch-completion-behavior.test.ts failures"
Subagent (general-purpose): "Fix tool-approval-race-conditions.test.ts failures"
# All three run concurrently.

Multiple dispatch calls in one response = parallel execution. One per response = sequential.

4. Review and Integrate

When agents return:

  • Read each summary
  • Verify fixes don't conflict
  • Run full test suite
  • Integrate all changes

Agent Prompt Structure

Good agent prompts are:

  1. Focused - One clear problem domain
  2. Self-contained - All context needed to understand the problem
  3. Specific about output - What should the agent return?
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:

1. "should abort tool with partial output capture" - expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
3. "should properly track pendingToolCount" - expects 3 results but gets 0

These are timing/race condition issues. Your task:

1. Read the test file and understand what each test verifies
2. Identify root cause - timing issues or actual bugs?
3. Fix by:
   - Replacing arbitrary timeouts with event-based waiting
   - Fixing bugs in abort implementation if found
   - Adjusting test expectations if testing changed behavior

Do NOT just increase timeouts - find the real issue.

Return: Summary of what you found and what you fixed.

Common Mistakes

❌ Too broad: "Fix all the tests" - agent gets lost ✅ Specific: "Fix agent-tool-abort.test.ts" - focused scope

❌ No context: "Fix the race condition" - agent doesn't know where ✅ Context: Paste the error messages and test names

❌ No constraints: Agent might refactor everything ✅ Constraints: "Do NOT change production code" or "Fix tests only"

❌ Vague output: "Fix it" - you don't know what changed ✅ Specific: "Return summary of root cause and changes"

When NOT to Use

Related failures: Fixing one might fix others - investigate together first Need full context: Understanding requires seeing entire system Exploratory debugging: You don't know what's broken yet Shared state: Agents would interfere (editing same files, using same resources)

Real Example from Session

Scenario: 6 test failures across 3 files after major refactoring

Failures:

  • agent-tool-abort.test.ts: 3 failures (timing issues)
  • batch-completion-behavior.test.ts: 2 failures (tools not executing)
  • tool-approval-race-conditions.test.ts: 1 failure (execution count = 0)

Decision: Independent domains - abort logic separate from batch completion separate from race conditions

Dispatch:

Agent 1 → Fix agent-tool-abort.test.ts
Agent 2 → Fix batch-completion-behavior.test.ts
Agent 3 → Fix tool-approval-race-conditions.test.ts

Results:

  • Agent 1: Replaced timeouts with event-based waiting
  • Agent 2: Fixed event structure bug (threadId in wrong place)
  • Agent 3: Added wait for async tool execution to complete

Integration: All fixes independent, no conflicts, full suite green

Verification

After agents return:

  1. Review each summary - Understand what changed
  2. Check for conflicts - Did agents edit same code?
  3. Run full suite - Verify all fixes work together
  4. Spot check - Agents can make systematic errors

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

brainstorming

무료요약 있음AI 평가 90점

새 기능이나 기획을 시작하기 전에 대화로 목적, 선호, 제약을 정리합니다. 필요하면 그림이나 시제품으로 이해를 확인하고 작업 규모에 맞는 설계를 작성합니다.

  • 새 기능의 목적 명확히 하기
  • 강연이나 사업 아이디어 정리
  • 화면이나 방의 배치 비교
obra/superpowers30.2만2026년 10월 10일 업데이트

diagnosing-superpowers

무료요약 있음AI 평가 90점

superpowers 작업 기록을 읽고 중복 작업, 계획 이탈, 시간과 토큰 사용량을 조사합니다. 기록 파일의 경로와 줄 번호를 근거로 경위를 보고서로 정리합니다.

  • 중복 작업과 계획 이탈 조사
  • 세션 소요 시간과 토큰 사용량 확인
  • 스킬 사용 여부 확인
obra/superpowers30.2만2026년 10월 10일 업데이트

executing-plans

무료요약 있음AI 평가 90점

같은 세션에서 기존 구현 계획을 작업별로 실행합니다. 테스트의 실패와 성공, 진행 상황과 판단을 기록하고 마지막에 브랜치 전체를 검토합니다.

  • 작성된 개발 계획 구현
  • 별도 구현 에이전트 없이 작업 진행
  • 진행 기록을 바탕으로 작업 재개
obra/superpowers30.2만2026년 10월 10일 업데이트

finishing-a-development-branch

무료요약 있음AI 평가 90점

구현이 끝나면 전체 테스트를 확인하고 로컬 병합, 풀 리퀘스트 생성, 현상 유지 중 선택한 작업을 수행합니다. 선택과 작업 환경에 따라 브랜치와 작업 공간을 정리합니다.

  • 완성한 기능을 로컬에서 병합
  • 브랜치를 푸시하고 풀 리퀘스트 생성
  • 완료한 변경을 나중에 통합하도록 보관
obra/superpowers30.2만2026년 10월 10일 업데이트

receiving-code-review

무료요약 있음AI 평가 80점

코드 리뷰 의견을 실제 코드와 지원 환경에 대조해 타당성을 확인합니다. 불명확한 내용을 정리하고 근거를 들어 답변하며, 수정 사항마다 테스트합니다.

  • 모호한 리뷰 의견을 정리할 때
  • 제안된 변경의 호환성을 확인할 때
  • 추가하려는 기능의 실제 사용 여부를 조사할 때
obra/superpowers30.2만2026년 10월 10일 업데이트

requesting-code-review

무료요약 있음AI 평가 90점

기능 구현 후나 병합 전에 별도 에이전트에 코드 리뷰를 요청합니다. 변경 내용과 요구 사항, 대상 커밋을 전달하고 지적된 문제의 심각도에 따라 수정을 진행합니다.

  • 주요 기능 구현 후 리뷰
  • 병합 전 변경 내용 확인
  • 복잡한 오류 수정의 제삼자 검토
obra/superpowers30.2만2026년 10월 10일 업데이트

obra의 스킬 모두 보기

이 스킬의 문제 신고