review-backend

Audit Express backend route handlers, Prisma usage, validation, and error handling.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/jacocanete/cebu-airsoft-hub --skill review-backend
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-backend
Source: https://github.com/jacocanete/cebu-airsoft-hub/tree/main/.opencode/skills/review-backend
Command: npx skills add https://github.com/jacocanete/cebu-airsoft-hub --skill review-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive backend code quality reviews for Express-based projects, enabling consistent assessments of route handlers, Prisma queries, validation, auth, and error handling to improve reliability and security.

Core Features & Use Cases

  • Systematic route-handler structure checks across server/src/routes for validation, auth, Prisma queries, and response consistency.
  • Prisma query quality assessment to detect N+1 patterns, missing selects, and authorization leaks.
  • Socket.io and auth integration review to ensure robust event handling and secure session management.

Quick Start

Review the backend by inspecting server/src/routes and server/src/socket, then generate a pass report with findings and recommended fixes.

Frequently Asked Questions about review-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit my Express backend for code quality and security issues?▼

To audit an Express backend, you review route handlers, Prisma usage, validation, and error handling to diagnose consistency and security. This process checks server/src directories to ensure proper authorization and robust error handling.

How does Prisma query review detect N+1 patterns and authorization leaks?▼

Prisma query review detects N+1 patterns by analyzing route handlers for missing selects and inefficient database calls. It identifies authorization leaks by checking how Prisma queries enforce access control within your Express application.

Can I use this backend review on my Socket.io event handlers and auth logic?▼

Yes, you can use this backend review on Socket.io event handlers and auth logic. The audit assesses Socket.io integration to ensure robust event handling and secure session management across your server/src/socket directory.

What is the best way to check Express route handlers for consistent error responses?▼

The best way to check Express route handlers for consistent error responses is to perform a systematic structure review. This audit inspects validation, auth, and Prisma queries to enforce consistent error handling per review guidelines.

Does this code review require a specific folder structure for my Express app?▼

Yes, this code review requires an Express app folder structure containing server/src. The audit specifically applies to codebases with server/src subdirectories containing routes, socket handlers, and auth logic to function correctly.