Tool
LockedIn AIسير عمل مراجعة الكود بالذكاء الاصطناعي
استخدم الذكاء الاصطناعي لاكتشاف الأخطاء وتطبيق المعايير وتوثيق الكود قبل كل دمج.
4 steps
codingdeveloper-toolsproductivity
1
الصق الكود واطلب مراجعة الأخطاء
قبل فتح PR، الصق الدوال المعدّلة في أداة الذكاء الاصطناعي واطلب منها إيجاد الأخطاء وحالات الحافة.
Example prompt
Review this code for bugs, edge cases, and potential runtime errors. List each issue with: location (function/line), severity (critical/medium/low), what can go wrong, and a suggested fix. Code: [PASTE CODE HERE]
2
تحقق من أسلوب الكود واتفاقيات التسمية
اطلب من الذكاء الاصطناعي تحديد مخالفات الأسلوب والتسميات غير المتسقة.
Example prompt
Review this code for style and consistency issues. Check: naming conventions (variables, functions, classes), function length, comment quality, magic numbers, and DRY violations. Team conventions: [DESCRIBE YOUR CONVENTIONS]. Code: [PASTE CODE HERE]
3
إنشاء التوثيق المضمّن
استخدم الذكاء الاصطناعي لكتابة تعليقات JSDoc أو docstring لكل دالة عامة.
Example prompt
Write JSDoc comments for each function in the code below. Include: one-line summary, @param with types and descriptions, @returns with type and description, @throws if applicable, and one usage example per function. Code: [PASTE CODE HERE]
4
اكتب وصف PR
الصق الفرق واترك الذكاء الاصطناعي يكتب وصف PR: ما الذي تغير، لماذا، وكيفية الاختبار.
Example prompt
Write a pull request description for the following code changes. Include: Summary (2-3 sentences on what changed and why), Changes Made (bulleted list of key changes), How to Test (step-by-step testing instructions), Screenshots (placeholder if UI changed), and any Breaking Changes. Diff: [PASTE DIFF HERE]
Ready to try LockedIn AI?
Follow this playbook with the actual tool