cp-generator

Generates control plans that comply with the AIAG CP-1 (2024) standard, for creating sample/prototype, pilot, or mass-production control plans and for preparing process quality control documents. Trigger scenarios include control plans, CP forms/files, AIAG control plans, sample/pilot/production control plans, process quality control, control plan templates, APQP/PPAP control plans, new-product quality control, Control Plan/CP-1, and safe-launch control plans.

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 "cp-generator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-23df09a397cab1c81cefa7c744d8fbde5c4f265a2576215cc51b01ddf5e052dc. Verify the upstream source and version against https://skillhub.cn/skills/user_2241deda/cp-generator 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

Generates control plans that comply with the AIAG CP-1 (2024) standard, for creating sample/prototype, pilot, or mass-production control plans and for preparing process quality control documents. Trigger scenarios include control plans, CP forms/files, AIAG control plans, sample/pilot/production control plans, process quality control, control plan templates, APQP/PPAP control plans, new-product quality control, Control Plan/CP-1, and safe-launch control plans.

0 Downloads

Introduction source: third_party · user_2241deda · 1.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "cp-generator"
description: "生成符合AIAG CP-1(2024版)标准的控制计划;当用户需要创建样件/试生产/量产控制计划或编制过程质量控制文件时使用。触发场景包括:控制计划、CP表格、CP文件、AIAG控制计划、样件控制计划、试生产控制计划、量产控制计划、过程质量控制、控制计划模板、CP模板、APQP控制计划、PPAP控制计划、新产品质量控制、过程控制文件、Control Plan、CP-1、safe launch控制计划、安全投产控制计划"

CP控制计划生成器

生成符合AIAG CP-1(2024版)标准的控制计划。不是填空题,是真正的过程控制文件——每个控制方法必须具体到"用什么设备/怎么检/谁负责",每个反应计划必须具体到"停线/隔离/通知谁"。

两种模式

快速模式

用户只说了"帮我做个控制计划"或只给了少量信息时,直接生成一份结构完整的控制计划框架,用合理默认值填充,关键位置标注【待填写】。用户可以在此基础上修改补充。

触发条件:用户信息不全但不想被反复追问,或明确要求"先给个模板""快速生成"。

详细模式

按步骤收集完整信息后生成。信息充分时优先走详细模式。

详细模式工作流程

步骤1:信息收集(一次性问完,不反复追问)

需要的信息,按优先级排列:

必填(缺任何一个才追问):

  1. 产品名称/零件号
  2. 控制计划阶段:样件/试生产/量产(三选一)
  3. 过程步骤列表(至少3步)

选填(没给就用合理默认值,不追问): 4. 零件描述/图号版本 → 默认"待填写" 5. 关键特性清单 → 根据工序自动推荐 6. 特殊特性分类(KC/SC/S)→ 根据工序自动标注建议 7. 传递特性(PTC) → 不涉及则留空 8. 安全投产要求 → 不涉及则留空 9. 顾客/供应商 → 默认"待填写"

信息不足时的处理原则:一次性列出缺失的必填项,给出填写示例,不再二次追问。如果用户只给了部分信息,用快速模式生成框架。

步骤2:生成控制计划表头

字段 内容
零件编号 [用户提供]
零件描述 [用户提供或"待填写"]
阶段 [样件/试生产/量产]
顾客 [用户提供或"待填写"]
供应商 [用户提供或"待填写"]
编制日期 [当前日期]
版本 [默认:01]

步骤3:生成控制计划主体

过程编号 过程名称 机器/工装 特性编号 产品特性 过程特性 特殊特性分类 样本容量/频率 控制方法 反应计划

控制方法选择逻辑:

按优先级从高到低选择,优先选排名靠前的:

  1. 防错:安全特性(S)、关键特性(KC)的首选
  2. 全检:试生产阶段的默认选择、重要特性(SC)
  3. SPC:量产阶段的关键特性、需监控稳定性的参数
  4. 抽检:量产阶段的一般特性

反应计划选择逻辑:

  1. 隔离:发现不合格品的第一行动——标识、移至红区、记录
  2. 评审:分析原因和影响范围
  3. 调整:纠正过程参数
  4. 升级:超出能力时通知管理层/客户

步骤4:行业工序预设模板

当用户提到以下工序时,自动加载对应预设检查项和控制方法:

冲压工序:落料→成型→冲孔→翻边

  • 关键控制:冲压压力、模具间隙、材料厚度
  • 常用控制方法:SPC监控尺寸 + 首末件检验
  • 常见反应:尺寸超差→停机→调整模具→首件验证

焊接工序:点焊→弧焊→激光焊

  • 关键控制:焊接电流/电压、焊点直径、焊接强度
  • 常用控制方法:全检焊点(试生产) + 抽检撕裂试验(量产)
  • 常见反应:虚焊/脱焊→隔离→工艺评审→调整参数

涂装工序:前处理→底漆→面漆→烘烤

  • 关键控制:膜厚、色差、附着力
  • 常用控制方法:膜厚仪抽检 + 色差仪比对
  • 常见反应:色差超限→隔离→调漆参数评审

总装工序:预装→主装→扭矩→功能测试

  • 关键控制:扭矩值、防错装置、功能参数
  • 常用控制方法:扭矩扳手全检 + 防错装置验证
  • 常见反应:扭矩超差→停线→重新拧紧→验证

检验工序:来料检→过程检→终检→出货检

  • 关键控制:量具精度、检验标准、判定准则
  • 常用控制方法:量具全检 + AQL抽检
  • 常见反应:误判→隔离→量具校验→重新检验

用户提到的工序不在以上5类时,根据该工序特点自行推导生成。

步骤5:PFMEA联动

当用户同时需要PFMEA和控制计划时,或提到"FMEA""失效模式"时:

  1. 先确认过程步骤一致——CP和PFMEA的过程编号/名称必须对应
  2. 从PFMEA高风险项推导控制方法——AP=H/M的失效模式必须在CP中有对应控制
  3. 从PFMEA现行控制推导——CP控制方法必须包含PFMEA的探测控制
  4. 从PFMEA建议措施推导——CP反应计划必须落实PFMEA的建议措施
  5. 生成一致性检查清单

一致性检查清单(自动生成):

  • [ ] CP中所有过程步骤是否在PFMEA中存在
  • [ ] PFMEA中AP=H/M的项目是否在CP中有加严控制
  • [ ] CP控制方法是否覆盖PFMEA的探测控制
  • [ ] 反应计划是否落实PFMEA建议措施
  • [ ] 特殊特性标注是否一致

步骤6:质量检查(量产阶段必做)

检查项 是/否 备注
所有特殊特性是否已包含控制方法
控制方法是否与FMEA中的探测方法一致
反应计划是否明确具体且可执行
传递特性(PTC)是否已追溯和控制
防错装置是否已验证有效
样本容量和频率是否合理
安全投产期控制措施是否完整(如适用)

步骤7:输出格式

根据用户需求选择:

  • Markdown表格:默认格式,适合快速查看和复制
  • Excel文件:用户要求时生成.xlsx,适合编辑和打印
  • Word文件:用户要求时生成.docx,适合正式交付

生成文件时,文件名格式:CP_[阶段]_[零件号]_[日期].xlsx

补充说明生成规则

控制方法详细说明

为每个控制方法生成简要说明,格式:

  • 防错:采用[具体防错装置],如[位置传感器/计数器/防呆工装],确保[防止的错误类型]
  • 全检:由[检验员/自动检测设备]进行[100%检验/关键尺寸全检],使用[检具/测量设备]
  • 抽检:采用AQL[数值]抽样标准,样本容量[数值],频率[每小时每班/每班次]
  • SPC:使用[X-R图/P图]监控,控制限[数值],频率[每小时/每班]

反应计划详细说明

为每个反应计划生成具体行动,格式:

  • 隔离:标识并隔离[不合格品批号/数量],放置于[红区/不合格品区],填写[不合格品报告]
  • 评审:由[质量工程师/工艺工程师]评审不合格原因,分析是否涉及[其他批次/相似产品]
  • 调整:调整[设备参数/工装],重新[首件检验/过程验证],记录[调整参数]
  • 升级:在[超出能力/重复发生]时,通知[质量经理/项目经理],启动[8D报告/纠正预防措施]

边界情况

  • 用户只说"帮我做个CP"没给任何信息 → 快速模式生成框架
  • 用户给了多个产品 → 每个产品单独一份CP,不要合并
  • 用户说"根据FMEA生成CP" → 走PFMEA联动流程
  • 用户要求增加/删除检查项 → 直接调整,不重走全流程
  • 用户问"CP和PFMEA有什么关系" → 说明联动逻辑,建议一起做

专业术语要求

使用AIAG标准术语,不要用俗语替代:

  • "控制方法"而非"检验方法"
  • "反应计划"而非"纠正措施"
  • "特殊特性"而非"关键参数"
  • "防错"而非"防呆"(CP-1用error proofing)
  • "传递特性"而非"流转特性"

资源索引

需要了解CP-1标准的详细字段定义、控制方法类型、反应计划类型、特殊特性分类、PTC、防错确认、安全投产时,读取 references/aiag-cp1-standard.md

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决制造业质量控制核心痛点,符合AIAG CP-1(2024版)行业标准
  • 支持样件/试生产/量产全阶段控制计划生成,覆盖冲压/焊接/涂装/总装/检验五大工序模板
  • 提供快速模式与详细模式双路径,适应不同信息完整度场景
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含中英文术语、各阶段类型、相关标准(APQP/PPAP)
  • 边界清晰,明确区分控制计划与其他质量管理文档
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例
  • frontmatter完整,单文件≤500行,结构规范
Execution Reliability88/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
  • 不可逆操作有确认机制,支持PFMEA联动一致性检查
Evidence Verifiability (mean of the first four)91/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.

Not specified in the source documentation.

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