decocms/storefront-skills/deduplicate-loaders
Claude Code and agent skill by decocms/storefront-skills
- community
Checking that the SKILL.md file is still in the repository.
Finds and consolidates duplicate loaders across page JSONs to reduce redundant API calls.
Install
npx vskill@latest install decocms/storefront-skills/deduplicate-loadersSKILL.md
The main point is to reduce the number of API calls to the server.
At the JSON of the pages, you will see loaders defined.
When two equal loaders are defined, you can combine them into a single loader.
Start analyzing the JSON of the page that the user is editing.
If there is no current, page, look for home, categories and search page.
Avoid looping, ask how many pages the user wants to analyze.
Before: "page": { "__resolveType": "vtex/loaders/intelligentSearch/productListingPage.ts", "selectedFacets": [ { "key": "productClusterIds", "value": "334" } ], "count": 24 }, "seo": { "__resolveType": "vtex/loaders/intelligentSearch/productListingPage.ts", "selectedFacets": [ { "key": "productClusterIds", "value": "334" } ], "count": 24 }
After: New file: GlobalCluster334.json { "__resolveType": "vtex/loaders/intelligentSearch/productListingPage.ts", "selectedFacets": [ { "key": "productClusterIds", "value": "334" } ], "count": 24 } "page": { "__resolveType": "GlobalCluster334", }, "seo": { "__resolveType": "GlobalCluster334", }
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.claude-deco/skills/deduplicate-loaders/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/decocms/storefront-skills/deduplicate-loaders)