create-commit
ما الذي تفعله
تساعد هذه المهارة ذكاءك على حفظ العمل المنتهي في Git كـ commit نظيف وصغير. وهي لمطورين يريدون commits دقيقة تضم الملفات المقصودة فقط.
متى تستخدمها
- ✓عندما تطلب من ذكائك حفظ عمل منتهٍ كـ commit.
- ✓عندما يحتوي مجلد العمل على تغييرات كثيرة وتريد حفظ بعضها فقط.
- ✓عندما تريد رسالة commit تتبع أسلوب Conventional Commits.
رابط المهارة
https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“احفظ الفصل الذي أنهيته اليوم فقط برسالة واضحة، ولا ترفعه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص المهارة التغييرات والرسائل السابقة، وتختار أصغر مجموعة ملفات منطقية، وتشغّل الفحوص ذات الصلة، ثم تنشئ الـcommit. لا تدفع الكود أو تعدّل الـcommit السابق أو تغيّر الفروع ما لم تطلب ذلك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Create Commit
Create small, reviewable commits that follow this repository's contribution rules. Do not push, amend, rebase, reset, or change branches unless the user explicitly asks.
Workflow
Inspect
git status --short, the staged and unstaged diffs, and recent commit messages.Determine the smallest coherent commit. Preserve unrelated user changes; never use
git add -Aorgit add ..If the intended files or scope are unclear, ask the user before staging or committing.
Stage only the chosen paths with
git add <path>....Select a Conventional Commit message. Prefer a scoped type when useful:
docs(scope): describe documentation change feat(scope): describe user-facing addition fix(scope): describe corrected behavior test(scope): describe test change chore(scope): describe maintenance work ci: describe workflow changeUse a concise, lowercase imperative subject with no final period. Reuse an explicit user-provided message if it is suitable.
Run the relevant validation commands from
CONTRIBUTING.mdwhen they are practical for the changed files. Report any pre-existing or environment-related failure; do not conceal it by weakening checks.Review the staged diff one final time, then create the commit with
git commit -m "<message>".Confirm success with
git status --shortandgit log -1 --oneline.
Safety rules
- Do not commit secrets, generated output, local configuration, or unrelated files.
- Do not modify existing commits, force-push, or push any branch as part of this skill.
- Do not bypass hooks with
--no-verifyunless the user explicitly authorizes it after the failure is explained. - If validation fails because of the proposed change, fix it before committing when the user asked for a finished commit. If it is unrelated, report it clearly.
الأسئلة الشائعة
هل ستدفع الـcommit إلى الخادم؟
لا. لا تدفع المهارة إلا إذا طلبت ذلك صراحة.
هل تستطيع حفظ كل شيء دفعة واحدة؟
لا. تتجنب المهارة إضافة كل الملفات بشكل أعمى، وتضيف المسارات المقصودة فقط.
هل تكتب الرسالة بدلًا مني؟
نعم. تقترح رسالة بأسلوب Conventional Commit، أو تعيد استخدام رسالة تقدمها أنت.
التفاصيل
الوصف الأصلي من المؤلف
Create a safe, focused Git commit for this repository. Use when the user asks to commit completed work, prepare a commit, or choose a Conventional Commit message. Inspect the working tree, stage only intended files, validate relevant changes, and create the commit without pushing.
الشعبية
- نجوم GitHub
- 8.2k
- الترتيب
- #12545
- الترخيص
- MIT
- آخر تحديث
- 8/8/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.