Code review

From onfire7777/universal-ai-skills-library · View interactive version

Code review is an AI agent skill from the GitHub repository onfire7777/universal-ai-skills-library. Adversarial code review — find what will break in production, not what looks wrong in theory. Covers correctness, security, failure modes, performance, and maintainability. Use when reviewing PRs, auditing code quality, or before merging. Triggers on: 'review this code', 'code review', 'check this P

How to use this skill

Skill file

Code Review — Adversarial

Thinking Protocol

Before reviewing, answer silently:

  1. What does this code actually do vs what it claims to do?
  2. What would an attacker target here?
  3. What will break at 10x scale?

Review Dimensions (priority order)

1. Correctness

2. Security

3. Failure Modes

4. Performance

5. Maintainability

Output Format

Per finding:

[CRITICAL|HIGH|MEDIUM|LOW] file:line
Problem: [one sentence]
Impact: [what actually breaks]
Fix: [specific code change]

Rules

🚨 Recommend root cause fixes, not band-aids.

🚨 Don't list things that are fine. Only report actual findings.

🚨 If the code is solid, say so in one sentence and stop.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.