Skillpedia
برمجة عامة117k · #745

caveman-commit

ما الذي تفعله

تكتب هذه المهارة رسائل إيداع قصيرة ودقيقة، تتبع صيغة Conventional Commits. وهي موجهة للمطورين الذين يريدون سجلا نظيفا للإيداعات دون كتابة رسائل طويلة يدويا.

متى تستخدمها

  • ✓عندما تطلب من وكيلك كتابة رسالة إيداع لتغييراتك.
  • ✓عندما تريد عنوان إيداع يتبع صيغة Conventional Commits.
  • ✓عندما يحتاج التغيير إلى نص قصير يشرح سبب إجرائه.

رابط المهارة

https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-commit/SKILL.md

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

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

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

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

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

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

“اكتب رسالة إيداع لتغييراتي. اجعل العنوان قصيرا، ولا تضف نصا إلا إذا لم يكن السبب واضحا.”

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

كيف تعمل

يقرأ الوكيل التغيير ويكتب عنوانا بصيغة النوع والنطاق والملخص، بصيغة الأمر. ولا يضيف نصا إلا حين لا يكون السبب واضحا من العنوان.

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

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

Write commit messages terse and exact. Conventional Commits format. No fluff. Why over what.

Rules

Subject line:

  • <type>(<scope>): <imperative summary> — <scope> optional
  • Types: feat, fix, refactor, perf, docs, test, chore, build, ci, style, revert
  • Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
  • ≤50 chars when possible, hard cap 72
  • No trailing period
  • Match project convention for capitalization after the colon

Body (only if needed):

  • Skip entirely when subject is self-explanatory
  • Add body only for: non-obvious why, breaking changes, migration notes, linked issues
  • Wrap at 72 chars
  • Bullets - not *
  • Reference issues/PRs at end: Closes #42, Refs #17

What NEVER goes in:

  • "This commit does X", "I", "we", "now", "currently" — the diff says what
  • "As requested by..." — use Co-authored-by trailer
  • "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an Assisted-by/AI-attribution trailer, then add it as a trailer
  • Emoji (unless project convention requires)
  • Restating the file name when scope already says it

Examples

Diff: new endpoint for user profile with body explaining the why

  • ❌ "feat: add a new endpoint to get user profile information from the database"
  • ✅
    feat(api): add GET /users/:id/profile
    
    Mobile client needs profile data without the full user payload
    to reduce LTE bandwidth on cold-launch screens.
    
    Closes #128
    

Diff: breaking API change

  • ✅
    feat(api)!: rename /v1/orders to /v1/checkout
    
    BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout
    before 2026-06-01. Old route returns 410 after that date.
    

Auto-Clarity

Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.

Boundaries

Only generates the commit message. Does not run git commit, does not stage files, does not amend. Output the message as a code block ready to paste. "stop caveman-commit" or "normal mode": revert to verbose commit style.

الأسئلة الشائعة

ما الصيغة التي تستخدمها؟

Conventional Commits، بأنواع مثل feat وfix وrefactor وdocs.

هل تضيف إسنادا للذكاء الاصطناعي؟

لا، إلا إذا كانت قواعدك الخاصة تتطلب سطر إسناد.

كم طول العنوان؟

الأفضل نحو 50 حرفا، ولا يتجاوز 72 حرفا.

التفاصيل

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

Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.

repo: JuliusBrussee/caveman

الشعبية

نجوم GitHub
117k
الترتيب
#745
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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