session-flow
ما الذي تفعله
تعيد هذه المهارة رسم خريطة واضحة لسير المحادثة، فتشمل الهدف وما تغيّر وما انتهى وما ينتظر. وهي موجهة إلى من ينتقلون بين الجلسات أو يفقدون تتبع مكانهم.
متى تستخدمها
- ✓عندما تعود إلى محادثة ولا تتذكر أين وصلت الأمور.
- ✓عندما تريد تحديثاً قصيراً عن الهدف والقرار التالي المطلوب منك.
- ✓عندما تريد مسح قائمة مهام محفوظة من هذه المهارة.
رابط المهارة
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/session-flow/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“فقدت تتبع هذه المحادثة. أعطني خريطة قصيرة للهدف وما انتهى وما يحتاج إلى قراري.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يعيد الوكيل بناء تسلسل المراحل من المحادثة نفسها، ويعلّم كل مرحلة بأنها منتهية أو قيد التنفيذ أو مخطط لها أو مُسقطة أو معدّلة. ويستشهد بالدليل لكل مرحلة، ويسرد القرارات التي تنتظرك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Session Flow
Build a compact, evidence-backed map of how this conversation actually unfolded so the user can reorient after switching sessions or compacting. This is an advisory summary, not a planner, executor, or replacement for the user's task list.
Modes
- No argument: render the full map and reconcile its session-flow Tasks when native Task tools are available.
short: return only the goal, current stage, and what (if anything) needs the user. Read-only; do not change Tasks.reset: discover and delete only Tasks owned by this skill, then confirm what was removed. Do not render a new map.
Workflow
- Reconstruct the flow from this conversation's user messages and tool results. Do not treat repository state alone as evidence that a stage happened. Separate the original goal from explicit goal changes, pivots, completed outcomes, dropped paths, and decisions still waiting on the user.
- Make 4–8 meaningful stages when the history supports them; use fewer rather than padding sparse histories or inventing work. Use one outcome per stage:
✅completed with an outcome supported by the conversation▶the current unfinished stage○an explicitly planned but unstarted stage✂dropped, with the stated reason↪a pivot, with the old direction and the evidenced new direction
- Give every stage one compact evidence pointer. Use a real URL or artifact path when one appears in the conversation; otherwise cite a distinctive short user quote or tool result. Never invent a link or state an inference as fact. Mark uncertain or pre-compaction reconstruction as
inferred. - Keep the full map to at most 15 lines: one line per stage, plus concise goal,
Needs you, andNextlines. Include open decisions inNeeds you; saynonewhen there are none.Nextmust be a concrete next action only when the conversation supports one. - In the default and
resetmodes, callTaskListand inspect every[S<number>]candidate withTaskGetbefore mutating it. A Task belongs to this skill only when its subject starts with[S<number>]and its description contains the exact marker linesession-flow: managed stage. Never edit, complete, delete, or reuse an unmarked Task. - In the default mode, update owned Tasks that still represent a stage, create missing stages with
TaskCreate, a subject beginning[S<number>], and a description whose first line is the ownership marker followed by stage evidence. Match statuses to the map: completed (including dropped or pivoted) iscompleted, current isin_progress, and planned ispending. Delete owned Tasks for stages no longer in the reconstructed map withTaskUpdatestatusdeleted; keep surviving stage numbers stable and avoid collisions with unowned Tasks. - The OMC continuation hook excludes Tasks with both the
[S<number>]subject prefix and the exact ownership marker, so these descriptive records are not treated as unfinished work. Preserve both markers on every create or update.shortmust not call mutating Task tools. - For
reset, discover owned Tasks withTaskListandTaskGet, then useTaskUpdatestatusdeletedonly on confirmed owned Tasks. - If the native Task tools are unavailable, render the map without claiming it was persisted. For
reset, report that owned Tasks could not be inspected or removed; do not guess which Tasks belong to the skill.
Output
Use a stable, concise shape:
🎯 Goal: <goal and any evidenced change>
✅ S1 <stage> → <outcome> — evidence: <source pointer>
↪ S2 <old direction> → <new direction> — evidence: <source pointer>
▶ S3 <current stage> — evidence: <source pointer>
✂ S4 <dropped path> — <reason> — evidence: <source pointer>
⏸ Needs you: <decision or none>
➡ Next: <supported next action or none>
Omit example rows that do not apply. Keep the stage order stable across calls unless the conversation provides evidence to correct it; update the owned Tasks to match any correction.
الأسئلة الشائعة
هل يستخدم المستودع ليخمّن ما حدث؟
لا. لا تُعد المرحلة منتهية إلا إذا أظهرت المحادثة نفسها أنها حدثت.
هل هناك خيار أقصر؟
نعم. الوضع المختصر يعيد الهدف والمرحلة الحالية وما يحتاج إلى مدخلاتك فقط.
هل يغيّر قائمة المهام لدي؟
فقط في الوضع الكامل، حيث يحدّث مهامه هو. أما الوضع المختصر فللقراءة فقط.
التفاصيل
الوصف الأصلي من المؤلف
Reorient in the current Claude Code session with an evidence-backed map of its goal, pivots, outcomes, current step, and open decisions.
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #7025
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-doc-discipline
41kيعلّم وكيلك كتابة تعليمات يستطيع وكلاء ذكاء اصطناعي آخرون اتباعها وحدهم، بقواعد قابلة للفحص ومع سبب واضح وراء كل قاعدة.
ai-slop-cleaner
41kيساعد وكيلك على تنظيف الكود الذي كتبه الذكاء الاصطناعي، وهو يعمل لكنه منتفخ أو مكرر، فيحذف الكود الزائد دون تغيير ما يفعله.
architecture-survey
41kيساعد وكيلك على مراجعة بنية الكود وسرد الأجزاء التي تصبح أصعب في التغيير، مع الأدلة، دون أن يغيّر أي شيء بنفسه.
ask-navigator
41kيساعد وكيلك على تحويل مشروع غامض إلى خريطة من أسئلة قرار واضحة، ثم العمل عليها واحداً تلو الآخر حتى يتضح الطريق.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.