n-plus-one-detection

Community

Eliminate N+1 query performance bottlenecks.

Authormeriley
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically detects and helps you fix the N+1 query anti-pattern in your GraphQL resolvers and TypeScript code, preventing severe performance degradation.

Core Features & Use Cases

  • N+1 Detection: Identifies missing DataLoader usage, sequential queries in loops, and inefficient resolver chains.
  • Code Analysis: Scans TypeScript and GraphQL resolver files for common N+1 pitfalls.
  • Use Case: Before committing new GraphQL resolvers, run this skill to ensure all data loading is batched efficiently, preventing slow API responses and database load.

Quick Start

Run the n-plus-one-detection skill to analyze the current project's GraphQL resolvers for N+1 query issues.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-detection
Download link: https://github.com/meriley/claude-code-skills/archive/main.zip#n-plus-one-detection

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 223,000+ vetted skills library on demand.