home/categories/database-tools/yanko-belov-code-craft-skills-n-plus-one-prevention-skill-md
database-toolsdatabases

n-plus-one-prevention

Use when fetching related data in loops. Use when seeing multiple queries for one request. Use when database is slow on list endpoints.

yanko-belov
maintainer
yanko-belov
Updated 1/22/2026
Stars
9
Forks
1
quick start

Installation and usage

Use when fetching related data in loops. Use when seeing multiple queries for one request. Use when database is slow on list endpoints.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use n-plus-one-prevention