Skillpedia
برمجة عامة18k · #10625

commit

ما الذي تفعله

تنشئ هذه المهارة commit في git برسالة قصيرة من سطر واحد بالصيغة التقليدية، مثل feat أو fix. وهي لكل من يحفظ تغييرات في مشروع git.

متى تستخدمها

  • ✓عندما تطلب من وكيلك حفظ تغييراتك أو عمل commit لها في git.
  • ✓عندما تريد رسالة commit قصيرة تتبع أسلوب feat أو fix أو docs.
  • ✓عندما تريد إضافة الملفات التي غيّرتها فقط إلى الـ commit.

رابط المهارة

https://github.com/windmill-labs/windmill/blob/main/.agents/skills/commit/SKILL.md

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

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

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

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

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

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

“احفظ تغييراتي في commit برسالة واضحة تناسب أسلوب مشروعنا.”

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

كيف تعمل

تجعل المهارة وكيلك يفحص الحالة والفروقات، ثم يضيف الملفات المتغيرة بأسمائها، ويكتب رسالة من سطر واحد تتضمن نوعًا ووصفًا قصيرًا.

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

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

Git Commit Skill

Create a focused, single-line commit following conventional commit conventions.

Instructions

  1. Analyze changes: Run git status and git diff to understand what was modified
  2. Stage only modified files: Add files individually by name. NEVER use git add -A or git add .
  3. Write commit message: Follow the conventional commit format as a single line

Conventional Commit Format

<type>: <description>

Types

  • feat: New feature or capability
  • fix: Bug fix
  • refactor: Code change that neither fixes a bug nor adds a feature
  • docs: Documentation only changes
  • style: Formatting, missing semicolons, etc (no code change)
  • test: Adding or correcting tests
  • chore: Maintenance tasks, dependency updates, etc
  • perf: Performance improvement

Rules

  • Message MUST be a single line (no multi-line messages)
  • Description should be lowercase, imperative mood ("add" not "added")
  • No period at the end
  • Keep under 72 characters total

Examples

feat: add token usage tracking for AI providers
fix: resolve null pointer in job executor
refactor: extract common validation logic
docs: update API endpoint documentation
chore: upgrade sqlx to 0.7

Execution Steps

  1. Run git status to see all changes
  2. Run git diff to understand the changes in detail
  3. Run git log --oneline -5 to see recent commit style
  4. Stage ONLY the modified/relevant files: git add <file1> <file2> ...
  5. Create the commit with conventional format:
    git commit -m "<type>: <description>"
    
  6. Run git status to verify the commit succeeded
الأسئلة الشائعة

ماذا تعني الصيغة التقليدية؟

هي بادئة قصيرة مثل feat أو fix أو docs، تليها نقطتان ثم وصف بسيط.

لماذا لا تُضاف كل الملفات دفعة واحدة؟

تضيف المهارة الملفات واحدًا واحدًا بأسمائها، فلا تدخل ملفات زائدة عن طريق الخطأ.

هل للرسالة حد للطول؟

نعم. تطلب المهارة رسالة أقل من 72 حرفًا في سطر واحد.

التفاصيل

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

Create a git commit with conventional commit format. MUST use anytime you want to commit changes.

repo: windmill-labs/windmill

الشعبية

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

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

0

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

التعليقات

  • …

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

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