mes-incident-faq

MES incident practical FAQ solution generator. Based on COSTA prompt engineering, it automatically generates a practical FAQ document with A/B/C three-level solutions when the user describes an MES exception scenario and industry context. Covers three methodologies: synchronous retry, asynchronous queue, and bulk fallback. Applicable to manufacturing industries such as automotive parts, food processing, electronic assembly, and pharmaceuticals. Example trigger words: MES exception, MES failure, system error, interface timeout, data callback failure, MES error, work order exception, MES solution, MES FAQ.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mes-incident-faq" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0be89888c1b0bbd8c3bea6f0654a13c28214873a5714f28c0c4c46efe664fa00. Verify the upstream source and version against https://skillhub.cn/skills/user_58fad8c3/mes-incident-faq before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

MES incident practical FAQ solution generator. Based on COSTA prompt engineering, it automatically generates a practical FAQ document with A/B/C three-level solutions when the user describes an MES exception scenario and industry context. Covers three methodologies: synchronous retry, asynchronous queue, and bulk fallback. Applicable to manufacturing industries such as automotive parts, food processing, electronic assembly, and pharmaceuticals. Example trigger words: MES exception, MES failure, system error, interface timeout, data callback failure, MES error, work order exception, MES solution, MES FAQ.

0 Downloads

Introduction source: third_party · user_58fad8c3 · 1.0.2 Reference

SkillPi interpretation

Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: mes-incident-faq
description: >-
  MES 系统异常事件实战 FAQ 解决方案生成器。基于 COSTA 提示词工程,当用户描述 MES 异常场景和行业上下文时,
  自动生成含 A/B/C 三级方案的实战 FAQ 文档。覆盖同步重试、异步队列、批量兜底三种方法论,
  适用于汽车零部件、食品加工、电子装配、制药等制造行业。
  触发词:MES异常、MES故障、系统异常、接口超时、数据回传失败、MES报错、工单异常、MES解决方案、MES FAQ。
description_zh: >-
  MES 系统异常事件处理 Skill。基于 COSTA 提示词模板,为制造行业 MES 异常场景
  自动生成分级实战 FAQ 解决方案。触发词:MES异常、接口超时、数据回传失败、MES解决方案。
agent_created: true
version: 1.0.0

MES 异常事件实战 FAQ 生成器

基于 COSTA 提示词工程 x 三级分级方法论 x 多行业适配

When to Use

以下任一条件满足时触发本 Skill:

条件类型 触发词 说明
异常描述 MES异常、MES故障、系统异常、MES报错、MES宕机 直接描述 MES 异常状态
场景具体 接口超时、数据回传失败、工单同步失败、ERP对接异常、物料追溯异常 描述具体故障场景
需求操作 MES解决方案、MES FAQ、MES排故、MES应急处理、MES故障排查 用户寻求解决方案
行业+异常 汽车零部件 MES异常、食品加工 MES报错、制药 MES数据丢失 带行业上下文的异常

核心能力

能力 说明 交付物
场景还原 1-2 句代入式描述,让读者立即进入角色 FAQ 文档第 1 章
方案分级 A/B/C 三级方案(实时→异步→批量),含技术要点 FAQ 文档第 2-4 章
四维对比 同步方式、适用场景、优点、缺点对比表 FAQ 文档第 3 章
选型推荐 按行业/场景给出推荐矩阵(至少 3 种行业) FAQ 文档第 5 章
金句总结 <=15 字原则提炼 FAQ 文档第 6 章

工作流程

第一步:解析异常场景与行业上下文

从用户输入中提取以下要素:

  1. 异常场景描述 — 发生了什么故障(如"MES 和 ERP 之间接口超时")
  2. 行业上下文 — 什么制造行业(如"汽车零部件"、"食品加工")
  3. 影响范围(可选) — 影响了哪些业务(如"产线报工"、"物料追溯")

门禁检查:必须至少提取出「异常现象」和「行业」两个要素。

  • 如果行业缺失,默认按「通用制造业」处理,并在选型建议中提示补充行业信息。
  • 如果异常场景描述过于模糊(如仅说"系统有问题"),主动追问用户补充具体故障现象。

第二步:加载 COSTA MES 提示词模板

加载 references/costa-mes-template.md,获取完整的 COSTA 五层模板。

该模板包含:

  • C — 角色设定:固定为制造企业 IT 运维专家,不可修改
  • O — 目标定义:变量槽位,用第一步提取的要素填充
  • S — 步骤拆解:固定 6 步流程
  • T — 输出模板:固定 Markdown 格式
  • A — 验收标准:固定检查项

第三步:应用 COSTA 生成完整 FAQ

将用户输入填入模板各槽位,按以下映射执行:

COSTA 层 操作
C — 角色 固定加载,不做修改
O — 目标 填入:异常场景={用户描述} + 行业上下文={用户提供} + 影响范围={提取或标注待确认}
S — 步骤 严格按模板 6 步执行:场景还原 -> 方案分级 -> 对比表 -> 操作流程 -> 选型建议 -> 金句收尾
T — 输出 严格按模板 Markdown 格式输出,必须包含 [TOC] 目录
A — 验收 生成完成后对照验收标准逐项检查

第四步:质量自检与修正确认

对照 references/output-checklist.md 中的验收标准逐项检查:

必达标准(缺一不可):

  • [ ] 方案数量:必须包含 A/B/C 三个方案
  • [ ] 每方案步骤:4-7 步
  • [ ] 方案对比表:包含「同步方式、适用场景、优点、缺点」四列
  • [ ] 行业选型:至少覆盖 3 种行业
  • [ ] 金句字数:<=15 字
  • [ ] 输出格式:Markdown,含 TOC、表格、编号步骤、引用块

门禁:任一必达标准未达标,必须修正后重新检查,达标后方可输出。

第五步:保存文件并交付

文件命名规则:

{行业}_{故障模块}_FAQ解决方案.md

示例:

  • 汽车零部件_ERP接口超时_FAQ解决方案.md
  • 食品加工_工单同步失败_FAQ解决方案.md
  • 通用制造_物料追溯异常_FAQ解决方案.md(行业缺失时使用)

保存位置:当前工作目录根目录。

格式要求:

  • 文件开头必须包含 [TOC] 目录标记
  • 使用 Markdown 表格、编号列表、引用块
  • 文件名中的行业和故障模块用下划线分隔

交付:使用 deliver_attachments 交付 Markdown 文件,同时附简短摘要卡片。

输出规范

文件命名

{行业}_{故障模块}_FAQ解决方案.md

必须包含 TOC

每个输出的 Markdown 文件开头必须包含:

## 目录

- [一、场景还原](#一场景还原)
- [二、方案分级](#二方案分级)
- [三、方案对比表](#三方案对比表)
- [四、操作流程](#四操作流程)
- [五、选型建议](#五选型建议)
- [六、原则总结](#六原则总结)

摘要卡片格式

交付文件时附带以下摘要:

📋 {异常场景} FAQ 解决方案
🏭 行业:{行业上下文}
⭐ 推荐方案:{方案X}
📁 文件:{文件路径}

三级方法论速查

方案 同步方式 实时性 成本 技术特征 适用场景
A 方案 实时同步 + 智能重试 秒级 高 指数退避、熔断器、幂等设计 核心工单、产线停线
B 方案 异步消息队列 + 延迟处理 分钟级 中 死信队列、消息去重、延迟投递 非实时报表、批次数据
C 方案 批量文件 + 定时重传 + 人工确认 小时级 低 文件校验码、对账机制 历史数据、审计日志

行业适配速查

行业 核心痛点 推荐方案 关键约束
汽车零部件 JIT 节拍压力、全链追溯 A 方案为主 IATF 16949 系统可用性 >=99.5%
食品加工 批次追溯、效期管理 B 方案为主 召回时间窗口 <=4 小时
电子装配 高速产线、BOM 复杂 A+B 混合 秒级数据一致性
制药 GMP 合规、审计追踪 A 方案为主 21 CFR Part 11 电子签名/审计日志
快消品 多 SKU、高频换线 B+C 混合 低成本优先

References 索引

文件 内容 何时加载
references/costa-mes-template.md 完整 COSTA MES 提示词模板(含所有槽位和固定标记) 生成 FAQ 时必须加载
references/method-framework.md 三级方法论详解 + 行业合规约束 + 技术栈速查 需要方法论参考或合规判断时
references/output-checklist.md 输出质量自检清单 + 常见错误修正 第四步自检时

版本: 1.0.0 | 类型: Task(单一任务型) 基于 COSTA 提示词工程,融合「同步重试 -> 异步队列 -> 批量兜底」三级兜底方法论

Current listing version

1.0.2

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向制造行业 MES 异常事件,提供 A/B/C 三级实战解决方案,实用性强
  • 覆盖汽车零部件、食品加工、电子装配、制药等多行业,适配性高
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含异常描述、具体场景、需求操作及行业组合,边界清晰
Structure and Standards90/100

Highlights

  • 五步流程清晰,含门禁检查与出口条件,示例完整,frontmatter 规范
Execution Reliability88/100

Highlights

  • 基于 COSTA 提示词模板,参数映射明确,质量自检清单确保输出达标
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.