agentleFS
bmubookbmubook/ag-launchpad-ar/.claude/skills/checkpoint/SKILL.md

checkpoint

Skill4 starsChanged 24 days agoMITView on GitHub

Checkpoint — نقطة تفتيش لمنع فقدان السياق (master_rules §12-ب): يعيد قراءة master_rules.md و project_map.md من القرص ويفحص اسم النداء والتوثيق وسقوف الملفات والفرع النشط. للقراءة فقط. نفّذه كل 15 رسالة، وعند تذكير Hook نقطة التفتيش، وبعد /compact، وكلما غمض السياق.

98 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aside, open-gstack-browser and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TheKREATORSSkill

    aside

    Answer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering.

    Also in 3 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 6 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • AhmedMerzaSkill

    spinoff

    After a branch is finished, harvest the work it made CHEAP — the helper you wrote that four other sites now hand-roll, the plumbing that turned a deferred feature small, the pattern that just split the codebase in two. Produces a follow-up backlog (0–3 candidates, feeding /issue), NEVER commits on the current branch. Invoke with /spinoff at the tail of the chain — after /fix-review has settled the review findings, before the MR merges — or when the user asks \"what else should we do while we're here / what did this unlock / anything to follow up on\". This is ship-check's optional twin — that finds what's MISSING and blocks the merge; this finds what's now CHEAP and blocks nothing. Restraint-gated: \"nothing spun off\" is the common and correct answer, and a finding that would have been equally valid before this branch is not a finding.

    Also in 3 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 6 projects that use this

  • CodeWithBehnamSkill

    gstack-upgrade

    Upgrade gstack to the latest version. Detects global vs vendored install, runs the upgrade, and shows what's new.

    Also in 5 projects that use this

  • +2 more from TheKREATORS
  • +2 more from seek888

The file

Files
SKILL.md
<div dir="rtl">

‏/checkpoint — نقطة تفتيش السياق

المرجع: master_rules.md §12-ب (بروتوكول نقاط التفتيش) و §2 (اسم النداء + التوثيق)، والبنود 14 و 15 و 29.

  • هذا الإجراء للقراءة فقط: لا تعدّل أي ملف ولا تنشئ فرعاً ولا تنفّذ commit. أي إصلاح تكتشفه تقترحه على المستخدم في نهاية التقرير.
  • يُستدعى تلقائياً في هذه الحالات:
المُحفِّزالمصدر
كل 15 رسالة من المستخدمHook prompt-submit.mjs يحقن تعليمات 🔄 نقطة تفتيش إلزامية
بعد ضغط السياق (/compact)Hook session-start.mjs يأمر بنقطة تفتيش فورية
شعورك بعدم وضوح السياق أو تعارضهالتزام ذاتي (§12-ب)
طلب المستخدمالأمر /checkpoint

الخطوات

  1. أعد قراءة القواعد من القرص: اقرأ master_rules.md كاملاً بأداة Read، ولا تعتمد على ما في ذاكرتك حتى لو كان الملف مستورداً عبر CLAUDE.md.
  2. اقرأ project_map.md كاملاً واستخرج القيم بعد هذه التسميات حرفياً (القيمة التي تبدأ بـ [ تعني "غير محدد"):

    التسمية في الملفالاستخدام
    * **اسم المشروع:**إذا كانت غير محددة فالمشروع لم يُطلق: اذكر ذلك واقترح /kickoff ثم أكمل بقية الفحوص
    * **اسم النداء (Call Sign):**فحص اسم النداء
    * **وضع التشغيل النشط:**الكلمة الأولى: prototype أو production
    > ▶ **المرحلة النشطة حالياً:**المرحلة الحالية، وطابقها مع جدول المراحل
  3. اقرأ السجلات:
    • ‏changelog.md: آخر صف في الجدول تحت ## جدول التغييرات.
    • ‏bugs_log.md: الصفوف النشطة تحت ## ملخص الأخطاء النشطة (الحالة لا تحتوي ✅). تجاهل صفوف "لا توجد".
  4. افحص Git عبر أداة Bash:
    git branch --show-current
    git status --porcelain
    إذا لم يكن المشروع مهيأً لـ Git فسجّل ذلك كملاحظة وفق البند 15.
  5. افحص سقوف الملفات (البندان 14 و 29):
    node .claude/scripts/size-report.mjs
    انقل نتيجته كما هي. إذا لم يوجد السكربت أو فشل فاكتب ⚠️ تعذّر تشغيل تقرير الأحجام في خانة الملاحظة.
  6. اطبع سطر نقطة التفتيش بالقيم الفعلية، بالصيغة التالية:

    🔄 نقطة تفتيش: المرحلة [X]، الوضع [prototype/production]، آخر تعديل [وصف مختصر]

    • استبدل ما بين الأقواس بالقيم نفسها، مثال: 🔄 نقطة تفتيش: المرحلة 2 — قاعدة البيانات والصلاحيات، الوضع production، آخر تعديل feat(db): إنشاء جدول الملاحظات.
    • آخر تعديل = عمود الوصف في آخر صف من changelog.md، أو لا يوجد إذا كان الجدول فارغاً.
  7. اعرض جدول الامتثال:

    الفحصالمرجعطريقة التحققالنتيجة
    اسم النداءmaster §2القيمة في project_map.md تطابق ما تفتتح به ردودك؛ غير محدد ← يُتخطّى✅ / ❌
    التوثيق محدَّثmaster §2ملفات كود معدّلة في git status أو عدّلتها في هذه الجلسة ولا تظهر في صف من changelog.md ← ⚠️✅ / ⚠️
    سقوف الملفاتالبندان 14 و 29ناتج size-report.mjs: ⚠️ قرب السقف، 🚨 تجاوزه✅ / ⚠️ / 🚨
    الفرع النشطالبند 15العمل على main أو master مع تعديلات كود أو مهمة كبيرة أو أمنية أو بنيوية ← ❌✅ / ❌
    الأخطاء النشطةbugs_log.mdأي خطأ 🔴 نشط يجب إصلاحه قبل أي مهمة أخرى✅ / ⚠️ / 🔴
    بوابة الإجماعالبند 7في production: التعديلات الكبيرة تمر عبر /consensus-gate؛ في prototype: مراجعة أمنية سريعةℹ️ تذكير
  8. اقترح الإجراءات في قائمة منقطة لكل فحص غير ✅، مثل:
    • توثيق ناقص ← شغّل /document.
    • ملف تجاوز سقفه ← تقسيم معياري (Modular) وفق البند 14، وتنبيه [تنبيه: المشروع يحتاج ترقية معمارية] إذا رُصدت إشارتان من البند 29.
    • العمل على main ← اقترح إنشاء فرع مؤقت: git switch -c <type>/<task-name> دون تنفيذه.
  9. تابع المهمة الأصلية بعد التقرير إذا كانت نقطة التفتيش قد استُدعيت أثناء العمل وكانت كل الفحوص سليمة.

الغموض أو التعارض — إيقاف فوري

إذا تحققت أي حالة من الحالات التالية:

  • لا تستطيع تحديد المرحلة النشطة أو وضع التشغيل من الملفات، أو التسميات أعلاه مفقودة أو تالفة.
  • المرحلة النشطة في السطر المرجعي تناقض جدول المراحل (مثلاً مرحلة مكتملة ما زالت نشطة).
  • ما في ذاكرتك (اسم النداء، الوضع، المهمة الحالية) يخالف ما في الملفات.
  • آخر صف في changelog.md يشير إلى ملفات أو تعديلات لا تعرف عنها شيئاً ولا تجدها.
  • لا تستطيع تلخيص المهمة الحالية ومعايير نجاحها بثقة.

فتوقف عن تنفيذ المهمة واطبع هذا السطر حرفياً:

[تنبيه: السياق أصبح غامضاً. أحتاج إعادة قراءة الملفات الأساسية قبل المتابعة]

ثم:

  1. اذكر في قائمة منقطة سبب الغموض بدقة.
  2. أعد قراءة الملفات الحاكمة التسعة وفق بروتوكول بداية الجلسة (master_rules.md §12-أ) — قراءة فقط.
  3. اعرض ملخصاً للحالة كما تفهمها الآن، ولا تستأنف العمل قبل تأكيد المستخدم.
</div>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.