[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ6K2SSXFCFGSNPY0R6B3A":3,"skill-same:01M7EJ6K2SSXFCFGSNPY0R6B3A":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7EJ6K2SSXFCFGSNPY0R6B3A","statistical-process-control",null,">- Build individuals (I-MR) and X-bar \u002F R control charts and compute basic process capability indices (Cp, Cpk) from quality-control data. Use when monitoring product quality on a stable process. Don't use on data that is strongly autocorrelated (use time-series-process-data-analysis to diagnose fir","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fstatistical-process-control\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: statistical-process-control\ndescription: \">- Build individuals (I-MR) and X-bar \u002F R control charts and compute basic process capability indices (Cp, Cpk) from quality-control data. Use when monitoring product quality on a stable process. Don't use on data that is strongly autocorrelated (use time-series-process-data-analysis to diagnose fir\"\ncategory: chemical-engineering\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource: \"https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills\"\nsource_repository: \"jskherman\u002Fengg-skills\"\nsource_path: \"skills\u002Fstatistical-process-control\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n# Statistical Process Control\n\n## Overview\n\nPure-Python SPC helpers:\n\n- Individuals chart (I-MR) with control limits from the moving range.\n- X-bar \u002F R chart with constants from the standard SPC tables.\n- Cp and Cpk capability indices.\n\nThe chart constants (A2, D3, D4, d2, etc.) are public-domain values widely\nrepublished in textbooks; verify against your quality system's standard\nbefore regulated reporting.\n\n## Prerequisites\n\n1. `uv` available.\n\n## When to Use\n\n- Computing control limits for a new chart.\n- Estimating Cp \u002F Cpk for a stable process with bilateral spec limits.\n- Sanity-checking a vendor SPC report.\n\n## Don't use for\n\n- Autocorrelated process data (`time-series-process-data-analysis` first).\n- Left-censored or interval-censored measurements\n  (`censored-regression`).\n- Attribute (count \u002F defective) charts (p, np, c, u charts not\n  implemented).\n- Multivariate SPC (Hotelling T², MEWMA — not implemented).\n\n## Utility Scripts\n\n- `uv run scripts\u002Fspc.py individuals --values \"12.3,12.5,12.1,12.4,12.6,12.2\" --output \u002Ftmp\u002Fi.json`\n- `uv run scripts\u002Fspc.py xbar-r --subgroups \"12.3,12.5,12.1|12.4,12.6,12.2|12.2,12.4,12.3\" --output \u002Ftmp\u002Fxr.json`\n- `uv run scripts\u002Fspc.py capability --values \"12.3,...\" --usl 13 --lsl 11 --output \u002Ftmp\u002Fcap.json`\n\n## Procedure\n\n1. Confirm the process is stable (no obvious shifts, trends, autocorr).\n2. Pick chart type:\n   - Individuals (I-MR) for one measurement per sample.\n   - X-bar \u002F R for rational subgroups of 2-10.\n3. Compute control limits from a stable baseline window (Phase I); apply\n   in real time (Phase II).\n4. For capability, ensure the process is centred between spec limits;\n   compute Cp and Cpk.\n5. Flag out-of-control signals: points beyond 3-sigma, runs of 7+ on the\n   same side of the centre line, etc. (Western Electric rules).\n\n## Pitfalls\n\n- Computing Cp \u002F Cpk on a process that is not in statistical control\n  (Phase I diagnostics first).\n- Using a one-sigma limit (\"99.7% will be in tolerance\") when the\n  underlying distribution is not normal.\n- Mixing Phase I (limit estimation) and Phase II (limit application) data.\n- Treating Cpk as Cp when only one spec limit applies.\n- Ignoring the moving-range constant d2 = 1.128 for n = 2.\n- Computing X-bar \u002F R with unequal subgroup sizes (the chart constants\n  assume equal n).\n- Applying control limits to data with strong autocorrelation; the limits\n  become too tight or too wide.\n- Reporting Cp \u002F Cpk with too few data points (\u003C ~30 ideally).\n\n## Fallback Strategies\n\n- If autocorrelation is suspected, use `time-series-process-data-analysis`\n  to compute ACF; if significant, apply a pre-whitening filter (e.g. ARIMA\n  residuals) before SPC.\n- If censoring is suspected, see `censored-regression`.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fcontrol_charts.md` — chart constants and formulas.\n- Montgomery, *Introduction to Statistical Quality Control*.\n\n## Anti-Patterns\n\n- Reporting \"process out of control\" from a single point beyond 3-sigma\n  without checking measurement quality.\n- Computing Cpk on visibly bimodal data.\n- Using SPC limits to decide on a process change instead of as a\n  monitoring tool.\n","# Statistical Process Control\n\n## Overview\n\nPure-Python SPC helpers:\n\n- Individuals chart (I-MR) with control limits from the moving range.\n- X-bar \u002F R chart with constants from the standard SPC tables.\n- Cp and Cpk capability indices.\n\nThe chart constants (A2, D3, D4, d2, etc.) are public-domain values widely\nrepublished in textbooks; verify against your quality system's standard\nbefore regulated reporting.\n\n## Prerequisites\n\n1. `uv` available.\n\n## When to Use\n\n- Computing control limits for a new chart.\n- Estimating Cp \u002F Cpk for a stable process with bilateral spec limits.\n- Sanity-checking a vendor SPC report.\n\n## Don't use for\n\n- Autocorrelated process data (`time-series-process-data-analysis` first).\n- Left-censored or interval-censored measurements\n  (`censored-regression`).\n- Attribute (count \u002F defective) charts (p, np, c, u charts not\n  implemented).\n- Multivariate SPC (Hotelling T², MEWMA — not implemented).\n\n## Utility Scripts\n\n- `uv run scripts\u002Fspc.py individuals --values \"12.3,12.5,12.1,12.4,12.6,12.2\" --output \u002Ftmp\u002Fi.json`\n- `uv run scripts\u002Fspc.py xbar-r --subgroups \"12.3,12.5,12.1|12.4,12.6,12.2|12.2,12.4,12.3\" --output \u002Ftmp\u002Fxr.json`\n- `uv run scripts\u002Fspc.py capability --values \"12.3,...\" --usl 13 --lsl 11 --output \u002Ftmp\u002Fcap.json`\n\n## Procedure\n\n1. Confirm the process is stable (no obvious shifts, trends, autocorr).\n2. Pick chart type:\n   - Individuals (I-MR) for one measurement per sample.\n   - X-bar \u002F R for rational subgroups of 2-10.\n3. Compute control limits from a stable baseline window (Phase I); apply\n   in real time (Phase II).\n4. For capability, ensure the process is centred between spec limits;\n   compute Cp and Cpk.\n5. Flag out-of-control signals: points beyond 3-sigma, runs of 7+ on the\n   same side of the centre line, etc. (Western Electric rules).\n\n## Pitfalls\n\n- Computing Cp \u002F Cpk on a process that is not in statistical control\n  (Phase I diagnostics first).\n- Using a one-sigma limit (\"99.7% will be in tolerance\") when the\n  underlying distribution is not normal.\n- Mixing Phase I (limit estimation) and Phase II (limit application) data.\n- Treating Cpk as Cp when only one spec limit applies.\n- Ignoring the moving-range constant d2 = 1.128 for n = 2.\n- Computing X-bar \u002F R with unequal subgroup sizes (the chart constants\n  assume equal n).\n- Applying control limits to data with strong autocorrelation; the limits\n  become too tight or too wide.\n- Reporting Cp \u002F Cpk with too few data points (\u003C ~30 ideally).\n\n## Fallback Strategies\n\n- If autocorrelation is suspected, use `time-series-process-data-analysis`\n  to compute ACF; if significant, apply a pre-whitening filter (e.g. ARIMA\n  residuals) before SPC.\n- If censoring is suspected, see `censored-regression`.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fcontrol_charts.md` — chart constants and formulas.\n- Montgomery, *Introduction to Statistical Quality Control*.\n\n## Anti-Patterns\n\n- Reporting \"process out of control\" from a single point beyond 3-sigma\n  without checking measurement quality.\n- Computing Cpk on visibly bimodal data.\n- Using SPC limits to decide on a process change instead of as a\n  monitoring tool.\n",{"name":5,"risk":24,"source":25,"license":15,"version":26,"category":27,"description":7,"imported_at":28,"source_path":29,"source_repository":30,"disable-model-invocation":20},"low","https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills","1.0.0","chemical-engineering","2026-09-20","skills\u002Fstatistical-process-control\u002FSKILL.md","jskherman\u002Fengg-skills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fchemical-engineering\u002Fstatistical-process-control","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill statistical-process-control",{"tool":43,"command":44},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill statistical-process-control",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill statistical-process-control","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fstatistical-process-control\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcontrol_charts.md","REFERENCE","参考文档",172,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fstatistical-process-control\u002Freferences\u002Fcontrol_charts.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Fspc.py","SCRIPT","脚本",1988,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Fstatistical-process-control\u002Fscripts\u002Fspc.py",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":71},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":71},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":71},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":71},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":71},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]