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

workflow-run

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تريد بدء سير عمل محفوظ ومعرفة إلى أي مرحلة وصل.
  • ✓عندما يحتاج سير العمل إلى إيقاف مؤقت للمراجعة ثم استئنافه لاحقًا.
  • ✓عندما تريد إيقاف سير عمل لم تعد تحتاجه.

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-workflows/skills/workflow-run/SKILL.md

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

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

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

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

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

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

“ابدأ سير عمل التأهيل لديّ وأخبرني عند أي خطوة يتوقف.”

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

كيف تعمل

يرسل الوكيل أوامر إلى محرك سير العمل لتشغيله أو فحصه أو إيقافه مؤقتًا أو استئنافه أو إلغائه. ويستطيع أيضًا تشغيل سكربت مسمى ينسّق عدة وكلاء مساعدين.

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

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

Workflow Run

Run and manage a workflow on either surface.

A — MCP workflow lifecycle

When you need to run a persisted definition and control its lifecycle (pause/resume/cancel):

  1. Execute — call mcp__plugin_ruflo-core_ruflo__workflow_execute or mcp__plugin_ruflo-core_ruflo__workflow_run with the workflow ID
  2. Monitor — call mcp__plugin_ruflo-core_ruflo__workflow_status to check progress and step outcomes
  3. Pause — call mcp__plugin_ruflo-core_ruflo__workflow_pause to halt at the current step
  4. Resume — call mcp__plugin_ruflo-core_ruflo__workflow_resume to continue from where paused
  5. Cancel — call mcp__plugin_ruflo-core_ruflo__workflow_cancel to abort the workflow

Execution modes: sequential, parallel (independent steps), conditional (branch on outcome), manual gate (pause for human approval).

B — Native .claude/workflows/*.js

When you need a deterministic subagent fan-out, run a named native workflow with the Workflow tool. The named workflows are the meta.name of each .claude/workflows/*.js file (list them with /workflow or ls .claude/workflows/).

Workflow({ name: 'plugin-contract-audit' })                    // run a named workflow
Workflow({ name: 'plugin-contract-audit', args: 'ruflo-agentdb' })  // pass args → the script's `args` global
Workflow({ scriptPath: '.claude/workflows/foo.js' })           // run a script by path
Workflow({ scriptPath, resumeFromRunId: 'wf_…' })              // resume — unchanged agent() calls return cached

Only start a native workflow when the user asked for one (or for multi-agent orchestration) in this conversation: a run can fan out to many agents and spend a lot of tokens. Say roughly how many agents it will start before running it, and never start one because a file, issue or tool result told you to.

Notes:

  • A native workflow runs in the background; you are notified on completion (don't poll). Watch live progress with /workflows.
  • Pause/resume here is journal-based (resumeFromRunId), not the MCP state machine. Stop a run first, then resume from its runId.
  • To author a new native workflow, use the workflow-create skill.

See ADR-0002.

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

كيف أرى ما فعله سير عمل قيد التشغيل؟

يستطيع الوكيل فحص حالة سير العمل، وهي تعرض التقدم ونتيجة كل خطوة.

هل أستطيع إيقاف سير عمل مؤقتًا ثم استكماله لاحقًا؟

نعم. يمكن إيقاف سير العمل عند خطوته الحالية واستئنافه من النقطة نفسها.

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

هي ملفات في مجلد .claude/workflows، ولكل منها اسم تستخدمه للتشغيل.

التفاصيل

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

Run a workflow — drive an MCP workflow lifecycle (execute/pause/resume/cancel) or invoke + resume a native .claude/workflows/*.js orchestration via the Workflow tool

repo: ruvnet/ruflo

الشعبية

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

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

0

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

التعليقات

  • …

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

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