deco-loader-n-plus-1-detector

Official

Detect and fix N+1 API patterns for faster SSR.

Authordecocms
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects and fixes N+1 API call patterns in Deco storefront section loaders to prevent slow SSR caused by per-product API calls.

Core Features & Use Cases

  • Detection: scans loaders for API calls inside map/forEach and flags N+1 anti-patterns.
  • Guidance: classifies endpoints and suggests batch or data-bridging strategies.
  • Fix Strategies: recommends strategies like reuse of existing product data, batch endpoints, caching, and lazy loading.

Quick Start

Run the detector on your Deco storefront loaders to identify and begin refactoring N+1 API patterns.

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: deco-loader-n-plus-1-detector
Download link: https://github.com/decocms/deco-start/archive/main.zip#deco-loader-n-plus-1-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.