Langsung ke konten
Skillpedia
Analisis & spreadsheet33k · #8868

safety-stock-review

Fungsinya

Skill ini menghitung stok pengaman dan titik pemesanan ulang, lalu memeriksa apakah angka tersebut benar-benar memberikan tingkat layanan yang Anda inginkan. Skill ini untuk perencana persediaan yang membutuhkan tingkat stok yang andal, bukan tebakan teoretis.

Kapan dipakai

  • ✓Saat Anda perlu menetapkan stok pengaman atau titik pemesanan ulang untuk produk Anda.
  • ✓Ketika Anda ingin memeriksa apakah tingkat stok pengaman saat ini sudah cukup.
  • ✓Saat Anda perlu tahu berapa biaya stok untuk tingkat layanan yang lebih tinggi.

Link skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/safety-stock-review/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/safety-stock-review/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Hitung stok pengaman dan titik pemesanan ulang untuk produk saya, dan periksa apakah angka itu benar-benar memberikan tingkat layanan 95 persen.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memeriksa variabilitas permintaan, menghitung stok pengaman dengan rumus standar, lalu memutar ulang riwayat Anda untuk mengukur cycle service dan fill rate yang benar-benar tercapai.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Safety Stock Review

The textbook formula assumes roughly normal demand. Real portfolios contain SKUs where that assumption fails badly - the skill's job is to compute the number AND say where it can be trusted.

Required data

Per-SKU demand history (sku, period, qty, 12+ periods), lead time (with variability if available), and the service target. Clarify early which service the target means: cycle service (probability of no stockout per cycle) or fill rate (share of units served) - contracts usually mean fill rate, formulas usually compute cycle service.

Workflow

  1. Classify first. Compute CV and zero-period share per SKU. For CV >= 1.0 or intermittent demand, state up front that the normal-formula result will be optimistic.
  2. Compute the formula result: SS = z * sigma_d * sqrt(LT), ROP = mu_d * LT + SS (demand-period units consistent with LT). If lead time varies, use the extended form with the sigma_LT term - ignoring lead-time variance is the most common silent understatement.
  3. Stress-test empirically. Set stock at mu + SS and replay the actual history: report both achieved cycle service (share of periods fully covered) and achieved fill rate (units served / units demanded). Zero-demand periods pass cycle service for free - fill rate is the honest one on intermittent items.
  4. Show the cost of nines. SS at 90/95/98/99% targets for the SKUs in question - service targets are pricing decisions, and the curve makes that visible.
  5. Recommend per class, not globally: formula fine for X-class; formula + empirical check for Y; for Z-class recommend empirical/quantile-based sizing or a policy change (MTO, lead-time reduction) instead of a bigger z.
  6. Validate. Reconcile the stress-test denominator (total units demanded) against the raw data sum before presenting.

Pitfalls to check explicitly

  • Cycle service quoted where the contract says fill rate - a penalty clause waiting to be found.
  • Normal formula on lumpy demand understates risk precisely on the items that hurt most.
  • sigma computed over a period mixing trend or seasonality inflates SS everywhere; deseasonalize or use forecast-error sigma when a forecast exists.
  • One global service target across the whole portfolio - targets should follow item criticality and margin.

Output format

  1. Per-SKU (or per-class) table: mu, sigma, CV, class, SS, ROP, achieved cycle service, achieved fill rate
  2. Trust statement per class ("formula reliable here / optimistic here, use X instead")
  3. Cost-of-nines table for the discussed target range
  4. Assumption footnote: service definition, lead-time treatment, sigma source

Worked stress test with charts: 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.

Pertanyaan umum

Mengapa hasilnya diperiksa terhadap riwayat?

Rumus standar mengasumsikan permintaan yang stabil dan kurang lebih normal, sehingga skill ini mengujinya dengan data nyata sebelum mempercayainya.

Apa perbedaan cycle service dan fill rate?

Cycle service adalah porsi periode tanpa kehabisan stok. Fill rate adalah porsi unit yang benar-benar Anda layani.

Bagaimana jika waktu tunggu berubah?

Jika waktu tunggu bervariasi, skill ini memakai rumus yang diperluas, karena mengabaikan variabilitas tersebut sering kali meremehkan stok pengaman.

Detail

Deskripsi asli dari pembuat

Size or audit safety stock with assumption checks - the z*sigma*sqrt(LT) formula plus an empirical stress test of what it actually delivers (cycle service vs fill rate) per variability class. Use when the user mentions safety stock, emniyet stoku, emniyet stoğu, reorder point, service level, stok seviyesi belirleme. Differentiator - refuses to hand back a number without validating the demand-distribution assumptions behind it.

repo: davila7/claude-code-templates

Popularitas

Bintang GitHub
33k
Peringkat
#8868
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa