Skillpedia
المهام والمشاريع81k · #1626

goal-plan

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-goals/skills/goal-plan/SKILL.md

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

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

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

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

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

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

“خطّط الخطوات لنقل متجرنا من الدفع القديم إلى الجديد، بالترتيب الصحيح.”

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

كيف تعمل

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

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

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

Goal Plan

Create and execute intelligent plans using Goal-Oriented Action Planning (GOAP).

When to use

When you have a complex objective that requires multiple steps, has dependencies between steps, and may need adaptive replanning as conditions change.

Steps

  1. Define goal state — what does "done" look like? List concrete success criteria
  2. Assess current state — what's true now? What assets, code, infrastructure exist?
  3. Identify gap — what must change between current and goal state?
  4. Inventory actions — list available actions with:
    • Preconditions (what must be true before this action)
    • Effects (what becomes true after this action)
    • Cost estimate (time, complexity, risk)
  5. Generate plan — find the optimal action sequence using A* through the state space
  6. Record trajectory — call mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start to begin tracking
  7. Create tasks — call mcp__plugin_ruflo-core_ruflo__task_create for each action in the plan
  8. Execute — work through tasks in dependency order:
    • Before each action: verify preconditions still hold
    • After each action: verify effects achieved
    • Record each step via mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step
  9. Monitor & replan — if an action fails or produces unexpected results:
    • Reassess current state
    • Recalculate optimal path from new state
    • Update remaining tasks
  10. Complete trajectory — call mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end
  11. Store successful plan — call mcp__plugin_ruflo-core_ruflo__memory_store with namespace goap-plans

Plan output format

Goal: [concrete objective]
Current State: [key facts]
Plan Cost: [estimated effort]
Steps:
  1. [action] — precondition: [X], effect: [Y], cost: [Z]
  2. [action] — precondition: [Y], effect: [W], cost: [Z]
  ...
Risk Factors: [what could force a replan]
Fallback: [alternative approach if primary path fails]

Replanning triggers

  • Action fails (precondition no longer met)
  • Unexpected side effects detected
  • New information changes goal definition
  • Cost exceeds threshold
  • External dependency becomes unavailable
الأسئلة الشائعة

ماذا تفحص قبل كل خطوة؟

تتأكد أن متطلبات الخطوة ما زالت قائمة، ثم تتحقق من النتيجة المتوقعة بعدها.

ماذا يحدث إذا فشلت خطوة؟

تعيد المهارة تقييم الحالة الحالية، وتعيد التخطيط من هناك.

هل تحتفظ بسجل للعمل؟

نعم. تسجل كل خطوة في مسار، حتى يمكن مراجعة العمل لاحقًا.

التفاصيل

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

Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

repo: ruvnet/ruflo

الشعبية

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

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

0

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

التعليقات

  • …

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

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