Skillpedia
برمجة عامة280k · #277

claude-devfleet

ما الذي تفعله

تساعد هذه المهارة على تنظيم وكلاء الذكاء الاصطناعي ليعملوا معًا في مشروع برمجي. تخطط للمهام، وتوزع العمل على وكلاء مختلفين يعملون في بيئات منفصلة، وتعرض التقدم.

متى تستخدمها

  • ✓عندما تريد أن يعمل عدة مبرمجين بالذكاء الاصطناعي على أجزاء مختلفة من المشروع في وقت واحد.
  • ✓عندما تحتاج إلى أن يعمل المبرمجون بالذكاء الاصطناعي في بيئات معزولة لتجنب التعارض.
  • ✓عندما تريد متابعة تقدم كل مبرمج بالذكاء الاصطناعي والاطلاع على التقارير النهائية.

رابط المهارة

https://github.com/affaan-m/ECC/blob/main/skills/claude-devfleet/SKILL.md

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

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

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

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

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

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

“خطط لمشروع لبناء واجهة REST API مع المصادقة والاختبارات الآلية، ثم ابدأ تنفيذه.”

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

كيف تعمل

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

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

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

Claude DevFleet Multi-Agent Orchestration

When to Use

Use this skill when you need to dispatch multiple Claude Code agents to work on coding tasks in parallel. Each agent runs in an isolated git worktree with full tooling.

Setup

The DevFleet server is a separate project, not bundled with ECC. Install and run it from its repository first: https://github.com/LEC-AI/claude-devfleet

Then connect the running instance via MCP:

claude mcp add devfleet --transport http http://localhost:18801/mcp

Before first use, verify the process listening on port 18801 is the DevFleet binary you installed (see SECURITY.md on localhost MCP servers).

How It Works

User → "Build a REST API with auth and tests"
  ↓
plan_project(prompt) → project_id + mission DAG
  ↓
Show plan to user → get approval
  ↓
dispatch_mission(M1) → Agent 1 spawns in worktree
  ↓
M1 completes → auto-merge → auto-dispatch M2 (depends_on M1)
  ↓
M2 completes → auto-merge
  ↓
get_report(M2) → files_changed, what_done, errors, next_steps
  ↓
Report back to user

Tools

Tool Purpose
plan_project(prompt) AI breaks a description into a project with chained missions
create_project(name, path?, description?) Create a project manually, returns project_id
create_mission(project_id, title, prompt, depends_on?, auto_dispatch?) Add a mission. depends_on is a list of mission ID strings (e.g., ["abc-123"]). Set auto_dispatch=true to auto-start when deps are met.
dispatch_mission(mission_id, model?, max_turns?) Start an agent on a mission
cancel_mission(mission_id) Stop a running agent
wait_for_mission(mission_id, timeout_seconds?) Block until a mission completes (see note below)
get_mission_status(mission_id) Check mission progress without blocking
get_report(mission_id) Read structured report (files changed, tested, errors, next steps)
get_dashboard() System overview: running agents, stats, recent activity
list_projects() Browse all projects
list_missions(project_id, status?) List missions in a project

Note on wait_for_mission: This blocks the conversation for up to timeout_seconds (default 600). For long-running missions, prefer polling with get_mission_status every 30–60 seconds instead, so the user sees progress updates.

Workflow: Plan → Dispatch → Monitor → Report

  1. Plan: Call plan_project(prompt="...") → returns project_id + list of missions with depends_on chains and auto_dispatch=true.
  2. Show plan: Present mission titles, types, and dependency chain to the user.
  3. Dispatch: Call dispatch_mission(mission_id=<first_mission_id>) on the root mission (empty depends_on). Remaining missions auto-dispatch as their dependencies complete (because plan_project sets auto_dispatch=true on them).
  4. Monitor: Call get_mission_status(mission_id=...) or get_dashboard() to check progress.
  5. Report: Call get_report(mission_id=...) when missions complete. Share highlights with the user.

Concurrency

DevFleet runs up to 3 concurrent agents by default (configurable via DEVFLEET_MAX_AGENTS). When all slots are full, missions with auto_dispatch=true queue in the mission watcher and dispatch automatically as slots free up. Check get_dashboard() for current slot usage.

Examples

Full auto: plan and launch

  1. plan_project(prompt="...") → shows plan with missions and dependencies.
  2. Dispatch the first mission (the one with empty depends_on).
  3. Remaining missions auto-dispatch as dependencies resolve (they have auto_dispatch=true).
  4. Report back with project ID and mission count so the user knows what was launched.
  5. Poll with get_mission_status or get_dashboard() periodically until all missions reach a terminal state (completed, failed, or cancelled).
  6. get_report(mission_id=...) for each terminal mission — summarize successes and call out failures with errors and next steps.

Manual: step-by-step control

  1. create_project(name="My Project") → returns project_id.
  2. create_mission(project_id=project_id, title="...", prompt="...", auto_dispatch=true) for the first (root) mission → capture root_mission_id. create_mission(project_id=project_id, title="...", prompt="...", auto_dispatch=true, depends_on=["<root_mission_id>"]) for each subsequent task.

…

الأسئلة الشائعة

ما المقصود بـ«الأشجار العاملة المعزولة»؟

هي مساحات منفصلة يعمل فيها كل مبرمج بالذكاء الاصطناعي، بحيث لا يتداخل عمل أحدهم مع عمل الآخر.

كيف أعرف ما يفعله المبرمجون بالذكاء الاصطناعي؟

يمكنك طلب تقرير (`get_report`) لتعرف ما تم إنجازه، والملفات التي تغيرت، وإن وُجدت أي أخطاء.

هل يمكنني إيقاف مبرمج بالذكاء الاصطناعي أثناء العمل على مهمة؟

نعم، يمكنك استخدام الأمر `cancel_mission` لإيقاف مهمة محددة.

التفاصيل

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

Orchestrate multi-agent coding tasks via Claude DevFleet — plan projects, dispatch parallel agents in isolated worktrees, monitor progress, and read structured reports. Use when dispatching parallel coding agents across isolated worktrees and tracking their reports.

repo: affaan-m/ECC

الشعبية

نجوم GitHub
280k
الترتيب
#277
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

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

0

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

التعليقات

  • …

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

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