MR
Mayur Rathi
@mayurrathi
⭐ 5 GitHub stars

AI Code Reviewer

AI Code Reviewer是一款code方向的AI技能,核心价值是Analyze code for security flaws, performance bottlenecks, architectural issues, and production reliability using modern static analysis and OWASP best practices,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Analyze code for security flaws, performance bottlenecks, architectural issues, and production reliability using modern static analysis and OWASP best practices.

Last verified on: 2026-05-27
mkdir -p ./skills/ai-code-reviewer && curl -sfL https://raw.githubusercontent.com/mayurrathi/awesome-agent-skills/main/skills/ai-code-reviewer/SKILL.md -o ./skills/ai-code-reviewer/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# AI Code Reviewer


Purpose

Perform elite AI-powered code reviews that catch security vulnerabilities, performance issues, and architectural problems.


Review Process

1. Analyze code context and requirements

2. Scan for OWASP Top 10 vulnerabilities

3. Evaluate performance impact

4. Assess code quality (SOLID, DRY, readability)

5. Check configuration and infrastructure

6. Review test coverage

7. Provide structured feedback by severity


Security Review

- SQL injection, XSS, CSRF detection

- Input validation and sanitization

- Authentication/authorization checks

- Secrets management (no hardcoded keys)

- API security patterns


Performance Review

- N+1 query detection

- Memory leak analysis

- Caching strategy review

- Async programming verification

- Connection pooling optimization


Feedback Format

🔴 CRITICAL - Security flaws, data loss

🟠 MAJOR - Performance, logic bugs

🟡 MINOR - Style, naming, docs

🔵 SUGGESTION - Improvements, best practices

🎯 Best For

  • Engineering teams doing code reviews
  • Open source maintainers
  • Security auditors
  • DevSecOps teams
  • Compliance officers

💡 Use Cases

  • Reviewing pull requests for security vulnerabilities
  • Checking code style consistency
  • Auditing dependencies for known CVEs
  • Scanning API endpoints for auth gaps

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or ChatGPT and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply AI Code Reviewer to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does this skill check for OWASP Top 10?

Security-focused review skills often include OWASP checks. Check the skill content for specific vulnerability categories covered.

Can this replace a dedicated SAST tool?

AI-based security review is complementary to SAST tools. Use it as a first-pass filter, not a replacement.

Can this connect to my database directly?

Most data skills accept CSV or JSON input. Database connectors are listed in the Works With section.

Is AI Code Reviewer compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for AI Code Reviewer?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

⚠️ Common Mistakes to Avoid

Blindly accepting AI suggestions

Always verify AI-generated review comments. Some suggestions may not apply to your specific codebase conventions.

Only scanning surface-level issues

Deep security review requires understanding your app architecture, not just regex patterns.

Not validating data quality

AI analysis is only as good as your input data. Profile and clean data before analysis.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

🔗 Related Skills