n-plus-one-detector

Community

Spot N+1 queries with surgical precision.

AuthorFrogAi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Production-grade detection of N+1 query patterns across ORMs, GraphQL resolvers, and lazy accessors that cause excessive database traffic, with per-framework fixes and live documentation references.

Core Features & Use Cases

  • Live framework docs and framework-first detection to tailor findings to the detected stack.
  • Static pattern scans across code, templates, and resolvers to surface N+1 loops and lazy fetches.
  • Structured, cited findings with file:line locations, estimated amplification, and actionable fixes.
  • Optional runtime-log enrichment to corroborate results with actual query bursts.
  • Read-only analysis that never executes application code.
  • False-positive mitigations for test fixtures, seeds, and migrations.

Quick Start

Scan the codebase to identify N+1 query patterns and generate a structured, actionable report with framework-specific fixes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: n-plus-one-detector
Download link: https://github.com/FrogAi/Xenopus/archive/main.zip#n-plus-one-detector

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.