소스 정보
- 저장소
- zouyangxiaohao111/javaclawbot
- 최근 소스 활동
- 2026년 3월 30일 03:12
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 97
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/zouyangxiaohao111/javaclawbot --skill dispatching-parallel-agents명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | dispatching-parallel-agents |
| description | 当面临 2+ 个可以独立工作、无共享状态或顺序依赖的任务时使用 |
你将任务委托给具有隔离上下文的专门代理。通过精确制定他们的指令和上下文,确保他们保持专注并成功完成任务。他们不应该继承你会话的上下文或历史 — 你构建他们确切需要的内容。这也为你自己的协调工作保留了上下文。
当你有多个不相关的失败(不同的测试文件、不同的子系统、不同的 bug)时,按顺序调查会浪费时间。每个调查都是独立的,可以并行进行。
核心原则: 每个独立问题域派发一个代理。让他们并发工作。
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"];
}
使用场景:
不要使用:
按损坏内容分组失败:
每个域都是独立的 — 修复工具审批不影响中止测试。
每个代理获得:
// In Claude Code / AI environment
Task("Fix agent-tool-abort.test.ts failures")
Task("Fix batch-completion-behavior.test.ts failures")
Task("Fix tool-approval-race-conditions.test.ts failures")
// All three run concurrently
当代理返回时:
好的代理提示是:
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.
❌ 太宽泛: "修复所有测试" — 代理会迷失 ✅ 具体: "修复 agent-tool-abort.test.ts" — 聚焦范围
❌ 没有上下文: "修复竞态条件" — 代理不知道在哪里 ✅ 有上下文: 粘贴错误消息和测试名称
❌ 没有约束: 代理可能重构一切 ✅ 有约束: "不要更改生产代码" 或 "只修复测试"
❌ 模糊输出: "修复它" — 你不知道改了什么 ✅ 具体输出: "返回根本原因和更改的摘要"
相关的失败: 修复一个可能修复其他 — 先一起调查 需要完整上下文: 理解需要查看整个系统 探索性调试: 你还不知道什么坏了 共享状态: 代理会干扰(编辑相同文件、使用相同资源)
场景: 大重构后 3 个文件中 6 个测试失败
失败:
决策: 独立域 — 中止逻辑与批处理完成与竞态条件分开
派发:
Agent 1 → 修复 agent-tool-abort.test.ts
Agent 2 → 修复 batch-completion-behavior.test.ts
Agent 3 → 修复 tool-approval-race-conditions.test.ts
结果:
整合: 所有修复独立,无冲突,完整套件通过
节省时间: 3 个问题并行解决 vs 顺序解决
代理返回后:
来自调试会话(2025-10-03):
SOC 직업 분류 기준