Skip to content
Back to skills

Query Review

ASecurity

Review an authorized codebase for ORM misuse, N+1 query patterns, authorization-after-fetch bugs, raw SQL risks, cache key collisions, and missing tenant scopes. Use for data-access layers and security-adjacent performance pitfalls.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 26, 2026
developmentsqlsecurityperformance

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add MuhammedZohaib/patchman --skill query-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Query Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Query Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/muhammedzohaib-query-review/badge)](https://www.skillsdirectory.com/skills/muhammedzohaib-query-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: query-review
description: Review an authorized codebase for ORM misuse, N+1 query patterns, authorization-after-fetch bugs, raw SQL risks, cache key collisions, and missing tenant scopes. Use for data-access layers and security-adjacent performance pitfalls.
---

# Query Review

## Focus

- missing tenant scopes
- authorization after broad fetches
- raw SQL without parameter binding
- N+1 patterns that become availability or side-channel issues
- eager loads that overexpose sensitive associations
- cache keys missing tenant or role context

## Heuristic

Treat data-access issues as security-relevant when they change scope, leak metadata, or undermine availability controls.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.