عزز مراجعات الكود الخاصة بك باستخدام موجه AI قابل لإعادة الاستخدام لـ GPT-5

Why this prompt matters
A good PR review prompt helps developers move faster without lowering quality. It turns large diffs into clear review notes, catches risky changes earlier, and gives teams a more consistent review process.
What we use it for
Reviewing pull requests faster, spotting hidden risks, summarizing changes, and building a stronger test plan before merge.
Prompt
Act as a senior engineer reviewing this pull request. I will paste: 1. PR title and description 2. changed files 3. the git diff or key code snippets 4. any relevant product or architecture context Your task: - Summarize what changed in 4 to 6 bullet points - Identify correctness, reliability, performance, security, and maintainability risks - Flag anything that needs tests, migrations, rollout notes, or monitoring - List missing context or assumptions - Suggest the 5 most useful review comments I could leave on the PR - Propose a focused test plan with unit, integration, and edge-case coverage - End with a verdict: low risk, medium risk, or high risk, with one sentence of justification Rules: - Be specific and evidence-based - Quote or reference exact file names, functions, or diff sections when possible - Do not invent issues if the diff does not support them - Prefer concise, high-signal feedback over generic advice Return your answer in this structure: 1. Summary 2. Risks 3. Missing context 4. Suggested review comments 5. Test plan 6. Final verdict
Result
Summary: Adds retry handling to the payments client. Risks: backoff is unbounded and timeout handling is incomplete. Suggested review comment: add a maximum retry cap and verify idempotency. Test plan: timeout, retry exhaustion, duplicate charge prevention. Final verdict: medium risk.
Generated Image

مراجعات الكود ضرورية، ولكنها قد تستغرق وقتًا طويلاً. ماذا لو كان بإمكانك الاستفادة من الذكاء الاصطناعي لجعلها أكثر كفاءة وشمولية؟ لقد صممنا موجه GPT-5 قابل لإعادة الاستخدام ليعمل كمساعدك الذكي أثناء عملية مراجعة طلبات السحب.
يساعدك هذا الموجه على فهم جوهر التغييرات بسرعة، وتحديد المشكلات المحتملة، وحتى اقتراح حالات الاختبار. إنه فعال بشكل خاص عندما تزوده بفرق PR الكامل، وقائمة بالملفات التي تم تغييرها، وأي سياق ذي صلة من مشروعك.
إليك كيف يمكن لهذا الموجه الذكاء الاصطناعي أن يحول سير عمل المراجعة الخاص بك:
- اكتشاف المخاطر مبكرًا: الكشف عن الأخطاء الدقيقة، واختناقات الأداء، أو الثغرات الأمنية التي قد يتم تفويتها بخلاف ذلك.
- تلخيص التغييرات: احصل على نظرة عامة موجزة عما تم تعديله، مما يوفر عليك الوقت من البحث في كل سطر.
- تخطيط الاختبارات: تلقي اقتراحات ذكية لحالات الاختبار، مما يضمن تغطية ومتانة أفضل.
- تحسين الاتساق: الحفاظ على معايير جودة كود أعلى عبر فريقك.
من خلال دمج هذا الموجه في روتينك، لن توفر وقتًا ثمينًا فحسب، بل سترفع أيضًا الجودة الشاملة وموثوقية قاعدة الكود الخاصة بك. امنح نموذج GPT-5 الخاص بك السياق الصحيح، ودعه يساعدك في تقديم برامج أفضل وأسرع.