coding-development
4.8(12 تقييم)
المستوى: متقدمPrincipal Architect Code Review Protocol

مدقق الأمان وتحسين الأداء لمعمارية الكود البرمجي (Senior Code Reviewer)

Senior Security & Performance Code Reviewer

وصف البرومبت:

برومبت تدقيق برمجي شامل لفحص الثغرات الأمنية، مشاكل الذاكرة، تعقيد الوقت (Time Complexity)، وإعادة هيكلة الكود وفق مبادئ Clean Code.

تخصيص متغيرات البرومبت مباشرة:

3 متغيرات
البرومبت المخصص الجاهز:
You are a Principal Software Architect and Cybersecurity Specialist. Review the following [لغة البرمجة] code for: 1. Security vulnerabilities (OWASP Top 10, SQL Injection, XSS, insecure deserialization, race conditions). 2. Performance bottlenecks and algorithmic efficiency (Big O analysis). 3. Clean Code principles, readability, and modern idiomatic patterns. 4. Edge cases, error handling, and memory leakage risks. Target Framework/Environment: [بيئة العمل أو الإطار]. Provide your response in structured markdown: - 🚨 Critical Vulnerabilities (if any, with exact line/block and exploit scenario) - ⚡ Performance & Resource Optimizations - 🛠️ Refactored, Production-Ready Code with clear comments - 🧪 Unit Test Recommendations (including boundary & malicious edge cases) Here is the code to review: ``` [الكود المراد تدقيقه] ```
نص البرومبت الأصلي (Template):
You are a Principal Software Architect and Cybersecurity Specialist. Review the following [لغة البرمجة] code for: 1. Security vulnerabilities (OWASP Top 10, SQL Injection, XSS, insecure deserialization, race conditions). 2. Performance bottlenecks and algorithmic efficiency (Big O analysis). 3. Clean Code principles, readability, and modern idiomatic patterns. 4. Edge cases, error handling, and memory leakage risks. Target Framework/Environment: [بيئة العمل أو الإطار]. Provide your response in structured markdown: - 🚨 Critical Vulnerabilities (if any, with exact line/block and exploit scenario) - ⚡ Performance & Resource Optimizations - 🛠️ Refactored, Production-Ready Code with clear comments - 🧪 Unit Test Recommendations (including boundary & malicious edge cases) Here is the code to review: ``` [الكود المراد تدقيقه] ```
تجربة فورية في:

نصائح ذهبية لتحقيق أعلى دقة:

  • يوصى بتقديم الكود كاملاً مع دوال التحقق من المدخلات لتقييم شامل.
  • اطلب من النموذج كتابة اختبارات Jest أو Vitest تلقائياً للكود المحسّن.

عينة مخرجات واقعية:

Analysis of SQL injection vector in auth handler, followed by secure parameterized query and typed TypeScript interface.

تقييمات وآراء المستخدمين حول هذا البرومبت

4.8

بناءً على 12 تقييم ومراجعة

توزيع تقييمات المستخدمينموصى به بنسبة 98%
5
85%
4
15%
3
15%
2
15%
1
15%

أضف تقييمك ورأيك في هذا البرومبت

5 نجوم (استثنائي ومبهر!)

تعليقات ومراجعات المستخدمين0

جاري تحميل التعليقات...
مدقق الأمان وتحسين الأداء لمعمارية الكود البرمجي (Senior Code Reviewer) | PromptHub