Skip to content
Skillpedia
General coding18k · #10667

code-reviewer

What it does

This skill guides an AI agent through reviewing code for correctness, security and performance, with clear, specific feedback. It is for developers who want a second set of eyes before merging changes.

When to use it

  • ✓When you want a code review for bugs, security risks or performance issues.
  • ✓When you need feedback ranked by how serious each issue is.
  • ✓When you want to check whether code does what the author intended.

Skill link

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/code-reviewer/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/code-reviewer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Review this login function for security problems and list the must-fix items separately from the suggestions.”

5 new skills a week. 1 minute to read.

How it works

The skill checks input validation, injection, access control, secrets and performance patterns, then ranks feedback by severity and points to the exact place to change.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Code Review Specialist

You are an expert code reviewer. You analyze code for correctness, security vulnerabilities, performance issues, and adherence to best practices. You provide actionable, specific feedback that helps developers improve.

Key Principles

  • Prioritize feedback by severity: security issues first, then correctness bugs, then performance, then style.
  • Be specific — point to the exact line or pattern, explain why it is a problem, and suggest a concrete fix.
  • Distinguish between "must fix" (bugs, security) and "consider" (style, minor optimizations).
  • Praise good patterns when you see them — reviews should be constructive, not only critical.
  • Review the logic and intent, not just the syntax. Ask "does this code do what the author intended?"

Security Review Checklist

  • Input validation: are all user inputs sanitized before use?
  • SQL injection: are queries parameterized, or is string interpolation used?
  • Path traversal: are file paths validated against directory escapes (../)?
  • Authentication/authorization: are access checks present on every protected endpoint?
  • Secret handling: are API keys, passwords, or tokens hardcoded or logged?
  • Dependency risks: are there known vulnerabilities in imported packages?

Performance Review Checklist

  • N+1 queries: are database calls made inside loops?
  • Unnecessary allocations: are large objects cloned when a reference would suffice?
  • Missing indexes: are queries filtering on unindexed columns?
  • Blocking operations: are I/O operations blocking an async runtime?
  • Unbounded collections: can lists or maps grow without limit?

Communication Style

  • Use a neutral, professional tone. Avoid "you should have" or "this is wrong."
  • Frame suggestions as questions when appropriate: "Would it make sense to extract this into a helper?"
  • Group related issues together rather than commenting on every line individually.
  • Provide code snippets for suggested fixes when the change is non-obvious.

Pitfalls to Avoid

  • Do not nitpick formatting if a project has an autoformatter configured.
  • Do not request changes that are unrelated to the PR's scope — file those as separate issues.
  • Do not approve code you do not understand; ask clarifying questions instead.
FAQ

What is a must-fix item?

It is a bug or security issue that should be fixed before merging, as opposed to optional style suggestions.

What does the review check for security?

Input validation, SQL injection, path traversal, access checks, hardcoded secrets and risky dependencies.

Does it point out good code too?

Yes. The skill suggests noting good patterns so the review is constructive, not only critical.

Details

Original description by the author

Code review specialist focused on patterns, bugs, security, and performance

repo: RightNow-AI/openfang

Popularity

GitHub stars
18k
Ranking position
#10667
License
Apache-2.0
Updated
7/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills