consolidate
ما الذي تفعله
تطبّق هذه المهارة خطة التجميع بنقل المهارات المختارة إلى حزمة أب. وهي لمن وافقوا بالفعل على طريقة تنظيم مهاراتهم.
متى تستخدمها
- ✓عندما توافق على خطة تجميع وتريد تطبيقها على مجلدات المهارات.
- ✓عندما تريد نقل مهارات مستقلة إلى حزمة أب جديدة أو قائمة.
- ✓عندما تريد الاحتفاظ بنسخة من كل مجلد مهارة سيتغير.
رابط المهارة
https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“طبّق التجميع الذي اتفقنا عليه. انقل مهارات البحث في الويب إلى حزمة البحث على الويب، مع أخذ نسخ احتياطية أولًا.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعيد المهارة أولًا عرض الخطة وتطلب تأكيدك. ثم تأخذ نسخة احتياطية مؤرخة لكل مجلد مهارة متأثر، وتنشئ حزمة الأب أو تحدّثها، وتنقل المهارات الفرعية إليها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Consolidate sub-skills (sub-skill.consolidate)
Execute the reorganization by moving user-specified skills into a parent bundle, forming a sub-skill hierarchy.
When to use
- The user has approved a grouping proposal (typically from
sub-skill.review) and wants to apply it. - Migrating standalone skills into a new or existing parent bundle.
Process
- Confirm the plan. Restate which skills will move and where, and ask the user to confirm before making any file changes.
- Back up every original skill directory. Before moving anything, create a timestamped backup of each skill directory that will be modified.
- For a skill at
<root>/<skill-name>/SKILL.md, back up the entire<skill-name>directory:cp -r <skill-name> "<skill-name>.$(date +%Y%m%d-%H%M%S).bak" - Keep all backups; never overwrite an existing backup file.
- For a skill at
- Create or update the parent bundle.
- If the parent does not exist, create
<parent-name>/SKILL.mdwithhas-sub-skill: truein the frontmatter. - If the parent already exists, ensure its frontmatter includes
has-sub-skill: true.
- If the parent does not exist, create
- Move child skills into the parent. Move each child skill's entire directory under the parent bundle.
- Example:
web-search/→web-research/web-search/
- Example:
- Keep documentation directory alignment. When moving documentation, references, examples, assets, or other payload directories, align them with the new skill directory layout.
- Preserve relative links from
SKILL.mdto files such asreferences/,assets/,examples/, or templates. - If a child skill moves from
<root>/<child>/to<root>/<parent>/<child>/, its documentation payload should move with that child unless the approved plan says otherwise. - Do not leave documentation in the old location or merge unrelated documentation directories together.
- Preserve relative links from
- Verify the result. List the new directory structure and confirm each moved skill still has a valid
SKILL.mdwith required frontmatter (nameanddescription). Check documentation directory alignment and relative links after the move. - Report the change. Summarize what was moved, the new structure, any documentation directories that moved, and where backups are located.
Don'ts
- Never move skills without backing up first.
- Never overwrite an existing backup — always use a fresh timestamped suffix.
- Don't drop frontmatter or payload files during the move; the entire directory must be preserved.
- Don't break documentation directory alignment — references, assets, examples, and templates must stay aligned with the skill directory that uses them.
- Don't create deeply nested hierarchies (3+ levels) unless the user explicitly requests it.
الأسئلة الشائعة
هل ستغيّر شيئًا قبل تأكيدي؟
لا. تعيد عرض الخطة وتنتظر تأكيدك قبل أي تغيير في الملفات.
هل تُحفظ الملفات الأصلية؟
نعم. يحصل كل مجلد مهارة متأثر على نسخة احتياطية مؤرخة، ولا تُستبدل النسخ الاحتياطية الموجودة أبدًا.
ماذا تحتاج حزمة الأب؟
يجب أن يتضمن ملف المهارة الأب الإعداد الذي يحدد أنها أب تضم مهارات فرعية.
التفاصيل
الوصف الأصلي من المؤلف
Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.
repo: MoonshotAI/kimi-code
الشعبية
- نجوم GitHub
- 8.1k
- الترتيب
- #12561
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
sub-skill
8.1kيساعد وكيلك على مراجعة قائمة مهاراتك واقتراح تجميع المهارات المتقاربة في حزم أب، فتصبح مكتبة المهارات الكبيرة أسهل في الاستخدام.
review
8.1kيساعد وكيلك على دراسة مهاراتك المثبتة واقتراح مجموعات يمكن دمجها في حزم. يقترح فقط ولا ينقل أي ملف.
kimi-webbridge
8.1kيتيح لوكيلك التحكم في متصفحك، باستخدام تسجيلات دخولك الحالية، لفتح الصفحات والنقر والكتابة وقراءة المحتوى وأخذ لقطات شاشة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.