Code review prompt: paste code, get bugs first
Paste any code and get a review that lists bugs before style, in the language and focus you choose.
متى تستخدم هذا البرومبت
- Before opening a pull request.
- When inheriting unfamiliar code.
- When you want a second opinion on a tricky function.
نص البرومبت
Review the following {{VAR:language}} code for {{focus}}. Point out bugs first, then style.
{{CLIPBOARD}}{{language}}{{focus}}{{CLIPBOARD}}الكتلة {{CLIPBOARD}} تُستبدل تلقائياً بما نسخته قبل الضغط على «نسخ».
كيف تستخدمه
- انسخ البرومبت بالزر أو املأ المتغيرات أولاً.
- الصقه في ChatGPT أو Claude أو Gemini.
- عدّل النتيجة أو أعد الطلب بتغيير المتغيرات.
نصائح للاستخدام
- Set focus to one thing: security, performance, readability.
- Paste one function or file at a time for sharper answers.
- Ask it to explain each finding, not just list them.
النماذج الموصى بها
Claude
أسئلة شائعة
- Which languages does it work with?
- Any language the model knows. Set the language variable so the review uses the right idioms.