Skillpedia
برمجة عامة102k · #829

github-code-review

ما الذي تفعله

توجّه هذه المهارة الذكاء الاصطناعي في مراجعة مفصلة لتغييرات الشيفرة على GitHub، تشمل الأمان والأداء والبنية والأسلوب. وهي موجهة للمطورين الذين يريدون نظرة ثانية شاملة قبل الدمج.

متى تستخدمها

  • ✓عندما يطلب أحد مراجعة طلب سحب على GitHub قبل دمجه.
  • ✓عندما تريد فحصا للأمان والأداء في تغييرات الشيفرة.
  • ✓عندما تريد نشر ملخص على طلب سحب في GitHub.

رابط المهارة

https://github.com/ruvnet/RuView/blob/main/.claude/skills/github-code-review/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/ruvnet/RuView/blob/main/.claude/skills/github-code-review/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“راجع طلب السحب رقم 123 بحثا عن مشكلات أمنية وأداء، واترك ملخصا عليه في GitHub.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقرأ الذكاء الاصطناعي ملفات طلب السحب وفرقه عبر أداة GitHub في سطر الأوامر. ثم يمرر التغييرات عبر عدة فحوص مراجعة، ويجمع نتائجها في تقرير واحد.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

GitHub Code Review Skill

AI-Powered Code Review: Deploy specialized review agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis.

🎯 Quick Start

Simple Review

# Initialize review swarm for PR
gh pr view 123 --json files,diff | npx ruv-swarm github review-init --pr 123

# Post review status
gh pr comment 123 --body "🔍 Multi-agent code review initiated"

Complete Review Workflow

# Get PR context with gh CLI
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
PR_DIFF=$(gh pr diff 123)

# Initialize comprehensive review
npx ruv-swarm github review-init \
  --pr 123 \
  --pr-data "$PR_DATA" \
  --diff "$PR_DIFF" \
  --agents "security,performance,style,architecture,accessibility" \
  --depth comprehensive

📚 Table of Contents

<details> <summary><strong>Core Features</strong></summary> </details> <details> <summary><strong>Review Agents</strong></summary> </details> <details> <summary><strong>Advanced Features</strong></summary> </details> <details> <summary><strong>Integration & Automation</strong></summary> </details>

🚀 Core Features

Multi-Agent Review System

Deploy specialized AI agents for comprehensive code review:

# Initialize review swarm with GitHub CLI integration
PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
PR_DIFF=$(gh pr diff 123)

# Start multi-agent review
npx ruv-swarm github review-init \
  --pr 123 \
  --pr-data "$PR_DATA" \
  --diff "$PR_DIFF" \
  --agents "security,performance,style,architecture,accessibility" \
  --depth comprehensive

# Post initial review status
gh pr comment 123 --body "🔍 Multi-agent code review initiated"

Benefits:

  • ✅ Parallel review by specialized agents
  • ✅ Comprehensive coverage across multiple domains
  • ✅ Faster review cycles with coordinated analysis
  • ✅ Consistent quality standards enforcement

🤖 Specialized Review Agents

Security Review Agent

Focus: Identify security vulnerabilities and suggest fixes

# Get changed files from PR
CHANGED_FILES=$(gh pr view 123 --json files --jq '.files[].path')

# Run security-focused review
SECURITY_RESULTS=$(npx ruv-swarm github review-security \
  --pr 123 \
  --files "$CHANGED_FILES" \
  --check "owasp,cve,secrets,permissions" \
  --suggest-fixes)

# Post findings based on severity
if echo "$SECURITY_RESULTS" | grep -q "critical"; then
  # Request changes for critical issues
  gh pr review 123 --request-changes --body "$SECURITY_RESULTS"
  gh pr edit 123 --add-label "security-review-required"
else
  # Post as comment for non-critical issues
  gh pr comment 123 --body "$SECURITY_RESULTS"
fi
<details> <summary><strong>Security Checks Performed</strong></summary>
{
  "checks": [
    "SQL injection vulnerabilities",
    "XSS attack vectors",
    "Authentication bypasses",
    "Authorization flaws",
    "Cryptographic weaknesses",
    "Dependency vulnerabilities",
    "Secret exposure",
    "CORS misconfigurations"
  ],
  "actions": [
    "Block PR on critical issues",
    "Suggest secure alternatives",
    "Add security test cases",
    "Update security documentation"
  ]
}
</details> <details> <summary><strong>Comment Template: Security Issue</strong></summary>
🔒 **Security Issue: [Type]**

**Severity**: 🔴 Critical / 🟡 High / 🟢 Low

**Description**:
[Clear explanation of the security issue]

**Impact**:
[Potential consequences if not addressed]

**Suggested Fix**:
```language
[Code example of the fix]

**R

الأسئلة الشائعة

ما أجزاء الشيفرة التي تفحصها؟

تذكر المهارة فحوص الأمان والأداء والأسلوب والبنية وإمكانية الوصول.

هل تحتاج إلى أداة GitHub في سطر الأوامر؟

نعم. تستخدم المهارة الأمر gh لقراءة طلب السحب.

هل تصلح المشكلات تلقائيا؟

تنتج المهارة نتائج لتراجعها أنت. لا تعد بإصلاحات تلقائية.

التفاصيل

الوصف الأصلي من المؤلف

Comprehensive GitHub code review with AI-powered swarm coordination

repo: ruvnet/RuView

الشعبية

نجوم GitHub
102k
الترتيب
#829
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة