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.
Detects N+1 query problems in PHP code. Finds queries in loops, missing eager loading, lazy loading abuse, relationship traversal issues.
Quickly install detect-n-plus-one AI skill to your development environment via command line
Source: dykyi-roman/awesome-claude-code.
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
Stable fields and commands for AI/search citations.
npx skills add https://github.com/dykyi-roman/awesome-claude-code --skill detect-n-plus-oneDetects 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
https://github.com/dykyi-roman/awesome-claude-code