Перейти к содержанию
Skillpedia
Код в целом48k · #4186

code-review-ai-ai-review

Что он делает

Этот инструмент помогает проверять ваш код. Он ищет ошибки и проблемы безопасности и предлагает улучшения, чтобы код стал лучше и надёжнее.

Когда использовать

  • ✓Когда вы закончили писать фрагмент кода.
  • ✓Перед тем как поделиться кодом с другими людьми.
  • ✓Когда хотите убедиться, что код безопасен и эффективен.

Ссылка на скилл

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/code-review-ai-ai-review/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/code-review-ai-ai-review/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Проверь этот код на Python на ошибки и уязвимости безопасности.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Инструмент использует другие ИИ-инструменты и средства анализа, чтобы изучить ваш код. Он проверяет известные шаблоны ошибок и проблемы безопасности, а также использует искусственный интеллект, чтобы понять контекст кода и найти более тонкие проблемы.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/scripts/ai_review.py

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

AI-Powered Code Review Specialist

You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, Claude 4.5 Sonnet) with battle-tested platforms (SonarQube, CodeQL, Semgrep) to identify bugs, vulnerabilities, and performance issues.

Use this skill when

  • Working on ai-powered code review specialist tasks or workflows
  • Needing guidance, best practices, or checklists for ai-powered code review specialist

Do not use this skill when

  • The task is unrelated to ai-powered code review specialist
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Context

Multi-layered code review workflows integrating with CI/CD pipelines, providing instant feedback on pull requests with human oversight for architectural decisions. Reviews across 30+ languages combine rule-based analysis with AI-assisted contextual understanding.

Requirements

Review: $ARGUMENTS

Perform comprehensive analysis: security, performance, architecture, maintainability, testing, and AI/ML-specific concerns. Generate review comments with line references, code examples, and actionable recommendations.

Automated Code Review Workflow

Initial Triage

  1. Parse diff to determine modified files and affected components
  2. Match file types to optimal static analysis tools
  3. Scale analysis based on PR size (superficial >1000 lines, deep <200 lines)
  4. Classify change type: feature, bug fix, refactoring, or breaking change

Multi-Tool Static Analysis

Execute in parallel:

  • CodeQL: Deep vulnerability analysis (SQL injection, XSS, auth bypasses)
  • SonarQube: Code smells, complexity, duplication, maintainability
  • Semgrep: Organization-specific rules and security policies
  • Snyk/Dependabot: Supply chain security
  • GitGuardian/TruffleHog: Secret detection

AI-Assisted Review

# Context-aware review prompt for Claude 4.5 Sonnet
review_prompt = f"""
You are reviewing a pull request for a {language} {project_type} application.

**Change Summary:** {pr_description}
**Modified Code:** {code_diff}
**Static Analysis:** {sonarqube_issues}, {codeql_alerts}
**Architecture:** {system_architecture_summary}

Focus on:
1. Security vulnerabilities missed by static tools
2. Performance implications at scale
3. Edge cases and error handling gaps
4. API contract compatibility
5. Testability and missing coverage
6. Architectural alignment

For each issue:
- Specify file path and line numbers
- Classify severity: CRITICAL/HIGH/MEDIUM/LOW
- Explain problem (1-2 sentences)
- Provide concrete fix example
- Link relevant documentation

Format as JSON array.
"""

Model Selection (2025)

  • Fast reviews (<200 lines): GPT-4o-mini or Claude 4.5 Haiku
  • Deep reasoning: Claude 4.5 Sonnet or GPT-5 (200K+ tokens)
  • Code generation: GitHub Copilot or Qodo
  • Multi-language: Qodo or CodeAnt AI (30+ languages)

Review Routing

interface ReviewRoutingStrategy {
  async routeReview(pr: PullRequest): Promise<ReviewEngine> {
    const metrics = await this.analyzePRComplexity(pr);

    if (metrics.filesChanged > 50 || metrics.linesChanged > 1000) {
      return new HumanReviewRequired("Too large for automation");
    }

    if (metrics.securitySensitive || metrics.affectsAuth) {
      return new AIEngine("claude-3.7-sonnet", {

…
Частые вопросы

Что такое 'статический анализ'?

Это похоже на корректора, который читает код, не запуская его, и ищет синтаксические ошибки, возможные баги и нарушения правил программирования.

Какие проблемы он находит?

Он может находить распространённые баги, уязвимости безопасности (то есть недостатки, которые позволяют взломать программу), проблемы производительности и предлагать способы сделать код понятнее и проще в поддержке.

Заменяет ли он проверку человеком?

Не полностью. Это отличный помощник для поиска типичных и повторяющихся проблем, но сложные решения об архитектуре или бизнес-логике всё равно требуют участия человека.

Подробности

Оригинальное описание автора

You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, C

repo: sickn33/agentic-awesome-skills

Популярность

Звёзды на GitHub
48k
Место в рейтинге
#4186
Лицензия
MIT
Обновлён
15.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы