dispatching-parallel-agents
إرسال المهام إلى وكلاء متوازيين للتنفيذ المتزامن
متاح أيضًا من: CodingCossack,davila7,Doyajin174,DYAI2025,Cygnusfear,Cycleaddict,obra
توقف عن التحقيق في مشاكل مستقلة متعددة بالتسلسل وإضاعة الوقت. teaches you to dispatch one agent per problem domain so investigations happen concurrently.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "dispatching-parallel-agents". 6 test failures across 3 files: agent-tool-abort.test.ts (3 failures), batch-completion-behavior.test.ts (2 failures), tool-approval-race-conditions.test.ts (1 failure)
النتيجة المتوقعة:
- Agent 1 (agent-tool-abort.test.ts): Replaced arbitrary timeouts with event-based waiting for tool completion. Fixed 3 tests.
- Agent 2 (batch-completion-behavior.test.ts): Fixed event structure bug where threadId was in wrong location. Fixed 2 tests.
- Agent 3 (tool-approval-race-conditions.test.ts): Added wait for async tool execution to complete before assertions. Fixed 1 test.
- Integration: All 3 fixes are independent with no conflicts. Full test suite passes.
استخدام "dispatching-parallel-agents". Multiple unrelated bugs: login button styling broken, API response caching not working, email notifications delayed
النتيجة المتوقعة:
- Agent 1 (styling): Identified CSS class naming conflict. Fixed button styles without affecting other components.
- Agent 2 (caching): Cache key generation was missing request parameters. Added proper key composition.
- Agent 3 (notifications): Message queue consumer had incorrect retry logic. Fixed retry backoff algorithm.
- All agents worked independently. No shared files modified. Changes integrated successfully.
التدقيق الأمني
آمنThis skill is a documentation-only markdown file providing guidance on parallel agent dispatching patterns. Static analyzer flagged 10 patterns as potential risks, but all are FALSE POSITIVES. The external_commands detections are documentation code examples (not executable). The cryptographic and reconnaissance flags reference documentation text with no actual security-relevant operations. No executable code, network access, file system operations, or sensitive data handling present.
مشكلات منخفضة المخاطر (1)
درجة الجودة
ماذا يمكنك بناءه
التحقيق المتوازي في فشل الاختبار
多个测试文件因不同根本原因失败。向每个测试文件发送一名特工来独立调查并修复每个故障。
Multi-Subsystem Debugging
Different subsystems are broken independently. Each agent gets assigned one subsystem to diagnose without needing context from other areas.
Concurrent Code Reviews
Multiple pull requests need review. Dispatch agents to review different PRs simultaneously, each providing focused feedback on their assigned changes.
جرّب هذه الموجهات
I have 2 independent tasks. Task 1: [describe]. Task 2: [describe]. These tasks do not share any files or state. Please investigate both tasks in parallel and provide separate summaries for each.
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts. These are timing and race condition issues. Your task: 1) Read the test file and understand what each test verifies, 2) Identify root cause, 3) Fix by replacing timeouts with event-based waiting. Do NOT change production code. Return a summary of what you found and what you fixed.
I am dispatching 3 agents for parallel investigation. Agent 1 investigates auth module failures. Agent 2 investigates API rate limiting issues. Agent 3 investigates database connection pool exhaustion. Each agent: focus only on your domain, do not modify files outside your scope, return a structured summary with root cause and changes made. I will integrate all results after all agents complete.
Dispatch parallel agents for this multi-domain failure scenario. Domain A: Frontend component rendering issues in Dashboard.tsx and Metrics.tsx. Domain B: Backend API timeout errors in /api/v2/analytics endpoints. Domain C: Database query performance degradation in reporting queries. Constraints for all agents: do not introduce breaking changes, maintain backward compatibility, add tests for any fixes. Each agent must return: root cause analysis, files modified, test results, and any follow-up actions needed.
أفضل الممارسات
- قم دائمًا بالتحقق من أن المهام مستقلة حقًا قبل الإرسال - تحقق من الملفات المشتركة أو الحالة أو التبعيات التسلسلية
- امنح كل وكيل نطاقًا محددًا مع قيود واضحة على ما لا يجب تغييره
- اطلب ملخصات منظمة من كل وكيل بما في ذلك السبب الجذري والتغييرات التي تم إجراؤها ونتائج الاختبار لتسهيل الدمج
تجنب
- نطاق واسع جدًا مثل 'إصلاح جميع الاختبارات' - يفقد الوكلاء الاتجاه بدون توجيه مركز
- قيود مفقودة تسمح للوكلاء بإعادة هيكلة كود غير ذي صلة أو تغيير منطق الإنتاج بشكل غير متوقع
- توقعات مخرجات غامضة مثل 'إصلاحها' - لن تعرف ما تغير أو لماذا
الأسئلة المتكررة
كم عدد الوكلاء المتوازيين الذي يجب أن أرسلهم في وقت واحد؟
ماذا لو قام الوكلاء بتعديل نفس الملف؟
هل يمكنني استخدام هذا مع مساعد AI واحد أم أحتاج إلى مثيلات متعددة؟
كيف أعرف إذا كانت المهام مستقلة حقًا؟
ماذا يجب أن أفعل بينما يعمل الوكلاء بشكل متوازٍ؟
هل يجب أن أشغل الوكلاء دائمًا بشكل متوازٍ بدلاً من التسلسل؟
تفاصيل المطور
المؤلف
ZhanlinCuiالترخيص
MIT
المستودع
https://github.com/ZhanlinCui/Ultimate-Agent-Skills-Collection/tree/main/dispatching-parallel-agentsمرجع
main
بنية الملفات
📄 SKILL.md