abc-xyz-segmentation
它能做什么
这项技能按价值(ABC)和需求稳定程度(XYZ)为你的产品排序,然后建议每组应投入多少规划精力。适合管理大量商品的库存和供应规划人员。
适用场景
- ✓当你想知道哪些产品最值得投入预测精力时。
- ✓当你需要从长长的产品清单中缩小范围,找出最重要的产品时。
- ✓当你想为每个产品匹配与其需求稳定程度相符的库存策略的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/abc-xyz-segmentation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请按销售额和需求稳定程度为我的产品清单排序,并告诉我应把规划时间集中在哪里。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体按年度价值对商品排序,测算每个商品的需求波动性,将其放入九宫格中,并为每个格子配上规划策略以及它所覆盖的价值占比。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ABC-XYZ Segmentation
Value tells you where the money is. Variability tells you whether forecasting, buffering or restructuring can work. Never output a classification without the policy consequences.
Required data
Per-SKU demand history (sku, period, qty) covering 12+ periods, plus unit value (unit_price or cost). Without unit value, ABC degrades to a volume ranking - say so and ask for prices before presenting conclusions about money.
Workflow
- ABC on annual value. Rank by annual consumption value; cumulative 80% = A, next 15% = B, rest = C. Report the actual concentration found (e.g. "15 SKUs = 80%"), not the folklore 20/80.
- XYZ on variability. CV = std/mean of period demand per SKU. Defaults: X < 0.5, Y 0.5-1.0, Z >= 1.0. These are conventions - check the CV histogram for natural breaks and state the thresholds used. SKUs with structural zero periods (intermittent) belong in Z regardless of CV arithmetic; mean-based CV understates their risk.
- Build the 9-box with SKU counts AND value share per cell. Value share is what makes managers act.
- Attach the policy per cell (adapt wording to context):
- A-X: tight forecasting pays; low buffer, frequent review, automate replenishment
- A-Y: forecast + healthy buffer; investigate variability drivers
- A-Z: do not chase forecasts - strategic buffer, lead-time negotiation, or make-to-order
- B-X / C-X: min-max autopilot; withdraw planner attention
- B-Z: buffer or longer promise dates; check if variability is self-inflicted (promotions, batching)
- C-Z: rationalization shortlist - kill, consolidate, or on-demand sourcing
- Name the reallocation. The deliverable is planner-hours and buffer money moving between cells - state explicitly which cells gain and lose attention.
- Validate. Sum of cell value shares must equal 100%; spot-check two SKUs' classifications against their raw series before presenting.
Pitfalls to check explicitly
- ABC computed on quantity while unit values vary 10x+ ranks the wrong items.
- Self-inflicted variability (order batching, month-end pushes, promotions) shows up as Z; flag it as a process fix, not a demand fact.
- Classifications rot - recommend re-running quarterly and tracking cell migrations.
- A dominant "C-Z is 60% of SKUs" finding usually signals assortment bloat, not a planning problem.
Output format
- The 9-box (counts + value share per cell)
- Policy table per occupied cell
- Attention-reallocation paragraph (from where, to where)
- Rationalization shortlist (top C-Z items by holding cost or shelf age, if data allows)
Worked example including a safety-stock stress test: https://github.com/gulmezeren2-byte/abc-xyz-inventory
Source: industrial-engineering-ai-skills by Eren Gulmez (MIT). The full method pack - entry skill, role agents, data-hygiene rules and artifact templates - lives there.
常见问题
我需要什么数据?
每个产品至少 12 个周期的需求历史,以及单价。没有单价时,结果只是销量排名。
阈值是固定的吗?
不是。这项技能使用默认阈值,检查数据中的自然分界点,并说明它所用的阈值。
它只给出标签吗?
不是。每组都附有一项策略,例如密切预测或建立安全缓冲。
详情
作者的原始描述
Segment a SKU portfolio on value (ABC) and demand variability (XYZ), produce the 9-box with a planning policy per cell, and reallocate planner attention accordingly. Use when the user mentions ABC analysis, inventory segmentation, SKU rationalization, stok segmentasyonu, envanter sınıflandırma, or asks which items deserve forecasting effort. Differentiator - ABC alone is treated as half an answer; policy lives in the value x variability combination.
热度
- GitHub 星标
- 33k
- 排名
- #8864
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。