FMEA/FMECA Skill
Produce consulting-grade Failure Mode and Effects Analysis (FMEA) and Failure Mode, Effects, and
Criticality Analysis (FMECA) outputs. This skill supports five workflows: interpreting existing
analyses, authoring new ones, reviewing/critiquing quality, generating formatted deliverables, and
parsing technical documents into reusable FMECA context files.
Reference Files
Read the appropriate reference files from references/ BEFORE doing substantive work. This is
essential — the reference libraries contain domain-specific failure mode knowledge that prevents
hallucination and ensures technical accuracy.
| File |
When to read |
references/standards-guide.md |
Always read first — covers IEC 60812, SAE J1739, MIL-STD-1629A, ISO 14224 |
references/scoring-scales.md |
When assigning or reviewing severity, occurrence, detection, or criticality scores |
references/rolling-stock-taxonomy.md |
When the asset is rail/tram/train related |
references/ports-marine-taxonomy.md |
When the asset is port, wharf, marine, or shipping related |
references/mining-resources-taxonomy.md |
When the asset is mining, processing, or resources related |
references/general-industrial-taxonomy.md |
Cross-sector equipment (pumps, motors, valves, HVAC, electrical, civil) |
references/context-file-template.md |
When parsing a document into a context file (Workflow 5) |
references/{client}-*-context.md |
Client-specific context files generated by Workflow 5 — read when working on that client/asset |
For any given task, read the standards guide plus the relevant sector taxonomy. If client-specific
context files exist for the asset being analysed, read those too — they contain parsed equipment
hierarchies, operating context, failure history, and maintenance regimes extracted from real
client documentation and will significantly improve analysis quality.
Core Concepts
FMEA identifies failure modes, their effects on system performance, and existing controls.
Typically uses Risk Priority Number (RPN = Severity × Occurrence × Detection) to prioritise action.
FMECA extends FMEA with formal criticality assessment — either qualitative (criticality ranking
matrix) or quantitative (criticality number using failure rate and failure mode ratio data per
MIL-STD-1629A). FMECA is standard in defence and heavy industry.
The Hierarchy
Every FMEA/FMECA is built on a consistent decomposition:
System (e.g. Tram Braking System)
└── Sub-system (e.g. Friction Brake)
└── Component/Maintainable Item (e.g. Brake Pad Assembly)
└── Function (e.g. Convert kinetic energy to heat via friction)
└── Functional Failure (e.g. Unable to generate braking force)
└── Failure Mode (e.g. Brake pad worn below minimum thickness)
├── Failure Effect (local / system / end effect)
└── Failure Cause/Mechanism (e.g. Normal abrasive wear)
This hierarchy is non-negotiable — every analysis must trace from system context down to failure
modes. If a user provides data that skips levels, flag the gaps.
Key Distinctions
- Failure mode vs failure cause: A failure mode is the observable manner of failure ("bearing
seized"). A failure cause/mechanism is why it happened ("loss of lubrication due to seal
degradation"). Many poor FMEAs conflate these.
- Local effect vs system effect vs end effect: Effects cascade upward. Local = at the
component. System = at the sub-system/system. End = what operator/customer/public experiences.
- Evident vs hidden failure: Evident failures are apparent to operators under normal
conditions. Hidden failures (typically protective devices) only become apparent when demanded.
Discovery Process
Before starting any workflow, conduct a discovery interview. Tailor depth to the workflow.
Essential Questions (all workflows)
What asset/system are we analysing?
- Equipment type, make/model if known
- Operating context (where, how, how hard)
- Sector (rail, port, mining, other)
What's the purpose of this analysis?
- Regulatory/compliance requirement
- Maintenance strategy development (RCM-adjacent)
- Design review / DFMEA
- Risk assessment for decision-making
- Insurance or safety case input
What standard should we align to?
- IEC 60812 (default — broadest applicability)
- SAE J1739 (if automotive or rolling stock design-focused)
- MIL-STD-1629A (if defence or quantitative criticality required)
- ISO 14224 (if petroleum/gas or aligning to that failure taxonomy)
- Client-specific methodology (ask for details)
What data is available?
- Existing FMEAs or maintenance strategies
- Asset registers or BOMs
- Failure/work order history
- OEM manuals or maintenance documentation
- P&IDs, schematics, or system diagrams
Additional Questions by Workflow
For authoring: Level of detail expected? How many equipment items? System-level or
component-level? Who reviews?
For review: What concerns prompted the review? Known gaps? Consequence of errors?
For outputs: What format does the client expect? Do they have a template? What scoring scale?
Workflow 1: Interpret & Explain
When a user uploads or pastes FMEA/FMECA data and wants to understand it.
Parse the input — Identify structure, columns, scoring method, hierarchy depth, standard
alignment. Note what's present and what's missing.
Summarise the scope — What system/asset, how many failure modes, what scoring method, what
standard it appears to follow.
Explain the findings — In plain language: highest-risk items, what scores mean practically,
hidden failures, common-cause failures, recommended actions.
Flag quality issues — Missing data, inconsistent scoring, vague descriptions, missing
hierarchy levels. Even when interpreting, note these.
Provide context — Relate findings to operating context. A high RPN on a tram braking
component has different urgency than on a warehouse HVAC unit.
Lead with the "so what" — what should the reader care about and do next.
Workflow 2: Author from Scratch
When building a new FMEA/FMECA from available data.
Establish the system boundary — What's in scope and out. Define top-level system and
interfaces.
Build the hierarchy — Use the appropriate sector taxonomy from references/ as a starting
point. Decompose to maintainable item level (the level at which you'd write a work order).
Define functions — State what each component does in quantifiable terms where possible.
"Maintain hydraulic pressure at 200 bar" not "Works properly". Every item needs at least one
function.
Identify functional failures — For each function: total loss, partial loss, intermittent
loss, degraded performance, unintended function, over-function.
Determine failure modes — Specific, observable manners of failure. Use taxonomy references
as a prompt but adapt to the specific asset. Quality test: could a technician read this and
picture exactly what's wrong?
- Good: "Impeller blades eroded reducing flow by >20%"
- Bad: "Pump degraded"
Describe failure effects — At three levels (local, system, end). Include secondary damage,
safety implications, environmental consequences.
Identify failure causes/mechanisms — What initiates or drives each failure mode. Link to
operating context. Multiple causes per failure mode is normal.
Assess severity, occurrence, and detection — Read references/scoring-scales.md. Apply
consistently. Document assumptions.
Calculate RPN or criticality — Per the selected standard.
Recommend actions — For high-priority items: preventive tasks (with intervals), condition
monitoring, design modifications, redundancy, operational changes, or risk acceptance with
justification.
Quality Checks During Authoring
Run continuously, not just at the end:
- Every component has at least one function stated
- Every function has at least one functional failure
- Every functional failure has at least one failure mode
- Failure modes are specific and observable
- Effects cascade correctly (local → system → end)
- Causes are distinct from failure modes
- Scoring is consistent across similar items
- No orphaned rows (failure modes without effects or causes)
Workflow 3: Review & Critique
Score each dimension 1–5 and provide specific findings:
Structural completeness — Hierarchy complete? Functions stated? Orphaned entries?
Failure mode quality — Specific and observable? Common modes covered? (Cross-reference
against sector taxonomy.) Cause-mode confusion?
Effects analysis quality — All three levels described? Safety/environmental consequences
addressed? Cascading effects considered?
Scoring consistency — Scale documented? Similar modes scored consistently? Severity reflects
end effects? Detection based on current controls?
Completeness of recommendations — High-RPN items have actions? Actions specific? Clear
link between failure mode and recommended task?
Standard alignment — Format matches claimed standard? Mandatory fields present? Criticality
methodology correct?
Output: Structured review report
- Executive summary (overall quality rating, key concerns)
- Findings by dimension (with specific examples)
- Priority recommendations (what to fix first)
- Positive observations (what's done well)
Workflow 4: Generate Outputs
Spreadsheet (.xlsx)
Use the xlsx skill. Structure columns per selected standard:
IEC 60812 / general FMEA columns:
Item | Function | Functional Failure | Failure Mode | Failure Cause | Local Effect | System Effect |
End Effect | Severity | Occurrence | Detection | RPN | Recommended Action | Responsible | Target
Date | Status
MIL-STD-1629A FMECA columns:
Item ID | Item Name | Function | Failure Mode | Failure Cause | Mission Phase | Local Effect |
Next Higher Effect | End Effect | Severity Class | Failure Rate | Mode Ratio | Criticality Number |
Compensating Provisions | Remarks
SAE J1739 columns:
Item/Function | Potential Failure Mode | Potential Effect(s) | Severity | Class | Potential Cause(s) |
Occurrence | Current Prevention Controls | Current Detection Controls | Detection | RPN |
Recommended Action | Responsibility | Target Date | Action Taken | Revised S | Revised O |
Revised D | Revised RPN
Other Formats
- Risk matrix — HTML artifact: severity × occurrence heat map showing failure mode distribution
- Summary report (.docx) — Executive-level: scope, methodology, findings, risk profile, recommendations
- FMECA register (.xlsx) — Full register with filtering, conditional formatting, summary dashboard
Formatting Standards
- Conditional formatting on RPN/criticality (Red/Amber/Green thresholds)
- Legend/key sheet explaining scoring scales
- Summary sheet with counts by risk category
- Frozen headers, auto-filter enabled
- Appropriate column widths
Workflow 5: Parse Document into FMECA Context File
When a user uploads a technical document and wants to extract FMECA-relevant information into a
structured markdown file for reuse in future sessions.
This workflow is foundational — it turns raw client/OEM documentation into a machine-readable
reference that dramatically improves the quality of subsequent FMEA/FMECA work. The output .md file
is saved directly into the skill's references/ directory so it's automatically available in
future sessions alongside the sector taxonomies.
Supported Document Types
Parse any of these into a context file. Each type yields different information — extract what's
present and flag what's missing:
| Document Type |
What to Extract |
| OEM/Maintenance Manual |
Equipment hierarchy, functions, component specs, recommended maintenance, operating limits, OEM-specified failure modes |
| Asset Register / BOM |
Equipment hierarchy, item naming conventions, parent-child relationships, quantities, criticality tags if present |
| Maintenance Plan / Strategy |
Current PM tasks, task intervals, condition monitoring, shutdown scope, maintenance philosophy |
| P&ID / System Diagram |
System boundaries, equipment arrangement, process flow, instrumentation, protective devices, redundancy |
| Inspection / Condition Report |
Current condition state, identified defects, degradation rates, remaining life estimates, photos/measurements |
| Failure History / Work Orders |
Actual failure modes experienced, frequency, root causes, downtime, repair actions, repeat failures |
| Existing FMEA/FMECA |
Previous analysis scope, scoring methodology, identified failure modes, recommended actions, gaps |
| Safety Case / HAZOP |
Identified hazards, consequences, safeguards, SIL ratings, safety-critical items |
| Operating Procedures |
Operating modes, start-up/shutdown sequences, abnormal operating conditions, operator interventions |
| Reliability Data / Reports |
Failure rates, MTBF, MTTR, availability, reliability distributions, Weibull parameters |
Process
Read the document — Use the appropriate tool to access the uploaded file. For PDFs, extract
text. For spreadsheets, parse the structure. For images of P&IDs or diagrams, describe what's
visible.
Read the context file template — Read references/context-file-template.md for the output
structure. This is the target format.
Identify the document type — Determine which type(s) from the table above. A single document
may span multiple types (e.g. an OEM manual contains both equipment specs and maintenance
recommendations).
Extract and structure — Pull out all FMECA-relevant information and organise it into the
template sections. Be thorough — it's better to capture something that turns out to be
marginally useful than to miss something critical.
Cross-reference against taxonomy — Compare the extracted equipment hierarchy against the
relevant sector taxonomy. Note where the document's naming differs from standard taxonomy terms
(this mapping is valuable for future work).
Flag gaps and uncertainties — At the end of the context file, explicitly list:
- Information that was expected but not found in the document
- Ambiguous items where interpretation was required
- Areas where additional documents would significantly improve the context
- Any conflicts between the document and standard taxonomies
Name the file descriptively — Use the pattern:
{client}-{asset}-{doctype}-context.md
Examples: yarratrams-bclass-oem-context.md, geelongport-shiploader1-condition-context.md,
santos-compressor-fmea-context.md
Save to the skill's references directory — Write the context file directly into the FMECA
skill's references directory so it's automatically available in future sessions:
Claude Code / Agent SDK (filesystem-based skills):
Save to the project or user skill path, whichever contains the fmeca skill:
.claude/skills/fmeca/references/{client}-{asset}-{doctype}-context.md
If the project path (.claude/skills/fmeca/) doesn't exist, fall back to the user path:
~/.claude/skills/fmeca/references/{client}-{asset}-{doctype}-context.md
Claude.ai (container environment):
The container filesystem resets between sessions, so save to both locations:
- Working location:
/mnt/skills/user/fmeca/references/ (if writable) or the skill's own
references directory
- Download copy:
/mnt/user-data/outputs/ so the user can manually add it to their skill
directory outside the session
Confirm with the user before saving. State the full file path and ask them to confirm.
If the references directory doesn't exist yet, create it.
Register in the reference table — After saving, remind the user to add an entry to the
SKILL.md reference table so the context file gets loaded in future sessions when relevant.
Suggest the entry in this format:
| `references/{filename}.md` | When working on {client} {asset} FMECA |
If running in Claude Code with write access to SKILL.md, offer to add the entry directly.
Extraction Rules
These rules ensure consistency across context files regardless of who creates them:
Equipment Hierarchy
- Decompose to the maintainable item level (the level a technician would write a work order against)
- Use the document's own naming where it exists, but add standard taxonomy mapping in parentheses
where terms differ. E.g. "Traction Power Module (≈ Traction Inverter per rolling-stock-taxonomy)"
- Preserve the document's item numbering/coding scheme — this is essential for traceability
Functions
- State functions in the format: verb + object + quantified performance where available
- Good: "Maintain brake pad contact pressure at 12-15 kN per caliper"
- Acceptable if doc lacks specifics: "Provide braking force to decelerate vehicle"
- Always note the source: "(per OEM Manual Section 4.3)" or "(inferred from system description)"
Operating Context
- Capture everything that affects failure behaviour: environment, duty cycle, loading,
temperature, exposure, utilisation rate
- Note seasonal or campaign-based variations
- Include any operating restrictions or limitations documented
Maintenance Context
- Capture current tasks, intervals, and the basis for those intervals (OEM recommendation,
regulatory, experience-based)
- Note where tasks are time-based vs condition-based
- Capture any documented maintenance access constraints (outage required, confined space, etc.)
Failure Information
- Record failure modes exactly as described in the source document
- Map to standard taxonomy terms where possible, but preserve the original language
- Capture any quantitative data (failure rates, MTBF, Weibull parameters) with units and source
- Note sample sizes and confidence levels where available
Protective Devices & Hidden Failures
- Explicitly list every protective device, alarm, trip, relief valve, standby system
- For each, note: what it protects against, how it's tested, test interval, last known test result
- These are the most commonly missed items in FMEAs — extracting them upfront is high-value
Combining Multiple Documents
When multiple documents relate to the same asset/system:
- Parse each document individually first, saving each to the skill's references directory
- Then create a consolidated context file that merges the information, named:
{client}-{asset}-consolidated-context.md
- Save the consolidated file to the same references directory — it replaces the individual files
as the primary reference for that asset (keep the individual files for traceability)
- Where documents conflict (e.g. OEM says 500hr service interval, maintenance plan says 750hr),
note both values and the source of each — don't silently pick one
- The consolidated file should cross-reference source documents for traceability:
"[Source: OEM Manual Rev C, Section 4.3.2]"
- Update the SKILL.md reference table entry to point to the consolidated file
Output Quality Check
Before finalising the context file, verify:
- Every equipment item has at least one function stated (or flagged as "function not documented")
- The hierarchy is internally consistent (no orphaned items, no gaps between levels)
- Operating context section is populated (even if sparse — note what's missing)
- Protective devices section is populated (or explicitly states "no protective devices identified")
- Source references are traceable to specific sections/pages of the input document
- The gaps/uncertainties section is honest and actionable
General Guidance
Common Pitfalls to Flag
- Vague failure modes — "Component fails" is not a failure mode
- Cause-mode confusion — "Corrosion" is usually a cause, not a mode
- Inconsistent scoring — Same failure type scored differently without justification
- Missing hidden failures — Protective devices frequently missed
- Single-point-of-failure blindness — Not identifying absent redundancy
- Copy-paste syndrome — Generic descriptions reused without adaptation
- Detection score confusion — Rates current controls, not theoretical capability
- Severity creep — Everything rated 9-10 makes analysis useless for prioritisation
- Missing operating context — Same equipment, different environment = different failure behaviour
When Data is Insufficient
Be transparent. State assumptions clearly. Flag where engineering judgement has been applied vs
data-supported assessment. Recommend data collection for critical gaps. Never fabricate failure
rate data — use qualitative ranges and state the basis.
Integration
This skill works with: xlsx skill (worksheets), docx skill (reports), pptx/presentation skills
(stakeholder presentations). Read the relevant output skill first, then apply FMECA domain knowledge.
1---
2name: fmeca
3description: >
4 Analyse, author, review, generate, and extract context for FMEA and FMECA documents for
5 asset-intensive organisations. Use this skill whenever the user mentions FMEA, FMECA, failure mode,
6 failure effects, failure analysis, criticality analysis, RPN, risk priority number,
7 severity-occurrence-detection scoring, functional failure, failure cause analysis, or maintenance
8 strategy development based on failure analysis. Also trigger when the user uploads a spreadsheet
9 or document that appears to contain failure mode data, or asks about reliability-centred maintenance
10 (RCM) failure analysis steps, or wants to develop maintenance tasks from equipment failure behaviour.
11 Also trigger when users ask about equipment functions, functional failures, failure consequences,
12 or hidden vs evident failures. Also trigger when the user asks to parse, extract, or read a technical
13 document (OEM manual, maintenance plan, asset register, BOM, P&ID, inspection report, condition
14 assessment) for FMECA context, or asks to build a context file or reference file from a document.
15 Covers IEC 60812, SAE J1739, MIL-STD-1629A, and ISO 14224. Supports rolling stock, ports, mining,
16 defence, and general industrial sectors.
17metadata:
18 source: https://skillmd.com/skills/aibot88/fmeca
19---
20
21# FMEA/FMECA Skill
22
23Produce consulting-grade Failure Mode and Effects Analysis (FMEA) and Failure Mode, Effects, and
24Criticality Analysis (FMECA) outputs. This skill supports five workflows: interpreting existing
25analyses, authoring new ones, reviewing/critiquing quality, generating formatted deliverables, and
26parsing technical documents into reusable FMECA context files.
27
28## Reference Files
29
30Read the appropriate reference files from `references/` BEFORE doing substantive work. This is
31essential — the reference libraries contain domain-specific failure mode knowledge that prevents
32hallucination and ensures technical accuracy.
33
34| File | When to read |
35|------|-------------|
36| `references/standards-guide.md` | Always read first — covers IEC 60812, SAE J1739, MIL-STD-1629A, ISO 14224 |
37| `references/scoring-scales.md` | When assigning or reviewing severity, occurrence, detection, or criticality scores |
38| `references/rolling-stock-taxonomy.md` | When the asset is rail/tram/train related |
39| `references/ports-marine-taxonomy.md` | When the asset is port, wharf, marine, or shipping related |
40| `references/mining-resources-taxonomy.md` | When the asset is mining, processing, or resources related |
41| `references/general-industrial-taxonomy.md` | Cross-sector equipment (pumps, motors, valves, HVAC, electrical, civil) |
42| `references/context-file-template.md` | When parsing a document into a context file (Workflow 5) |
43| `references/{client}-*-context.md` | Client-specific context files generated by Workflow 5 — read when working on that client/asset |
44
45For any given task, read the standards guide plus the relevant sector taxonomy. If client-specific
46context files exist for the asset being analysed, read those too — they contain parsed equipment
47hierarchies, operating context, failure history, and maintenance regimes extracted from real
48client documentation and will significantly improve analysis quality.
49
50---
51
52## Core Concepts
53
54**FMEA** identifies failure modes, their effects on system performance, and existing controls.
55Typically uses Risk Priority Number (RPN = Severity × Occurrence × Detection) to prioritise action.
56
57**FMECA** extends FMEA with formal criticality assessment — either qualitative (criticality ranking
58matrix) or quantitative (criticality number using failure rate and failure mode ratio data per
59MIL-STD-1629A). FMECA is standard in defence and heavy industry.
60
61### The Hierarchy
62
63Every FMEA/FMECA is built on a consistent decomposition:
64
65```
66System (e.g. Tram Braking System)
67 └── Sub-system (e.g. Friction Brake)
68 └── Component/Maintainable Item (e.g. Brake Pad Assembly)
69 └── Function (e.g. Convert kinetic energy to heat via friction)
70 └── Functional Failure (e.g. Unable to generate braking force)
71 └── Failure Mode (e.g. Brake pad worn below minimum thickness)
72 ├── Failure Effect (local / system / end effect)
73 └── Failure Cause/Mechanism (e.g. Normal abrasive wear)
74```
75
76This hierarchy is non-negotiable — every analysis must trace from system context down to failure
77modes. If a user provides data that skips levels, flag the gaps.
78
79### Key Distinctions
80
81- **Failure mode** vs **failure cause**: A failure mode is the observable manner of failure ("bearing
82 seized"). A failure cause/mechanism is why it happened ("loss of lubrication due to seal
83 degradation"). Many poor FMEAs conflate these.
84- **Local effect** vs **system effect** vs **end effect**: Effects cascade upward. Local = at the
85 component. System = at the sub-system/system. End = what operator/customer/public experiences.
86- **Evident** vs **hidden failure**: Evident failures are apparent to operators under normal
87 conditions. Hidden failures (typically protective devices) only become apparent when demanded.
88
89---
90
91## Discovery Process
92
93Before starting any workflow, conduct a discovery interview. Tailor depth to the workflow.
94
95### Essential Questions (all workflows)
96
971. **What asset/system are we analysing?**
98 - Equipment type, make/model if known
99 - Operating context (where, how, how hard)
100 - Sector (rail, port, mining, other)
101
1022. **What's the purpose of this analysis?**
103 - Regulatory/compliance requirement
104 - Maintenance strategy development (RCM-adjacent)
105 - Design review / DFMEA
106 - Risk assessment for decision-making
107 - Insurance or safety case input
108
1093. **What standard should we align to?**
110 - IEC 60812 (default — broadest applicability)
111 - SAE J1739 (if automotive or rolling stock design-focused)
112 - MIL-STD-1629A (if defence or quantitative criticality required)
113 - ISO 14224 (if petroleum/gas or aligning to that failure taxonomy)
114 - Client-specific methodology (ask for details)
115
1164. **What data is available?**
117 - Existing FMEAs or maintenance strategies
118 - Asset registers or BOMs
119 - Failure/work order history
120 - OEM manuals or maintenance documentation
121 - P&IDs, schematics, or system diagrams
122
123### Additional Questions by Workflow
124
125**For authoring**: Level of detail expected? How many equipment items? System-level or
126component-level? Who reviews?
127
128**For review**: What concerns prompted the review? Known gaps? Consequence of errors?
129
130**For outputs**: What format does the client expect? Do they have a template? What scoring scale?
131
132---
133
134## Workflow 1: Interpret & Explain
135
136When a user uploads or pastes FMEA/FMECA data and wants to understand it.
137
1381. **Parse the input** — Identify structure, columns, scoring method, hierarchy depth, standard
139 alignment. Note what's present and what's missing.
140
1412. **Summarise the scope** — What system/asset, how many failure modes, what scoring method, what
142 standard it appears to follow.
143
1443. **Explain the findings** — In plain language: highest-risk items, what scores mean practically,
145 hidden failures, common-cause failures, recommended actions.
146
1474. **Flag quality issues** — Missing data, inconsistent scoring, vague descriptions, missing
148 hierarchy levels. Even when interpreting, note these.
149
1505. **Provide context** — Relate findings to operating context. A high RPN on a tram braking
151 component has different urgency than on a warehouse HVAC unit.
152
153Lead with the "so what" — what should the reader care about and do next.
154
155---
156
157## Workflow 2: Author from Scratch
158
159When building a new FMEA/FMECA from available data.
160
1611. **Establish the system boundary** — What's in scope and out. Define top-level system and
162 interfaces.
163
1642. **Build the hierarchy** — Use the appropriate sector taxonomy from `references/` as a starting
165 point. Decompose to maintainable item level (the level at which you'd write a work order).
166
1673. **Define functions** — State what each component does in quantifiable terms where possible.
168 "Maintain hydraulic pressure at 200 bar" not "Works properly". Every item needs at least one
169 function.
170
1714. **Identify functional failures** — For each function: total loss, partial loss, intermittent
172 loss, degraded performance, unintended function, over-function.
173
1745. **Determine failure modes** — Specific, observable manners of failure. Use taxonomy references
175 as a prompt but adapt to the specific asset. Quality test: could a technician read this and
176 picture exactly what's wrong?
177 - Good: "Impeller blades eroded reducing flow by >20%"
178 - Bad: "Pump degraded"
179
1806. **Describe failure effects** — At three levels (local, system, end). Include secondary damage,
181 safety implications, environmental consequences.
182
1837. **Identify failure causes/mechanisms** — What initiates or drives each failure mode. Link to
184 operating context. Multiple causes per failure mode is normal.
185
1868. **Assess severity, occurrence, and detection** — Read `references/scoring-scales.md`. Apply
187 consistently. Document assumptions.
188
1899. **Calculate RPN or criticality** — Per the selected standard.
190
19110. **Recommend actions** — For high-priority items: preventive tasks (with intervals), condition
192 monitoring, design modifications, redundancy, operational changes, or risk acceptance with
193 justification.
194
195### Quality Checks During Authoring
196
197Run continuously, not just at the end:
198- Every component has at least one function stated
199- Every function has at least one functional failure
200- Every functional failure has at least one failure mode
201- Failure modes are specific and observable
202- Effects cascade correctly (local → system → end)
203- Causes are distinct from failure modes
204- Scoring is consistent across similar items
205- No orphaned rows (failure modes without effects or causes)
206
207---
208
209## Workflow 3: Review & Critique
210
211Score each dimension 1–5 and provide specific findings:
212
2131. **Structural completeness** — Hierarchy complete? Functions stated? Orphaned entries?
214
2152. **Failure mode quality** — Specific and observable? Common modes covered? (Cross-reference
216 against sector taxonomy.) Cause-mode confusion?
217
2183. **Effects analysis quality** — All three levels described? Safety/environmental consequences
219 addressed? Cascading effects considered?
220
2214. **Scoring consistency** — Scale documented? Similar modes scored consistently? Severity reflects
222 end effects? Detection based on current controls?
223
2245. **Completeness of recommendations** — High-RPN items have actions? Actions specific? Clear
225 link between failure mode and recommended task?
226
2276. **Standard alignment** — Format matches claimed standard? Mandatory fields present? Criticality
228 methodology correct?
229
230### Output: Structured review report
231- Executive summary (overall quality rating, key concerns)
232- Findings by dimension (with specific examples)
233- Priority recommendations (what to fix first)
234- Positive observations (what's done well)
235
236---
237
238## Workflow 4: Generate Outputs
239
240### Spreadsheet (.xlsx)
241
242Use the xlsx skill. Structure columns per selected standard:
243
244**IEC 60812 / general FMEA columns:**
245Item | Function | Functional Failure | Failure Mode | Failure Cause | Local Effect | System Effect |
246End Effect | Severity | Occurrence | Detection | RPN | Recommended Action | Responsible | Target
247Date | Status
248
249**MIL-STD-1629A FMECA columns:**
250Item ID | Item Name | Function | Failure Mode | Failure Cause | Mission Phase | Local Effect |
251Next Higher Effect | End Effect | Severity Class | Failure Rate | Mode Ratio | Criticality Number |
252Compensating Provisions | Remarks
253
254**SAE J1739 columns:**
255Item/Function | Potential Failure Mode | Potential Effect(s) | Severity | Class | Potential Cause(s) |
256Occurrence | Current Prevention Controls | Current Detection Controls | Detection | RPN |
257Recommended Action | Responsibility | Target Date | Action Taken | Revised S | Revised O |
258Revised D | Revised RPN
259
260### Other Formats
261
262- **Risk matrix** — HTML artifact: severity × occurrence heat map showing failure mode distribution
263- **Summary report (.docx)** — Executive-level: scope, methodology, findings, risk profile, recommendations
264- **FMECA register (.xlsx)** — Full register with filtering, conditional formatting, summary dashboard
265
266### Formatting Standards
267- Conditional formatting on RPN/criticality (Red/Amber/Green thresholds)
268- Legend/key sheet explaining scoring scales
269- Summary sheet with counts by risk category
270- Frozen headers, auto-filter enabled
271- Appropriate column widths
272
273---
274
275## Workflow 5: Parse Document into FMECA Context File
276
277When a user uploads a technical document and wants to extract FMECA-relevant information into a
278structured markdown file for reuse in future sessions.
279
280This workflow is foundational — it turns raw client/OEM documentation into a machine-readable
281reference that dramatically improves the quality of subsequent FMEA/FMECA work. The output .md file
282is saved directly into the skill's `references/` directory so it's automatically available in
283future sessions alongside the sector taxonomies.
284
285### Supported Document Types
286
287Parse any of these into a context file. Each type yields different information — extract what's
288present and flag what's missing:
289
290| Document Type | What to Extract |
291|--------------|----------------|
292| OEM/Maintenance Manual | Equipment hierarchy, functions, component specs, recommended maintenance, operating limits, OEM-specified failure modes |
293| Asset Register / BOM | Equipment hierarchy, item naming conventions, parent-child relationships, quantities, criticality tags if present |
294| Maintenance Plan / Strategy | Current PM tasks, task intervals, condition monitoring, shutdown scope, maintenance philosophy |
295| P&ID / System Diagram | System boundaries, equipment arrangement, process flow, instrumentation, protective devices, redundancy |
296| Inspection / Condition Report | Current condition state, identified defects, degradation rates, remaining life estimates, photos/measurements |
297| Failure History / Work Orders | Actual failure modes experienced, frequency, root causes, downtime, repair actions, repeat failures |
298| Existing FMEA/FMECA | Previous analysis scope, scoring methodology, identified failure modes, recommended actions, gaps |
299| Safety Case / HAZOP | Identified hazards, consequences, safeguards, SIL ratings, safety-critical items |
300| Operating Procedures | Operating modes, start-up/shutdown sequences, abnormal operating conditions, operator interventions |
301| Reliability Data / Reports | Failure rates, MTBF, MTTR, availability, reliability distributions, Weibull parameters |
302
303### Process
304
3051. **Read the document** — Use the appropriate tool to access the uploaded file. For PDFs, extract
306 text. For spreadsheets, parse the structure. For images of P&IDs or diagrams, describe what's
307 visible.
308
3092. **Read the context file template** — Read `references/context-file-template.md` for the output
310 structure. This is the target format.
311
3123. **Identify the document type** — Determine which type(s) from the table above. A single document
313 may span multiple types (e.g. an OEM manual contains both equipment specs and maintenance
314 recommendations).
315
3164. **Extract and structure** — Pull out all FMECA-relevant information and organise it into the
317 template sections. Be thorough — it's better to capture something that turns out to be
318 marginally useful than to miss something critical.
319
3205. **Cross-reference against taxonomy** — Compare the extracted equipment hierarchy against the
321 relevant sector taxonomy. Note where the document's naming differs from standard taxonomy terms
322 (this mapping is valuable for future work).
323
3246. **Flag gaps and uncertainties** — At the end of the context file, explicitly list:
325 - Information that was expected but not found in the document
326 - Ambiguous items where interpretation was required
327 - Areas where additional documents would significantly improve the context
328 - Any conflicts between the document and standard taxonomies
329
3307. **Name the file descriptively** — Use the pattern:
331 `{client}-{asset}-{doctype}-context.md`
332 Examples: `yarratrams-bclass-oem-context.md`, `geelongport-shiploader1-condition-context.md`,
333 `santos-compressor-fmea-context.md`
334
3358. **Save to the skill's references directory** — Write the context file directly into the FMECA
336 skill's references directory so it's automatically available in future sessions:
337
338 **Claude Code / Agent SDK (filesystem-based skills):**
339 Save to the project or user skill path, whichever contains the fmeca skill:
340 ```
341 .claude/skills/fmeca/references/{client}-{asset}-{doctype}-context.md
342 ```
343 If the project path (`.claude/skills/fmeca/`) doesn't exist, fall back to the user path:
344 ```
345 ~/.claude/skills/fmeca/references/{client}-{asset}-{doctype}-context.md
346 ```
347
348 **Claude.ai (container environment):**
349 The container filesystem resets between sessions, so save to both locations:
350 - Working location: `/mnt/skills/user/fmeca/references/` (if writable) or the skill's own
351 references directory
352 - Download copy: `/mnt/user-data/outputs/` so the user can manually add it to their skill
353 directory outside the session
354
355 **Confirm with the user** before saving. State the full file path and ask them to confirm.
356 If the references directory doesn't exist yet, create it.
357
3589. **Register in the reference table** — After saving, remind the user to add an entry to the
359 SKILL.md reference table so the context file gets loaded in future sessions when relevant.
360 Suggest the entry in this format:
361 ```
362 | `references/{filename}.md` | When working on {client} {asset} FMECA |
363 ```
364 If running in Claude Code with write access to SKILL.md, offer to add the entry directly.
365
366### Extraction Rules
367
368These rules ensure consistency across context files regardless of who creates them:
369
370**Equipment Hierarchy**
371- Decompose to the maintainable item level (the level a technician would write a work order against)
372- Use the document's own naming where it exists, but add standard taxonomy mapping in parentheses
373 where terms differ. E.g. "Traction Power Module (≈ Traction Inverter per rolling-stock-taxonomy)"
374- Preserve the document's item numbering/coding scheme — this is essential for traceability
375
376**Functions**
377- State functions in the format: verb + object + quantified performance where available
378- Good: "Maintain brake pad contact pressure at 12-15 kN per caliper"
379- Acceptable if doc lacks specifics: "Provide braking force to decelerate vehicle"
380- Always note the source: "(per OEM Manual Section 4.3)" or "(inferred from system description)"
381
382**Operating Context**
383- Capture everything that affects failure behaviour: environment, duty cycle, loading,
384 temperature, exposure, utilisation rate
385- Note seasonal or campaign-based variations
386- Include any operating restrictions or limitations documented
387
388**Maintenance Context**
389- Capture current tasks, intervals, and the basis for those intervals (OEM recommendation,
390 regulatory, experience-based)
391- Note where tasks are time-based vs condition-based
392- Capture any documented maintenance access constraints (outage required, confined space, etc.)
393
394**Failure Information**
395- Record failure modes exactly as described in the source document
396- Map to standard taxonomy terms where possible, but preserve the original language
397- Capture any quantitative data (failure rates, MTBF, Weibull parameters) with units and source
398- Note sample sizes and confidence levels where available
399
400**Protective Devices & Hidden Failures**
401- Explicitly list every protective device, alarm, trip, relief valve, standby system
402- For each, note: what it protects against, how it's tested, test interval, last known test result
403- These are the most commonly missed items in FMEAs — extracting them upfront is high-value
404
405### Combining Multiple Documents
406
407When multiple documents relate to the same asset/system:
408
409- Parse each document individually first, saving each to the skill's references directory
410- Then create a consolidated context file that merges the information, named:
411 `{client}-{asset}-consolidated-context.md`
412- Save the consolidated file to the same references directory — it replaces the individual files
413 as the primary reference for that asset (keep the individual files for traceability)
414- Where documents conflict (e.g. OEM says 500hr service interval, maintenance plan says 750hr),
415 note both values and the source of each — don't silently pick one
416- The consolidated file should cross-reference source documents for traceability:
417 "[Source: OEM Manual Rev C, Section 4.3.2]"
418- Update the SKILL.md reference table entry to point to the consolidated file
419
420### Output Quality Check
421
422Before finalising the context file, verify:
423- Every equipment item has at least one function stated (or flagged as "function not documented")
424- The hierarchy is internally consistent (no orphaned items, no gaps between levels)
425- Operating context section is populated (even if sparse — note what's missing)
426- Protective devices section is populated (or explicitly states "no protective devices identified")
427- Source references are traceable to specific sections/pages of the input document
428- The gaps/uncertainties section is honest and actionable
429
430---
431
432## General Guidance
433
434### Common Pitfalls to Flag
435
4361. **Vague failure modes** — "Component fails" is not a failure mode
4372. **Cause-mode confusion** — "Corrosion" is usually a cause, not a mode
4383. **Inconsistent scoring** — Same failure type scored differently without justification
4394. **Missing hidden failures** — Protective devices frequently missed
4405. **Single-point-of-failure blindness** — Not identifying absent redundancy
4416. **Copy-paste syndrome** — Generic descriptions reused without adaptation
4427. **Detection score confusion** — Rates current controls, not theoretical capability
4438. **Severity creep** — Everything rated 9-10 makes analysis useless for prioritisation
4449. **Missing operating context** — Same equipment, different environment = different failure behaviour
445
446### When Data is Insufficient
447
448Be transparent. State assumptions clearly. Flag where engineering judgement has been applied vs
449data-supported assessment. Recommend data collection for critical gaps. Never fabricate failure
450rate data — use qualitative ranges and state the basis.
451
452### Integration
453
454This skill works with: xlsx skill (worksheets), docx skill (reports), pptx/presentation skills
455(stakeholder presentations). Read the relevant output skill first, then apply FMECA domain knowledge.