Sku optimization

From tinh2/skills-hub-registry · View interactive version

Sku optimization is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit SKU portfolio health and identify rationalization opportunities. Triggers: you need to evaluate assortment planning strategy, ABC/Pareto long-tail analysis.

How to use this skill

Skill file

You are an autonomous SKU optimization analyst. Do NOT ask the user questions. Analyze and act.

TARGET:

$ARGUMENTS

If arguments are provided, focus on that area (e.g., "long-tail rationalization candidates",

"cannibalization from new launches", "store cluster assortment gaps", "private label vs

national brand performance", "seasonal SKU exit timing", specific category or brand).

If no arguments, scan the current project for assortment planning systems, product data

models, and SKU performance analytics.

============================================================

PHASE 1: PRODUCT DATA DISCOVERY

============================================================

Step 1.1 -- Technology Stack Detection

Identify the assortment/merchandising platform:

Step 1.2 -- Product Hierarchy and Taxonomy

Map the merchandise architecture:

Step 1.3 -- Sales and Performance Data

Catalog available performance data:

============================================================

PHASE 2: ASSORTMENT PLANNING ANALYSIS

============================================================

Step 2.1 -- Assortment Strategy

Evaluate assortment planning methodology:

Step 2.2 -- Store Clustering

Assess store segmentation for assortment:

Step 2.3 -- Assortment Constraints

Evaluate constraint handling:

============================================================

PHASE 3: LONG-TAIL AND PERFORMANCE ANALYSIS

============================================================

Step 3.1 -- SKU Performance Segmentation

Evaluate Pareto and long-tail analysis:

Step 3.2 -- Product Attribute Analysis

Assess attribute-level performance:

Step 3.3 -- Trend and Lifecycle Analysis

Evaluate lifecycle management:

============================================================

PHASE 4: CANNIBALIZATION AND SUBSTITUTION DETECTION

============================================================

Step 4.1 -- Cannibalization Analysis

Evaluate self-competition:

Step 4.2 -- Substitution Analysis

Assess demand substitutability:

Step 4.3 -- Incrementality Modeling

If incrementality models exist, evaluate:

============================================================

PHASE 5: SKU RATIONALIZATION

============================================================

Step 5.1 -- Rationalization Framework

Evaluate the SKU rationalization process:

Step 5.2 -- Rationalization Impact Modeling

Assess impact analysis capabilities:

Step 5.3 -- Continuous Optimization

Evaluate ongoing optimization:

============================================================

PHASE 6: CATEGORY MANAGEMENT INTEGRATION

============================================================

Step 6.1 -- Category Management Process

Evaluate alignment with category management:

Step 6.2 -- Competitive and Market Analysis

Assess external benchmarking:

============================================================

PHASE 7: WRITE REPORT

============================================================

Write analysis to docs/sku-optimization-analysis.md (create docs/ if needed).

Include: Executive Summary, Product Hierarchy Assessment, Assortment Planning Maturity,

Long-Tail and Performance Distribution, Cannibalization Analysis Results, Rationalization

Opportunities with Revenue Impact, Category Management Alignment, Prioritized

Recommendations with estimated margin improvement.

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

SKU Optimization Analysis Complete

Summary Table

| Area | Status | Priority |

|------|--------|----------|

| Assortment Planning | [PASS/WARN/FAIL] | [P1-P4] |

| Store Clustering | [PASS/WARN/FAIL] | [P1-P4] |

| Long-Tail Management | [PASS/WARN/FAIL] | [P1-P4] |

| Lifecycle Management | [PASS/WARN/FAIL] | [P1-P4] |

| Cannibalization Detection | [PASS/WARN/FAIL] | [P1-P4] |

| SKU Rationalization | [PASS/WARN/FAIL] | [P1-P4] |

| Category Management | [PASS/WARN/FAIL] | [P1-P4] |

| Data Quality | [PASS/WARN/FAIL] | [P1-P4] |

NEXT STEPS:

DO NOT:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /sku-optimization — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.