forecast-accuracy-review
Fungsinya
Skill ini meninjau kualitas ramalan permintaan dan apakah proses peramalan memberikan nilai tambah. Skill ini untuk perencana pasokan dan permintaan yang menginginkan angka akurasi yang jujur, bukan hanya skor model.
Kapan dipakai
- ✓Saat Anda ingin tahu seberapa akurat ramalan permintaan Anda sebenarnya.
- ✓Ketika Anda bertanya-tanya apakah alat atau proses peramalan sepadan dengan usahanya.
- ✓Saat Anda memerlukan hasil akurasi dan bias untuk setiap kelompok produk.
Link skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/forecast-accuracy-review/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Periksa seberapa akurat ramalan permintaan saya, dan beri tahu saya apakah ramalan itu lebih baik daripada hanya memakai penjualan bulan lalu.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memprofilkan pola permintaan, membandingkannya dengan tolok ukur naif, menjalankan backtest bergulir pada periode sebelumnya, dan menilai hasilnya dengan metrik seperti WMAPE dan bias.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Forecast Accuracy Review
A forecast is only worth what it adds over the free alternative: shipping last period's number. Every review must answer "how many points does this process add over naive?" before any model discussion.
Required data
Per-SKU demand history at the planning bucket (usually monthly): sku, period, qty. If evaluating an existing forecast, also the forecast values with their creation dates (to avoid hindsight leakage). 18+ periods per SKU for a meaningful backtest; flag SKUs with less.
Workflow
- Profile the demand first. Per SKU compute mean, CV and zero-period share; classify smooth / erratic / intermittent / lumpy (defaults: CV 0.5 and 1.0 boundaries, intermittency at >25% zero periods - state them, adjust to natural breaks). Accuracy expectations differ by class; never report one blended number alone.
- Set the benchmarks. Naive (last period) always; seasonal naive when 2+ full seasons exist. These are non-negotiable controls.
- Backtest rolling-origin. One-step-ahead forecasts for each of the last 6+ periods, expanding window, using only data before each origin. A single train/test split is one lucky draw - do not accept it.
- Score with honest metrics:
- WMAPE = sum(|error|) / sum(actual) - the volume-weighted headline
- Bias = sum(error) / sum(actual) - direction; a fine WMAPE with persistent bias is quietly building excess stock or stockouts
- MAPE only as a footnote, and always disclose how many zero-actual periods it dropped
- Deliver the FVA verdict. FVA = WMAPE(naive) - WMAPE(candidate), per segment and overall. Negative FVA means the process destroys value - say it plainly.
- Validate. Recompute WMAPE for one model directly from the raw backtest rows and confirm it matches the table before presenting.
Pitfalls to check explicitly
- MAPE with zeros: undefined on zero-actual periods; silently dropping them fakes precision on intermittent SKUs.
- MAPE asymmetry rewards under-forecasting (errors capped at 100% below, unbounded above).
- Aggregation mix: a good total can hide terrible A-item accuracy; always show the value-weighted cut.
- Lumpy segments: if WMAPE > ~100%, the honest recommendation is an inventory-policy answer (buffers, MTO), not a better model.
- Hindsight leakage: forecasts must predate actuals; check timestamps when auditing an existing process.
Output format
- Scoreboard table: model x (WMAPE, bias, MAPE-footnote), sorted by WMAPE
- FVA statement: "the process adds/destroys X points vs naive" - overall and per segment
- Segment table (pattern x best approach)
- Two or three recommendation sentences tied to segments, not globals
Worked example with five baseline models and charts: https://github.com/gulmezeren2-byte/forecast-accuracy-lab
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
Apa tolok ukur naif itu?
Itu hanya memakai angka periode terakhir sebagai ramalan. Skill ini mewajibkan perbandingan ini sebelum menilai model apa pun.
Mengapa tidak melaporkan satu angka akurasi?
Akurasi berbeda menurut jenis permintaan, sehingga skill ini melaporkan hasil untuk setiap kelas produk.
Berapa banyak riwayat yang saya perlukan?
Sekitar 18 periode per produk untuk backtest yang bermakna. Skill ini menandai item dengan riwayat yang lebih sedikit.
Detail
Deskripsi asli dari pembuat
Evaluate demand-forecast quality honestly - WMAPE, bias and Forecast Value Added against a naive benchmark over a rolling-origin backtest. Use when the user mentions forecast accuracy, MAPE, demand planning performance, tahmin doğruluğu, talep tahmini, or asks whether a forecasting process or tool is worth it. Differentiator - judges the process (value added vs doing nothing), not just the model.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8865
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
owasp-security
33kMengajari agent Anda panduan keamanan OWASP untuk aplikasi web, API, mobile, kontainer, dan agent AI, sehingga bisa menemukan kelemahan umum dan menyarankan perbaikan.
agent-management
33kMembiarkan agent Anda membuat, mencantumkan, menidurkan, membangunkan, mengganti nama, dan menghapus agent AI menggunakan baris perintah AI Maestro, sambil mengelola siklus hidup setiap agent.
agent-messaging
33kMembiarkan agent Anda mengirim, menerima, dan membalas pesan bertanda tangan antaragent AI, menggunakan Agent Messaging Protocol, sebagian besar di mesin Anda sendiri.
docs-search
33kMembiarkan agent Anda mencari dokumentasi kode yang dibuat otomatis untuk tanda tangan fungsi, definisi kelas, dan komentar, sehingga agent memeriksa API yang sebenarnya sebelum mengubah kode.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.