Skillpedia
الوكلاء5.4k · #14959

workflows

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

https://github.com/Waishnav/devspace/blob/main/skills/workflows/SKILL.md

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

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

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

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

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

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

“هل يمكنك كتابة سير عمل DevSpace يخطط لتغيير، ثم يراجعه ناقد، ويستمر في التكرار حتى تُعتمد المراجعة؟”

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

كيف تعمل

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

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

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

DevSpace workflows

Use a workflow when a task has a repeatable multi-agent plan. Keep one-off delegation on the subagents commands.

Named workflows live in the current project's .devspace/workflows/ directory.

Write a workflow

Before writing or editing a workflow script, read reference.md next to this file. It defines the only syntax and primitives the sandbox accepts (agent, phase, parallel, pipeline, workflow, log, args), the meta rules, agent options, structured output schemas, and limits. Do not guess the API.

Then read patterns.md for proven engineering loops to adapt: plan with a critic, implement-review-fix until approved, a QA gate that loops until tests pass, explore-then-synthesize, multi-lens review with verified findings, bake-offs between agents, mapping one change over many units, debugging with competing hypotheses, and composing them.

Run a workflow

Run a named workflow or a specific file:

devspace workflow run --name <name> [--args '<json>']
devspace workflow run --file <path> [--args-file <path>]

The command returns a compact <workflow id="..." status="..."/> receipt. Keep the ID. Workflow code is read-only by default; add --write-mode allowed only when the workflow must modify the project.

Wait up to 60 seconds at a time. Repeat wait if the returned status is still running; do not poll status in a loop.

devspace workflow wait <id> --timeout 60

Inspect current state, calls, or one full call when needed:

devspace workflow status <id>
devspace workflow calls <id>
devspace workflow call <id> <index>
devspace workflow events <id> --after <last-sequence>
devspace workflow ls

events returns at most 100 persisted log and phase entries. Keep the highest sequence and pass it with --after for the next page.

Cancel only when the parent task no longer needs the run:

devspace workflow cancel <id>

Resume an interrupted or failed run from its durable call history. Resume reuses the original arguments and write mode:

devspace workflow run --resume <id>

Use --json only for scripts that need structured output.

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

هل يمكن لسير العمل تغيير مشروعي؟

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

أين تُحفظ سير العمل؟

تُحفظ سير العمل المسمّاة في مجلد سير العمل داخل المشروع.

هل توجد أنماط للبدء منها؟

نعم. تتضمن المهارة أنماطًا مجرّبة، مثل التخطيط مع ناقد وحلقات التنفيذ ثم المراجعة ثم الإصلاح.

التفاصيل

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

Write, run, and inspect persisted multi-agent DevSpace workflows, JavaScript scripts that compose subagent calls with agent, phase, parallel, and pipeline.

repo: Waishnav/devspace

الشعبية

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

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

0

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

التعليقات

  • …

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

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