abc-xyz-segmentation
Skill này làm gì
Skill này xếp hạng sản phẩm theo giá trị (ABC) và theo mức độ ổn định của nhu cầu (XYZ), rồi đề xuất mức công sức lập kế hoạch mà mỗi nhóm xứng đáng nhận. Skill dành cho người lập kế hoạch tồn kho và chuỗi cung ứng quản lý nhiều mặt hàng.
Khi nào nên dùng
- ✓Khi bạn muốn biết sản phẩm nào đáng được dự báo kỹ nhất.
- ✓Khi bạn cần thu hẹp một danh sách sản phẩm dài xuống những cái quan trọng nhất.
- ✓Khi bạn muốn chính sách tồn kho phù hợp với mức độ ổn định nhu cầu của từng sản phẩm.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/abc-xyz-segmentation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Sắp xếp danh sách sản phẩm của tôi theo giá trị bán hàng và độ ổn định nhu cầu, rồi cho tôi biết nên tập trung thời gian lập kế hoạch vào đâu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xếp hạng các mặt hàng theo giá trị hằng năm, đo độ biến động nhu cầu của từng mặt hàng, đặt chúng vào lưới chín ô, và gắn một chính sách lập kế hoạch cho mỗi ô cùng tỷ trọng giá trị mà ô đó chiếm.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Tôi cần những dữ liệu gì?
Lịch sử nhu cầu của từng sản phẩm trong ít nhất 12 kỳ, cùng giá đơn vị. Không có giá, kết quả chỉ là bảng xếp hạng theo khối lượng.
Các ngưỡng có cố định không?
Không. Skill dùng ngưỡng mặc định, kiểm tra dữ liệu để tìm các điểm ngắt tự nhiên, và nêu rõ các ngưỡng đã dùng.
Nó chỉ đưa ra nhãn thôi sao?
Không. Mỗi nhóm đi kèm một chính sách, chẳng hạn dự báo sát sao hoặc xây dựng vùng đệm.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8864
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.