This is a structured code reviewer that checks diffs and files against a specific checklist: OWASP Top 10 vulnerabilities, error handling, complexity, naming conventions, and performance issues. It outputs findings in three severity tiers (critical, warning, suggestion) with line references and concrete fixes, which is helpful when you want consistent review criteria across PRs. The format is opinionated but clear, and it'll catch the obvious stuff like SQL injection or missing input validation. Good for teams that want a baseline check before human review, though it's only as thorough as Claude's analysis in the moment. Works on pull requests, merge requests, or any code diff you throw at it.

GitHub stars
2.8K
last updated
May 28, 2026

Install

$ npx -y skills add open-gitagent/opengap --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Files

Code Review

Instructions

When reviewing code:

  1. Read the full diff or file provided
  2. Check for security vulnerabilities (OWASP Top 10)
  3. Evaluate error handling completeness
  4. Assess code complexity and readability
  5. Verify naming conventions and code style
  6. Look for performance issues
  7. Check for proper input validation

Output Format

## Review Summary
[1-2 sentence overview]

## Findings

### CRITICAL
- [Finding with line reference and fix]

### WARNING
- [Finding with line reference and fix]

### SUGGESTION
- [Finding with line reference and fix]

## What's Done Well
- [Positive observations]

Example Finding

### CRITICAL
- **Line 42**: SQL injection vulnerability — user input concatenated directly into query string.
  Fix: Use parameterized queries instead of string concatenation.
  ```python
  # Before (vulnerable)
  cursor.execute(f"SELECT * FROM users WHERE id = {user_id}")
  # After (safe)
  cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,))

Sponsors

Details

Repository
github.com/open-gitagent/opengap
Categories
Security, Git & Pull Requests, Code Review & Quality, Debugging
License
MIT
First seen
Jun 11, 2026

More from open-gitagent/opengap

All 18

Recommended

More Security
1telagod avatarbuilding-agent-systemstelagod/code-abyssAI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition0skills.sh installs
2telagod avatardefending-applicationstelagod/code-abyssApplication security defense knowledge for builders, not pentesters. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/u0skills.sh installs
3telagod avatarsecuring-cloud-and-supply-chaintelagod/code-abyss云原生与软件供应链安全防御。容器/K8s 加固、Service Mesh、CI/CD 安全、SLSA/SBOM/Sigstore、云 IAM、Secrets 管理、IaC 安全。Use when hardening Kubernetes clusters, auditing CI/CD pipelines, imple0skills.sh installs
4telagod avatarsecuring-systemstelagod/code-abyssSecurity engineering router for authorized assessments and defensive engineering. Covers penetration testing, code auditing, red/blue/purple team operations, th0skills.sh installs
5useai-pro avatarskill-vetteruseai-pro/openclaw-skills-securitySecurity-first vetting for OpenClaw skills. Use before installing any skill from ClawHub, GitHub, or other sources. Checks for red flags, permission scope, and 21.1Kskills.sh installs
6aradotso avataranthropic-cybersecurity-skillsaradotso/security-skillsanthropic cybersecurity skills1.3Kskills.sh installs