المهارات dispatching-parallel-agents
📦

dispatching-parallel-agents

آمن

إرسال المهام إلى وكلاء متوازيين للتنفيذ المتزامن

متاح أيضًا من: CodingCossack,davila7,Doyajin174,DYAI2025,Cygnusfear,Cycleaddict,obra

توقف عن التحقيق في مشاكل مستقلة متعددة بالتسلسل وإضاعة الوقت. teaches you to dispatch one agent per problem domain so investigations happen concurrently.

يدعم: Claude Codex Code(CC)
🥉 73 برونزي
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "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.

التدقيق الأمني

آمن
v1 • 2/24/2026

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
الملفات التي تم فحصها
181
الأسطر التي تم تحليلها
1
النتائج
1
إجمالي عمليات التدقيق
مشكلات منخفضة المخاطر (1)
Static Analysis False Positive - External Commands
Static scanner detected 7 instances of shell command patterns. All are documentation examples in markdown code blocks, not executable code. The skill file is purely instructional content.
تم تدقيقه بواسطة: claude

درجة الجودة

38
الهندسة المعمارية
100
قابلية الصيانة
87
المحتوى
50
المجتمع
100
الأمان
83
الامتثال للمواصفات

ماذا يمكنك بناءه

التحقيق المتوازي في فشل الاختبار

多个测试文件因不同根本原因失败。向每个测试文件发送一名特工来独立调查并修复每个故障。

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.

جرّب هذه الموجهات

Beginner: Basic Parallel Task
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.
Intermediate: Test Failure Dispatch
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.
Advanced: Multi-Agent Coordination
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.
Expert: Complex Parallel Workflows
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.

أفضل الممارسات

  • قم دائمًا بالتحقق من أن المهام مستقلة حقًا قبل الإرسال - تحقق من الملفات المشتركة أو الحالة أو التبعيات التسلسلية
  • امنح كل وكيل نطاقًا محددًا مع قيود واضحة على ما لا يجب تغييره
  • اطلب ملخصات منظمة من كل وكيل بما في ذلك السبب الجذري والتغييرات التي تم إجراؤها ونتائج الاختبار لتسهيل الدمج

تجنب

  • نطاق واسع جدًا مثل 'إصلاح جميع الاختبارات' - يفقد الوكلاء الاتجاه بدون توجيه مركز
  • قيود مفقودة تسمح للوكلاء بإعادة هيكلة كود غير ذي صلة أو تغيير منطق الإنتاج بشكل غير متوقع
  • توقعات مخرجات غامضة مثل 'إصلاحها' - لن تعرف ما تغير أو لماذا

الأسئلة المتكررة

كم عدد الوكلاء المتوازيين الذي يجب أن أرسلهم في وقت واحد؟
ابدأ بـ 2-3 وكلاء لمعظم السيناريوهات. أكثر من 5 وكلاء يمكن أن يصبح من الصعب تنسيقهم ودمجهم. يعتمد العدد الأمثل على مدى وضوح قدرتك على تحديد مجالات المشاكل المستقلة.
ماذا لو قام الوكلاء بتعديل نفس الملف؟
يشير هذا إلى أن المهام لم تكن مستقلة حقًا. راجع مخرجات الوكلاء بحثًا عن تعارضات قبل الدمج. إذا وُجدت تعارضات، قد تحتاج إلى إعادة تشغيل وكيل واحد مع awareness of the other changes، أو التوفيق بين الاختلافات يدويًا.
هل يمكنني استخدام هذا مع مساعد AI واحد أم أحتاج إلى مثيلات متعددة؟
يعمل هذا المهارة مع مساعد AI واحد يدعم التنفيذ المتزامن للمهام مثل ميزة Claude Code Task. المفتاح هو القدرة على إجراء عمليات تحقيق متعددة في وقت واحد، وليس وجود مثيلات AI متعددة.
كيف أعرف إذا كانت المهام مستقلة حقًا؟
اسأل: هل يمكن فهم كل مهمة بدون سياق من الآخرين؟ هل يقومون بتعديل ملفات مختلفة؟ هل يؤثر إصلاح واحد على الآخرين؟ إذا كانت الإجابة نعم على الجميع، فهي مستقلة. إذا كان إصلاح واحد قد يصلح الآخرين، فقم بالتحقيق معًا أولاً.
ماذا يجب أن أفعل بينما يعمل الوكلاء بشكل متوازٍ؟
استخدم وقت الانتظار بشكل منتج: راجع الكود ذي الصلة، أو جهز بيئات الاختبار، أو اعمل على مهام غير ذات صلة. عندما يعود الوكلاء، خصص وقتًا مركزًا لمراجعة جميع الملخصات ودمج التغييرات.
هل يجب أن أشغل الوكلاء دائمًا بشكل متوازٍ بدلاً من التسلسل؟
لا. التحقيق التسلسلي أفضل عندما: الإخفاقات ذات صلة، أو تحتاج إلى سياق النظام الكامل، أو المهام تتشارك الحالة، أو لا تزال تستكشف لفهم ما هو مكسور. يعمل الإرسال المتوازي بشكل أفضل عندما تكون مجالات المشكلة محددة بوضوح ومستقلة.

تفاصيل المطور

بنية الملفات

📄 SKILL.md