Pular para o conteúdo
Skillpedia
Análise e planilhas33 mil · #8868

safety-stock-review

O que ela faz

Esta skill calcula o estoque de segurança e os pontos de reposição, depois verifica se os números realmente entregam o nível de serviço desejado. Ela é voltada para planejadores de estoque que precisam de níveis confiáveis, e não de estimativas teóricas.

Quando usar

  • ✓Quando você precisa definir o estoque de segurança ou o ponto de reposição dos seus produtos.
  • ✓Quando você quer verificar se os níveis atuais de estoque de segurança são suficientes.
  • ✓Quando você precisa saber quanto custaria em estoque um nível de serviço mais alto.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/safety-stock-review/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Calcule o estoque de segurança e os pontos de reposição dos meus produtos, e verifique se eles realmente entregam um nível de serviço de 95 por cento.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente verifica a variabilidade da demanda, calcula o estoque de segurança com a fórmula padrão e depois reproduz o seu histórico para medir o nível de serviço por ciclo e a taxa de atendimento que ele de fato alcança.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Por que verificar o resultado com o histórico?

A fórmula padrão assume uma demanda estável e aproximadamente normal, então a skill a testa com dados reais antes de confiar nela.

Qual é a diferença entre nível de serviço por ciclo e taxa de atendimento?

O nível de serviço por ciclo é a parcela de períodos sem ruptura de estoque. A taxa de atendimento é a parcela de unidades que você de fato entregou.

E se o prazo de entrega mudar?

Se o prazo de entrega variar, a skill usa uma fórmula estendida, já que ignorar essa variabilidade costuma subestimar o estoque de segurança.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
33 mil
Posição no ranking
#8868
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas