production-scheduling
できること
このAIエージェントは、工場の生産を計画的に進めるのに役立ちます。作業の順番、それぞれの作業のタイミングを決めたうえで、異なる製品への切り替えを最適化し、全体ができるだけスムーズに進むようにします。
使う場面
- ✓同じ機械を取り合う製品を、たくさん作る必要があるとき。
- ✓機械の故障や材料の不足などの予期せぬ出来事が起き、生産の順番をすぐに変更する必要があるとき。
- ✓同じ製品を一度にまとめて大量に作るほうがよいか、さまざまな種類の製品を混ぜて作るほうがよいかを判断するとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/skills/production-scheduling/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ライン3で、モデルAを100個、モデルBを200個生産する必要があります。それぞれの最適な順番と時間を教えてください。”
毎週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.
…
よくある質問
生産における「ボトルネック」とは何ですか?
工場全体の生産速度を制限している機械や工程のことです。ボトルネックが止まると、工場全体が止まってしまいます。
「順序決定(シーケンシング)」とは何ですか?
各作業や製品を、機械上でどの順番で処理するかを決めることです。
「段取り替え(チェンジオーバー)」を最適化する理由は何ですか?
製品を別のものに切り替えるには時間がかかり、コストもかかります。最適化することで、この時間とコストを減らし、生産をより速く、より安くできます。
詳細
作者による元の説明
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エージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。