shopify-admin-collection-reorganization

Official

Reorder collection items by stock levels

Author40RTY-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually sorting products inside a manual Shopify collection is slow and error-prone, especially when inventory changes often. This Skill automatically reorganizes collection product order so in-stock items surface first and out-of-stock items sink to the bottom.

Core Features & Use Cases

  • Inventory-based reordering: Moves every product in a manual collection based on totalInventory, optionally sorting descending (best stock first) or ascending (worst stock first).
  • Admin-free execution: Avoids navigating the Shopify admin UI by querying the collection and applying a single collectionReorderProducts mutation with complete move positions.
  • Guardrails and safety checks: Validates that the collection’s sortOrder is MANUAL, supports dry_run to preview changes, and aborts with a clear message for non-manual (smart) collections.

Quick Start

Run shopify-admin-collection-reorganization with your collection_id, set dry_run to true, choose inventory_desc, and review the computed order before executing the reorder.

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: shopify-admin-collection-reorganization
Download link: https://github.com/40RTY-ai/shopify-admin-skills/archive/main.zip#shopify-admin-collection-reorganization

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.