·detect-n-plus-one
</>

detect-n-plus-one

Detects N+1 query problems in PHP code. Finds queries in loops, missing eager loading, lazy loading abuse, relationship traversal issues.

7Installs·0Trend·@dykyi-roman

Installation

$npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-one

How to Install detect-n-plus-one

Quickly install detect-n-plus-one AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-one
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: dykyi-roman/awesome-claude-code.

SKILL.md

View raw

Analyze PHP code for N+1 query problems that cause excessive database queries.

| Query in loop (large dataset) | 🔴 Critical | O(n) | | Nested relationship traversal | 🔴 Critical | O(nm) | | count() in loop | 🟠 Major | O(n) | | Single lazy load | 🟡 Minor | +1 |

Detects N+1 query problems in PHP code. Finds queries in loops, missing eager loading, lazy loading abuse, relationship traversal issues. Source: dykyi-roman/awesome-claude-code.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-one Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-one
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from dykyi-roman/awesome-claude-code

Quick answers

What is detect-n-plus-one?

Detects N+1 query problems in PHP code. Finds queries in loops, missing eager loading, lazy loading abuse, relationship traversal issues. Source: dykyi-roman/awesome-claude-code.

How do I install detect-n-plus-one?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-one Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/dykyi-roman/awesome-claude-code