Skillpedia
برمجة عامة20k · #10372

commit-dis

ما الذي تفعله

تجعل هذه المهارة الذكاء الاصطناعي يودع الملفات التي غيّرها في المحادثة الحالية فقط على الفرع المفتوح لديك. وهي موجهة لمن يريد طريقة سريعة لحفظ عمله في Git.

متى تستخدمها

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

رابط المهارة

https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“سجّل التغييرات التي أجريناها الآن في هذه المحادثة على فرعي الحالي، واترك كل شيء آخر كما هو.”

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

كيف تعمل

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

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

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

commit-dis — commit this session's work, here, now

Stage and commit the changes produced during this conversation onto the current branch. Nothing more. This is the quick "save what we just did" button.

THE RULES

  1. Stay on the current branch. Do NOT create, switch, or rename a branch. Commit wherever HEAD already points — even if that's main. Never run git checkout -b, git switch -c, or git branch.
  2. Only commit what this session changed. Stage the specific files you created or edited in this thread by path. Do NOT git add -A / git add . blindly — that risks sweeping in unrelated working-tree changes, untracked scratch files, or another task's edits. No overcommitting.
  3. No push, no PR. Stop after the commit unless the user explicitly asks to push or open a PR.
  4. One commit for the session's work unless the user asks otherwise.

Steps

  1. Confirm the branch and see what's changed:
    git rev-parse --abbrev-ref HEAD
    git status --short
    
  2. Identify the exact files this session touched. If anything in git status was NOT changed by this session, leave it unstaged. If it's ambiguous whether a dirty file belongs to this session, ask the user rather than guessing.
  3. Stage by explicit path (never -A/.):
    git add <file1> <file2> ...
    
  4. Commit with a clear message describing what this session did. End the message with the standard trailer:
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    
  5. Confirm:
    git log --oneline -1
    

Don't

  • Don't create or switch branches.
  • Don't git add -A, git add ., or git commit -a.
  • Don't push or open a PR.
  • Don't amend or rebase prior commits.
  • Don't stage files you didn't touch this session (build artifacts, other in-flight work, untracked scratch).
الأسئلة الشائعة

هل سينشئ فرعاً جديداً؟

لا. يودع على الفرع المفتوح بالفعل، حتى لو كان main.

ماذا لو كان أحد الملفات المتغيرة ليس من هذه المحادثة؟

تقول المهارة إنه يُترك غير مُضاف (unstaged)، وتسأل المستخدم عندما لا يكون واضحاً إن كان الملف يخص هذه الجلسة.

هل تدفع الإيداع إلى المستودع البعيد؟

لا. تتوقف المهارة بعد الإيداع ما لم تطلب الدفع أو فتح طلب الدمج.

التفاصيل

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

Stage and commit ONLY the work done in this session, on the CURRENT branch — no new branch, no PR, no push. Load whenever the user says 'commit this', 'commit-dis', 'git add commit what we did', 'commit dis', 'save my work', or otherwise asks to commit the changes from the current thread. Enforces: stay on the already-checked-out branch, never overcommit unrelated files.

repo: kortix-ai/suna

الشعبية

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

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

0

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

التعليقات

  • …

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

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