production-scheduling
它能做什么
这个 AI 代理可以帮你组织工厂的生产安排。它会决定各项任务的先后顺序、每项任务的时间,以及如何优化不同产品之间的切换,让整个生产过程尽可能顺畅。
适用场景
- ✓当有许多产品需要生产,并且它们要争用同一批机器时。
- ✓当突发情况(比如机器故障、物料短缺)出现,需要快速调整生产顺序时。
- ✓当你需要判断应该集中生产大量相同的产品,还是混合生产不同类型的产品时。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/production-scheduling/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要在 3 号线生产 100 件 A 型号和 200 件 B 型号。每种产品的最佳顺序和时间分别是什么?”
每周 5 个新技能,1 分钟读完。
工作原理
它会分析哪台机器是瓶颈(速度最慢的环节),并依据规则确定任务顺序。它还会计算从一种产品切换到另一种产品所需的时间和成本,力求找到最高效的排产方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
…
常见问题
生产中的“瓶颈”是什么?
瓶颈是限制整体生产速度的机器或工序环节。如果瓶颈停机,整个工厂也就跟着停下来。
什么是“排序”(sequencing)?
排序是决定每个任务或每种产品在机器上被加工的具体先后顺序。
为什么要优化“换产”(changeover)?
从一种产品切换到另一种产品需要花费时间和成本。优化就是减少这部分时间和成本,让生产更快、更省钱。
详情
作者的原始描述
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
热度
- GitHub 星标
- 280k
- 排名
- #384
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。