Skillpedia
الوكلاء81k · #1539

swarm-orchestration

ما الذي تفعله

تُرشد هذه المهارة الوكيل إلى تقسيم العمل الكبير وتكليف وكلاء متخصصين به وفق بنية هرمية. وهي موجهة للمطورين الذين يجرون تغييرات تمس عدة ملفات أو وحدات في وقت واحد.

متى تستخدمها

  • ✓عندما يحتاج التغيير إلى تحديث ثلاثة ملفات أو أكثر.
  • ✓عندما تمس ميزة عدة وحدات ويجب تنسيقها.
  • ✓عندما يحتاج التغيير إلى تحديث الشيفرة والاختبارات معاً.

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/swarm-orchestration/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/swarm-orchestration/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“نسّق تغييراً يمس وحدة المصادقة واختباراتها ومخطط قاعدة البيانات، باستخدام وكلاء متخصصين.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يشغّل وكيلك فريقاً هرمياً، ويوجّه المهمة إلى المتخصصين المناسبين، ويتابع تقدمهم، ويدمج نتائجهم.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Swarm Orchestration Skill

Purpose

Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules.

When to Trigger

  • 3+ files need changes
  • new feature implementation
  • cross-module refactoring
  • API changes with tests
  • security-related changes
  • performance optimization across codebase
  • database schema changes

When to Skip

  • single file edits
  • simple bug fixes (1-2 lines)
  • documentation updates
  • configuration changes
  • quick exploration

Commands

Initialize Swarm

Start a new swarm with hierarchical topology (anti-drift)

npx @claude-flow/cli swarm init --topology hierarchical --max-agents 8 --strategy specialized

Example:

npx @claude-flow/cli swarm init --topology hierarchical --max-agents 6 --strategy specialized

Route Task

Route a task to the appropriate agents based on task type

npx @claude-flow/cli hooks route --task "[task description]"

Example:

npx @claude-flow/cli hooks route --task "implement OAuth2 authentication flow"

Spawn Agent

Spawn a specific agent type

npx @claude-flow/cli agent spawn --type [type] --name [name]

Example:

npx @claude-flow/cli agent spawn --type coder --name impl-auth

Monitor Status

Check the current swarm status

npx @claude-flow/cli swarm status --verbose

Orchestrate Task

Orchestrate a task across multiple agents

npx @claude-flow/cli task orchestrate --task "[task]" --strategy adaptive

Example:

npx @claude-flow/cli task orchestrate --task "refactor auth module" --strategy parallel --max-agents 4

List Agents

List all active agents

npx @claude-flow/cli agent list --filter active

Scripts

Script Path Description
swarm-start .agents/scripts/swarm-start.sh Initialize swarm with default settings
swarm-monitor .agents/scripts/swarm-monitor.sh Real-time swarm monitoring dashboard

References

Document Path Description
Agent Types docs/agents.md Complete list of agent types and capabilities
Topology Guide docs/topology.md Swarm topology configuration guide

Best Practices

  1. Check memory for existing patterns before starting
  2. Use hierarchical topology for coordination
  3. Store successful patterns after completion
  4. Document any new learnings
الأسئلة الشائعة

متى أتجاوزها؟

تقول المهارة تجاوزها لتعديلات الملف الواحد وإصلاحات الأخطاء الصغيرة وتحديثات التوثيق.

ما الطوبولوجيا التي تستخدمها؟

تستخدم طوبولوجيا هرمية مع وكلاء متخصصين، وتقول المهارة إن ذلك يساعد على منع الانحراف عن الهدف.

هل أستطيع اختيار عدد الوكلاء؟

نعم. تحدد المهارة حداً أقصى لعدد الوكلاء عند بدء الفريق.

التفاصيل

الوصف الأصلي من المؤلف

Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploration.

repo: ruvnet/ruflo

الشعبية

نجوم GitHub
81k
الترتيب
#1539
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة