Skip to content
v0.1.3latest release121 skills4 categories6 sub-categories247 tested scripts397 reference docsContact us

capa-plan-writer

Write and review corrective and preventive action (CAPA) plans that meet ISO 9001 10.2 (also IATF 16949 10.2, AS9100, ISO 13485 8.5.2): correction and containment, verified root causes for occurrence and escape, corrective actions linked to each cause and ranked by strength (eliminate > error-proof > automate/detect > standardise > train > remind), owners and dates, measurable effectiveness checks, extension to similar products and sites, and updates to PFMEA, control plans, procedures and risks. Reviews a CAPA for 'operator error' or symptom root causes, correction-only actions, training-only actions, unverified causes, unlinked actions and missing effectiveness criteria; reports a CAPA log by stage, age, owner, overdue and stuck actions, and closed-too-fast CAPAs. Use when opening or reviewing a CAPA, answering an audit finding or complaint, preparing CAPA metrics for management review, or when CAPAs keep recurring.

Manufacturing & Industrial Operations / Quality Management & ISO 9001v1.0.0Updated OCT 25 20262 references2 scripts

A CAPA succeeds when the problem does not come back. That needs a verified root cause, actions that remove it (not just fix the parts), and a measured effectiveness check. scripts/capa_check.py reviews a CAPA plan and ranks its actions by strength; scripts/capa_aging.py reports the CAPA log for follow-up and management review.

Trigger Conditions

Activate this skill when the user:

  • Opens a corrective action for an NCR, complaint, audit finding or escape
  • Wants a CAPA reviewed before submission to a customer or auditor
  • Has CAPAs that keep recurring, or root causes like "operator error"
  • Needs CAPA status metrics (overdue, aging, cycle time) for management review

Root cause tools: five-whys-analysis-facilitator, quality-fishbone-diagram-builder; customer format: 8d-problem-solving-report-writer.

Workflow

text
1. REACT     -> correction and containment (what was done to the parts and suspect stock)
2. CAUSE     -> root causes for occurrence AND escape; verify each (reproduce, on/off, data)
3. ACT       -> at least one strong action (rank >= 3) per verified cause; owner and date
4. EXTEND    -> similar products, machines, sites (10.2.1 b 3)
5. CHECK     -> python scripts/capa_check.py capa.json
6. VERIFY    -> effectiveness: measurable criterion, window, method, owner, date
7. UPDATE    -> PFMEA, control plan, procedures, risk register; close only after effectiveness
8. MONITOR   -> python scripts/capa_aging.py capa_log.csv --today YYYY-MM-DD   (weekly / monthly)

Review Codes (capa_check.py)

CodeSeverityProblem
CP001highNo root cause, or it blames a person / restates the symptom
CP002highOnly corrections (sort, rework, scrap, replace)
CP003highNo measurable effectiveness criterion, method and date
CP004mediumStrongest action is training or a reminder
CP005mediumAction without owner or due date
CP006mediumCause without action, or action without cause
CP007mediumRoot cause not verified
CP008lowNo check for similar nonconformities
CP009lowNo FMEA / control plan / document / risk update
text
Action strength:
  [4] error-proof       Set tool life counter to 220 parts with machine interlock that stops t
CP001 [high] RC1 'Operator error - not careful when packing' blames a person: ask why the process allowed it

The 10.2 steps, correction vs corrective vs preventive, CAPA triggers, root-cause quality, effectiveness checks and stage limits: capa-structure.md. The strength hierarchy and how to turn weak actions into strong ones: action-strength.md.

CAPA Log (capa_aging.py)

CodeSeverityFinding
CA001highOverdue
CA002mediumStuck in a stage beyond its limit (containment 7, root cause 30, action 60, verification 120 days)
CA003lowClosed within 14 days: effectiveness probably not verified

Output Format

Deliver the CAPA as: problem statement, correction/containment, root causes (occurrence and escape, with verification evidence), action table (action, cause, strength, owner, due), extension to similar items, effectiveness plan, documents updated. Then the capa_check.py result with every high issue resolved.

Scripts

bash
python scripts/capa_check.py capa.json

Keys: capa_id, problem, correction, root_causes (id, cause, verified, evidence), actions (action, type, cause_id, owner, due), effectiveness (criteria, method, due), similar_check, updates. Exit codes: 0 no high issues, 1 high issues, 2 read or JSON error.

bash
python scripts/capa_aging.py capa_log.csv --today 2026-10-24

Columns: capa_id, source, owner, opened, stage, stage_since, due, closed. Exit codes: 0 none overdue, 1 overdue CAPAs, 2 read error.

Additional Resources

FileContent
capa-structure.mdISO 9001 10.2 steps, correction vs corrective vs preventive, triggers, root-cause quality, effectiveness, stage limits
action-strength.mdAction hierarchy with examples, weak -> strong rewrites, linking actions to causes
More in Quality Management & ISO 9001

8d-problem-solving-report-writer

Write and review 8D problem-solving reports for customer complaints and serious nonconformities (automotive and aerospace practice: Ford Global 8D, VDA, GM, Stellantis formats): D0 emergency response, D1 cross-functional team and champion, D2 problem description with 5W2H and is / is-not and no cause in the statement, D3 interim containment within 24 hours with verification and clean point, D4 verified occurrence and escape (non-detection) root causes plus systemic cause, D5 permanent corrective actions for each cause verified before implementation, D6 implementation, validation with production data and removal of containment, D7 PFMEA, control plan and read-across to similar products, D8 closure and recognition. Checks an 8D discipline by discipline for missing content, human-error root causes, missing escape cause or action, late containment and dates out of order.

acceptance-sampling-plan-selector

Select and evaluate acceptance sampling plans for incoming, in-process and final inspection: ANSI/ASQ Z1.4 / ISO 2859-1 single sampling under normal inspection (code letter from lot size and inspection level I, II, III, S-1 to S-4; sample size, Ac and Re from AQL, following the table's arrows to the correct plan; 100% when n reaches the lot size; AQLs above 10 per 100 units), operating characteristic curves (Pa at any quality, producer's quality level, indifference point, LTPD, AOQ and AOQL, binomial or hypergeometric), plans designed from producer and consumer risk, and c = 0 zero-acceptance plans. Covers AQL choice by defect class, switching rules between normal, tightened and reduced inspection, when sampling is not appropriate, and random sampling.

approved-supplier-list-manager

Manage and audit an approved supplier list (ASL) / external provider register for ISO 9001 8.4.1, IATF 16949 8.4 and AS9100 8.4.1: supplier status (approved, conditional, probation, pending, disqualified), scope of approval by commodity and process, risk class, certification and expiry, re-evaluation intervals by risk, conditions with end dates, single-source contingency, approver and customer-directed sources. Audits the list for expired or expiring certificates, overdue re-evaluations, conditional or probation status past its decision date, high-risk suppliers without the required certification, single-source suppliers without backup and missing approvers, and checks purchase orders for suppliers that are off-list, disqualified or pending, or buying outside the approved scope. Covers ERP blocks, PO requirements, off-list and emergency purchases.

apqp-phase-planner

Plan and track Advanced Product Quality Planning (AIAG APQP 3rd edition, IATF 16949) for a new or changed automotive part: back-schedule the five phases (plan and define, product design, process design, product and process validation, launch and feedback) from the start-of-production date by program complexity, with overlap, PPAP lead and safe-launch period; list the deliverables and gate for each phase (DFMEA, DVP&R, feasibility, process flow, PFMEA, control plans, MSA, Ppk, run at rate, PPAP, safe launch, lessons learned); adjust for build-to-print suppliers; flag compressed timelines and late or untracked deliverables against a status list. Covers gate reviews, red/yellow/green status reporting, run at rate and safe-launch exit criteria.

as9100-gap-analyzer

Run an AS9100D / EN 9100:2018 gap analysis for aviation, space and defence suppliers on the requirements added to ISO 9001: on-time delivery and conformity focus, management representative, ethics and human-factors awareness, operational planning and operational risk management, configuration management, product safety, counterfeit-part prevention, special requirements, critical items and key characteristics, external provider register and flow-down, FOD prevention, tooling and NC program control, special process validation, first article inspection (AS9102), traceability, in-service data and nonconforming product control. Generates and scores a worksheet, grades missing core controls as major, and checks invalid n/a claims. Covers AS9101/AS9104, OASIS, AS9102 FAI forms, counterfeit standards (AS5553, AS6174, AS6081), NADCAP and the planned IA9100 transition.

audit-report-writer

Write internal, supplier and pre-certification audit reports with the content ISO 19011:2018 6.5 expects: audit objectives, scope, criteria with revisions, dates, team and auditees, method and sampling statement, specific strengths, findings table and three-part finding details (requirement, evidence, statement), conclusion on the degree of fulfilment of criteria, diverging opinions, follow-up deadlines and distribution. Builds a Markdown report from a JSON audit record, generates the conclusion from the findings (major / minor / none) and flags reports missing required content or findings without clause or evidence. Covers conclusion wording, closing meetings, response expectations and verifying corrective actions.