Ultrareview

From UitbreidenOS/UitKit · View interactive version

Ultrareview is an AI agent skill from the GitHub repository UitbreidenOS/UitKit. Deep code review using Claude Code's thorough analysis mode — security, performance, correctness, and maintainability

How to use this skill

Skill file

Ultrareview Skill

When to activate

When NOT to use

Instructions

  1. Understand context. Read the PR description, linked issues, and related code before diving into the diff.
  1. Review in layers. Go through the changes 3 times, each with a different lens:

Pass 1 — Correctness:

Pass 2 — Security:

Pass 3 — Maintainability:

  1. Categorize findings:
  1. Provide actionable feedback. For each finding:
  1. Acknowledge good patterns. Call out well-written code, clever solutions, or good test coverage.

Example

PR: "Add user search endpoint"

## Ultrareview Results

### BLOCKER
- **SQL Injection in search query** (api/users/search.js:42)
  The search term is interpolated directly into the SQL string.
  Fix: Use parameterized queries.
  ```js
  // Before (vulnerable)
  db.query(`SELECT * FROM users WHERE name LIKE '%${query}%'`)
  // After (safe)
  db.query('SELECT * FROM users WHERE name LIKE $1', [`%${query}%`])
  ```

### IMPORTANT
- **Missing rate limiting** — Search endpoints are expensive and abuse-prone.
  Add rate limiting: 10 req/min per user.
- **No pagination** — Large result sets will OOM. Add LIMIT/OFFSET with max 100 per page.

### SUGGESTION
- **Extract search logic** — The handler mixes HTTP concerns with business logic.
  Consider a `UserSearchService` class for testability.

### NIT
- Variable `q` on line 15 → rename to `searchQuery` for clarity.

### 👍 Good stuff
- Solid test coverage including empty query, special chars, and unicode.
- Good use of indexes on the search columns.

Built with UitKit · Claude Code

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.