mcpField
M
mfg-production-planning

mfg-production-planning

github.com/asgard-ai-platformOther24349 installsUpdated 21w ago
Repository

About mfg-production-planning

A production-planning skill for manufacturing teams, covering the hierarchy from demand through shop-floor scheduling. It combines MPS and MRP calculations with capacity checks, scheduling rules, and setup-time reduction guidance.

Key features

  1. 01Top-down planning from demand to shop floor
  2. 02MPS quantities by week
  3. 03MRP component and order timing
  4. 04Capacity checks and scheduling rules
  5. 05SMED changeover guidance

Use cases

  1. 01Create weekly plans for finished goods
  2. 02Determine material order dates and quantities
  3. 03Sequence jobs under due-date or capacity constraints

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/asgard-ai-platform/skills --skill mfg-production-planning

After installing, type/mfg-production-planningin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

examples/
sample_scenario.md
references/
demand-forecasting.md
sop-process.md

Details

From the project README

Production Planning (MPS/MRP)

Framework

IRON LAW: Plan Hierarchically — Demand → MPS → MRP → Shop Floor

Production planning flows TOP-DOWN:
1. Demand forecast / customer orders → what to make, when
2. MPS → master schedule for finished goods
3. MRP → material and component requirements (what to buy, when)
4. Shop floor scheduling → which machine, which sequence

Skipping levels (going from demand forecast directly to shop floor)
creates chaos — material shortages, capacity conflicts, missed deliveries.
Planning Hierarchy
LevelPlanHorizonGranularityDecides
StrategicS&OP (Sales & Operations Planning)12-18 monthsMonthly, product familyCapacity investments, workforce planning
TacticalMPS (Master Production Schedule)3-6 monthsWeekly, end productWhat to produce each week
OperationalMRP (Material Requirements Planning)4-12 weeksDaily, component/materialWhat to order, when, how much
ExecutionShop Floor Scheduling1-2 weeksHourly, work centerSequence, machine assignment
MPS Process
  1. Inputs: Demand forecast + customer orders + current inventory + safety stock targets
  2. Logic: For each week, calculate: Production Needed = Demand - Beginning Inventory - Scheduled Receipts + Safety Stock
  3. Output: Planned production quantities by week for each finished product
  4. Constraint: Must not exceed available capacity (rough-cut capacity planning check)
MRP Process
  1. Inputs: MPS (what to make) + BOM (Bill of Materials — what it's made of) + Inventory status + Lead times
  2. Logic: "Explode" the BOM — for each finished good, calculate when each component/material must be ordered to arrive in time
  3. Output: Planned purchase orders and production orders with dates and quantities
  4. Key calculation: Order date = Need date - Lead time
Scheduling Algorithms
AlgorithmRuleBest When
FCFS (First Come First Served)Process in order receivedLow complexity, fairness matters
SPT (Shortest Processing Time)Shortest job firstMinimize average flow time
EDD (Earliest Due Date)Most urgent due date firstMinimize late deliveries
Bottleneck-firstSchedule the constraint first, subordinate restCapacity-constrained environments (TOC logic)
SMED (Single-Minute Exchange of Die)

Reduce changeover time to increase flexibility:

  1. Separate internal setup (machine stopped) from external (can do while running)
  2. Convert internal to external where possible
  3. Streamline remaining internal steps
  4. Practice and standardize

Output Format

# Production Plan: {Product/Period}

## Demand vs Capacity
| Week | Demand | Available Capacity | Gap |
|------|--------|-------------------|-----|
| W1 | {units} | {units} | {+/-} |

## Master Production Schedule
| Week | Product A | Product B | Product C | Total |
|------|----------|----------|----------|-------|
| W1 | {units} | {units} | {units} | {units} |

## Material Requirements
| Material | Quantity | Order Date | Supplier | Lead Time |
|----------|---------|-----------|----------|-----------|
| {material} | {qty} | {date} | {supplier} | {days} |

## Scheduling
| Work Center | Mon | Tue | Wed | Thu | Fri |
|------------|-----|-----|-----|-----|-----|
| {center} | {job} | {job} | ... | ... | ... |

Gotchas

  • Forecast accuracy limits everything: MPS/MRP is only as good as the demand forecast. Track forecast accuracy (MAPE) and build safety stock proportional to forecast error.
  • Lead time variability kills plans: If supplier lead time is "2-6 weeks" (4 week variability), you need safety stock for the worst case. Reduce variability through supplier management.
  • BOM accuracy is critical for MRP: A wrong BOM means ordering wrong materials. Audit BOMs quarterly.
  • Frozen zone: The first 1-2 weeks of MPS should be "frozen" (no changes) to allow stable execution. Changes inside the frozen zone cascade chaos through the system.
  • Finite vs infinite capacity: Basic MRP assumes infinite capacity (ignores machine constraints). Always layer a capacity check (rough-cut or detailed) on top of MRP output.

References

  • For S&OP process design, see references/sop-process.md
  • For demand forecasting methods, see references/demand-forecasting.md

Comments

Markdown supported