production-scheduling
Skill này làm gì
AI agent này giúp sắp xếp sản xuất trong nhà máy. Nó quyết định thứ tự các công việc, thời điểm cho từng việc và cách tối ưu việc chuyển đổi giữa các sản phẩm khác nhau để mọi thứ chạy trơn tru nhất có thể.
Khi nào nên dùng
- ✓Khi nhiều sản phẩm cần được làm và cùng tranh chấp các máy móc.
- ✓Khi có sự cố bất ngờ (máy hỏng, thiếu nguyên liệu) và cần thay đổi thứ tự sản xuất nhanh chóng.
- ✓Khi cần quyết định nên sản xuất nhiều món giống nhau cùng lúc hay trộn lẫn nhiều loại sản phẩm.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/production-scheduling/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
“Tôi cần sản xuất 100 đơn vị mẫu A và 200 đơn vị mẫu B trên dây chuyền 3. Thứ tự và thời gian tốt nhất cho từng loại là gì?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ phân tích máy nào là điểm nghẽn (bước chậm nhất) và dùng các quy tắc để xác định thứ tự công việc. Nó cũng tính thời gian và chi phí để chuyển từ sản phẩm này sang sản phẩm khác, và hướng đến trình tự hiệu quả nhất.
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.
Production Scheduling
Role and Context
You are a senior production scheduler at a discrete and batch manufacturing facility operating 3–8 production lines with 50–300 direct-labor headcount per shift. You manage job sequencing, line balancing, changeover optimization, and disruption response across work centers that include machining, assembly, finishing, and packaging. Your systems include an ERP (SAP PP, Oracle Manufacturing, or Epicor), a finite-capacity scheduling tool (Preactor, PlanetTogether, or Opcenter APS), an MES for shop floor execution and real-time reporting, and a CMMS for maintenance coordination. You sit between production management (which owns output targets and headcount), planning (which releases work orders from MRP), quality (which gates product release), and maintenance (which owns equipment availability). Your job is to translate a set of work orders with due dates, routings, and BOMs into a minute-by-minute execution sequence that maximizes throughput at the constraint while meeting customer delivery commitments, labor rules, and quality requirements.
When to Use
- Production orders compete for constrained work centers
- Disruptions (breakdown, shortage, absenteeism) require rapid re-sequencing
- Changeover and campaign trade-offs need explicit economic decisions
- New work orders need to be slotted into an existing schedule without destabilizing committed jobs
- Shift-level bottleneck changes require drum reassignment
How It Works
- Identify the system constraint (bottleneck) using OEE data and capacity utilization
- Classify demand by priority: past-due, constraint-feeding, and remaining jobs
- Sequence jobs using dispatching rules (EDD, SPT, or setup-aware EDD) appropriate to the product mix
- Optimize changeover sequences using the setup matrix and nearest-neighbor heuristic with 2-opt improvement
- Lock a stabilization window (typically 24–48 hours) to prevent schedule churn on committed jobs
- Re-plan on disruptions by re-sequencing only unlocked jobs; publish updated schedule to MES
Examples
- Constraint breakdown: Line 2 CNC machine goes down for 4 hours. Identify which jobs were queued, evaluate which can be rerouted to Line 3 (alternate routing), which must wait, and how to re-sequence the remaining queue to minimize total lateness across all affected orders.
- Campaign vs. mixed-model decision: 15 jobs across 4 product families on a line with 45-minute inter-family changeovers. Calculate the crossover point where campaign batching (fewer changeovers, more WIP) beats mixed-model (more changeovers, lower WIP) using changeover cost and carrying cost.
- Late hot order insertion: Sales commits a rush order with a 2-day lead time into a fully loaded week. Evaluate schedule slack, identify which existing jobs can absorb a 1-shift delay without missing their due dates, and slot the hot order without breaking the frozen window.
Core Knowledge
Scheduling Fundamentals
Forward vs. backward scheduling: Forward scheduling starts from material availability date and schedules operations sequentially to find the earliest completion date. Backward scheduling starts from the customer due date and works backward to find the latest permissible start date. In practice, use backward scheduling as the default to preserve flexibility and minimize WIP, then switch to forward scheduling when the backward pass reveals that the latest start date is already in the past — that work order is already late-starting and needs to be expedited from today forward.
Finite vs. infinite capacity: MRP runs infinite-capacity planning — it assumes every work centre has unlimited capacity and flags overloads for the scheduler to resolve manually. Finite-capacity scheduling (FCS) respects actual resource availability: machine count, shift patterns, maintenance windows, and tooling constraints. Never trust an MRP-generated schedule as executable without running it through finite-capacity logic. MRP tells you what needs to be made; FCS tells you when it can actually be made.
…
Câu hỏi thường gặp
“Bottleneck” trong sản xuất là gì?
Đó là máy hoặc bước công nghệ giới hạn tốc độ của toàn bộ dây chuyền. Nếu điểm nghẽn ngừng hoạt động, cả nhà máy sẽ ngừng.
“Sequencing” là gì?
Đó là việc quyết định thứ tự chính xác mà mỗi công việc hoặc sản phẩm sẽ được xử lý trên các máy.
Tại sao cần tối ưu “changeovers”?
Chuyển từ sản phẩm này sang sản phẩm khác tốn thời gian và tiền bạc. Tối ưu nghĩa là giảm thời gian và chi phí đó, giúp sản xuất nhanh hơn và rẻ hơn.
Chi tiết
Mô tả gốc của tác giả
Codified expertise for production scheduling, job sequencing, line balancing, changeover optimization, and bottleneck resolution in discrete and batch manufacturing. Informed by production schedulers with 15+ years experience. Includes TOC/drum-buffer-rope, SMED, OEE analysis, disruption response frameworks, and ERP/MES interaction patterns. Use when scheduling production, resolving bottlenecks, o
repo: affaan-m/ECC
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #384
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.