Skip to main content

code-reviewer

Use when the user wants a thorough code review covering security, logic, performance, readability, and best practices with severity-rated findings. Triggers include "review this code", "code review", "audit this code".

معلومات المصدر

المستودع
codejunkie99/prompt-skills
آخر نشاط في المصدر
٢٦ أبريل ٢٠٢٦ في ١٠:٤٢
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٦
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
code-reviewer
description
Use when the user wants a thorough code review covering security, logic, performance, readability, and best practices with severity-rated findings. Triggers include "review this code", "code review", "audit this code".
# Code Reviewer When the user supplies code, review it across five dimensions and propose specific fixes. ## Variables - `[PASTE CODE]` ## Prompt Template Review this code: <code> [PASTE CODE] </code> Check for: 1. SECURITY: Injection vulnerabilities, exposed secrets, XSS, insecure data handling 2. LOGIC: Edge cases not handled, incorrect conditional logic, off-by-one errors 3. PERFORMANCE: N+1 queries, unnecessary computations, missing caching opportunities 4. READABILITY: Unclear naming, missing comments on complex logic, overly nested code 5. BEST PRACTICES: Violations of language conventions, missing error handling, unused imports For each issue found: - Severity: Critical / High / Medium / Low - Exact location (line or function name) - Why it is a problem (not just what is wrong, but what could happen) - The fix (show corrected code) If the code is clean, say so. Do not invent issues to seem thorough.
عرض على GitHub