ما هي code-comment؟
أضف تعليقات إلى التعليمات البرمجية وفقًا لاتفاقيات اللغة. يُستخدم عندما يطلب المستخدم تعليقات أو وثائق أو شرحًا للكود (على سبيل المثال، إضافة تعليقات، توثيق هذا، التعليق على هذا). المصدر: homestylew/code-comment.
أضف تعليقات إلى التعليمات البرمجية وفقًا لاتفاقيات اللغة. يُستخدم عندما يطلب المستخدم تعليقات أو وثائق أو شرحًا للكود (على سبيل المثال، إضافة تعليقات، توثيق هذا، التعليق على هذا).
ثبّت مهارة الذكاء الاصطناعي code-comment بسرعة في بيئة التطوير لديك عبر سطر الأوامر
المصدر: homestylew/code-comment.
Use this skill only when the user explicitly requests comments, for example: "add comments", "document this", "explain this code", "comment this", "add documentation". Do not enable when the user is only refactoring, fixing bugs, etc., without also asking for comments.
Response must follow user input: Infer comment language, level of detail (brief vs. detailed), and scope (selection vs. whole file) from what the user says and what is selected. Important: If the user does not specify detail level, default to "line-by-line detailed comments": add a comment for every executable line (or every logical block) explaining what it does, why, or what to watch for; complex logic should be...
| Comment language | Prefer the same language as the user’s message. If unclear, match existing comments in the file. If neither is available, default to English. |
حقول وأوامر مستقرة للاقتباس في أنظمة الذكاء الاصطناعي والبحث.
npx skills add https://github.com/homestylew/code-comment --skill code-commentأضف تعليقات إلى التعليمات البرمجية وفقًا لاتفاقيات اللغة. يُستخدم عندما يطلب المستخدم تعليقات أو وثائق أو شرحًا للكود (على سبيل المثال، إضافة تعليقات، توثيق هذا، التعليق على هذا). المصدر: homestylew/code-comment.
افتح الطرفية أو أداة سطر الأوامر لديك مثل Terminal أو iTerm أو Windows Terminal انسخ ونفّذ هذا الأمر: npx skills add https://github.com/homestylew/code-comment --skill code-comment بعد التثبيت، سيتم إعداد المهارة تلقائيا في بيئة البرمجة بالذكاء الاصطناعي لديك وتصبح جاهزة للاستخدام في Claude Code أو Cursor أو OpenClaw
https://github.com/homestylew/code-comment