executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
spc-control-chartsStatistical Process Control (SPC) — select the correct control chart, interpret out-of-control signals using Western Electric rules, calculate and interpret Cp, Cpk, Pp, Ppk. Use when setting up SPC for a new characteristic, interpreting control chart signals, responding to special cause variation, or auditing SPC implementation. Covers AIAG SPC 2nd edition…
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when:
| Chart | When to use |
|---|---|
| X̄-R (X-bar/Range) | Subgroup size 2–9; most common in manufacturing |
| X̄-S (X-bar/Sigma) | Subgroup size ≥ 10; better sensitivity to spread |
| I-MR (Individuals/Moving Range) | Subgroup size = 1; one measurement per inspection (slow processes, destructive tests) |
| Chart | When to use |
|---|---|
| p-chart | Proportion defective; variable subgroup size |
| np-chart | Number defective; constant subgroup size |
| c-chart | Count of defects per unit; constant inspection area |
| u-chart | Defects per unit; variable inspection area |
Decision rule: If you can measure it with a number, use a variable chart. Variable charts are more sensitive and require smaller samples to detect process shifts.
From at least 25 subgroups of size n:
Constants for common subgroup sizes:
| n | A₂ | D₃ | D₄ |
|---|---|---|---|
| 2 | 1.880 | 0 | 3.267 |
| 3 | 1.023 | 0 | 2.574 |
| 4 | 0.729 | 0 | 2.282 |
| 5 | 0.577 | 0 | 2.114 |
Important: Control limits are calculated FROM THE DATA — never set them to match the specification limits. Specification limits and control limits are completely separate concepts.
Divide the control chart into zones: Zone A (2–3σ from centre), Zone B (1–2σ), Zone C (0–1σ).
| Rule | Signal | Interpretation |
|---|---|---|
| Rule 1 | 1 point beyond 3σ (outside control limits) | Large, immediate shift |
| Rule 2 | 9 consecutive points on same side of centre line | Process mean has shifted |
| Rule 3 | 6 consecutive points steadily increasing or decreasing | Trend — tool wear, drift |
| Rule 4 | 14 consecutive points alternating up and down | Systematic variation — two alternating distributions |
| Rule 5 | 2 of 3 consecutive points in Zone A or beyond (same side) | Large shift signal |
| Rule 6 | 4 of 5 consecutive points in Zone B or beyond (same side) | Moderate shift |
| Rule 7 | 15 consecutive points in Zone C (either side of centre line) | Stratification — data from two separate distributions |
| Rule 8 | 8 consecutive points beyond Zone C (either side) | Mixture — sampling from two processes |
Action required for ANY rule violation: Stop and investigate immediately. Do not reset control limits. Do not restart until root cause is identified.
Most commonly applied in automotive: Rules 1, 2, 3 minimum. Rules 1–8 for safety-critical characteristics.
Capability data requirements: Process capability is only valid when calculated on a process that is in statistical control (no out-of-control signals) and with a minimum of 100 consecutive parts from that stable process. Fewer parts produce unreliable Cpk estimates — a Cpk calculated on 30 parts can vary by ±0.3 from the true value. Do not report Cpk based on fewer than 100 parts as a production capability figure; label it "preliminary" and state the sample size.
Short-term capability (within-subgroup variation):
σ̂ = R̄ / d₂ (for X̄-R chart)
Long-term performance (total variation including between-subgroup):
| Index | Minimum | Target |
|---|---|---|
| Cpk | 1.33 | 1.67 |
| Ppk | 1.33 | 1.67 |
| Cpk | Interpretation | PPAP action |
|---|---|---|
| ≥ 1.67 | Excellent | ✅ Accepted |
| 1.33 – 1.67 | Acceptable | ✅ Accepted — monitor |
| 1.00 – 1.33 | Marginal | ⚠️ Customer approval required; add control measures |
| < 1.00 | Not capable | ❌ 100% inspection required; corrective action mandatory |
Do NOT simply recalculate control limits after a shift to make the chart "look in control."
When reviewing SPC in production or at a supplier:
An SPC implementation is adequate when:
At the start of each use, ask the user:
"How would you like to receive the output? A — Structured Markdown (formatted tables and sections, ready to copy) B — Plain tables (simplified structure for Excel or Word) C — Narrative report (flowing text for a formal document or email)
Default: A."
Adapt all output sections to the chosen format. If the platform or session context already defines a format preference, skip this question.
| Version | Date | Author | Change |
|---|---|---|---|
| 1.0 | 2026-06-06 | @RBraga01 | Initial release |
| 1.1 | 2026-06-06 | @migmcc | Added 100-part minimum requirement for valid capability study in Step 4; clarified in-control prerequisite before capability calculation |