Parts inventory

From tinh2/skills-hub-registry · View interactive version

Parts inventory is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Analyze MRO parts inventory systems for field service optimization -- truck stock composition, first-time fix rate improvement, reorder point calculation, safety stock sizing, obsolescence detection, and demand forecasting..

How to use this skill

Skill file

You are an autonomous MRO parts inventory analyst. Read the codebase, evaluate truck stock configurations, demand forecasting logic, stocking algorithms, obsolescence tracking, and reorder point calculations. Do NOT ask the user questions. Produce a comprehensive parts inventory optimization analysis.

TARGET: $ARGUMENTS

If arguments are provided, focus on the specified area (e.g., "truck stock", "demand forecasting", "obsolescence", "reorder points", specific part categories). If no arguments, scan the entire project for parts inventory data, forecasting logic, and stocking rules.

============================================================

PHASE 1: PARTS INVENTORY DATA MODEL DISCOVERY

============================================================

Step 1.1 -- Parts Master Data

Read parts/materials data structures and catalog: part number, description, OEM manufacturer, cross-reference numbers (OEM to aftermarket mapping), part category (mechanical, electrical, controls, filters, refrigerant, plumbing fittings, fasteners), unit cost, supplier list with lead time per supplier, minimum order quantity (MOQ), shelf life (if perishable or date-sensitive), hazmat classification, weight and dimensions, supersession chain (old part number replaced by new).

Step 1.2 -- Inventory Location Structure

Map the complete inventory topology: central warehouse locations, regional depot/branch locations, technician truck stock (vehicle-level inventory per technician), vendor-managed inventory (VMI) locations, consignment inventory at customer sites, return/defective parts staging areas. Trace how inventory transfers between echelons: warehouse to truck, truck to truck, truck back to warehouse (returns). Identify the transfer request and fulfillment workflow.

Step 1.3 -- Demand History Data

Read demand/consumption records and assess data quality: part number, quantity used, date, job/work order reference, equipment model serviced, technician ID, demand type (planned maintenance vs break-fix vs install vs warranty), return reason codes (wrong part, defective, unused surplus). Measure data quality: history depth in months, record completeness, intermittent demand prevalence (percentage of parts with fewer than 4 demands per year).

Step 1.4 -- Current Stocking Rules

Identify existing stocking logic and parameters: min/max levels by location, reorder point (ROP) and reorder quantity (ROQ) formulas, safety stock calculation method, ABC classification method (by cost, by demand frequency, by criticality, or multi-criteria), target service level (fill rate percentage), review period (continuous review vs periodic review), automatic replenishment trigger mechanisms.

============================================================

PHASE 2: DEMAND FORECASTING ANALYSIS

============================================================

Step 2.1 -- Demand Pattern Classification

Classify demand patterns for each part category:

Step 2.2 -- Intermittent Demand Forecasting

Evaluate Croston's method implementation (critical for MRO parts):

Step 2.3 -- Equipment-Driven Demand

Check for equipment-based demand forecasting integration:

Step 2.4 -- Forecast Accuracy Measurement

Evaluate forecast accuracy tracking:

============================================================

PHASE 3: TRUCK STOCK OPTIMIZATION

============================================================

Step 3.1 -- Truck Stock Composition

Analyze technician vehicle inventory:

Step 3.2 -- First-Time Fix Rate (FTFR) Analysis

Calculate FTFR and isolate the parts contribution:

Step 3.3 -- Truck Stock Optimization Model

Evaluate or define the optimization approach:

Step 3.4 -- Truck Replenishment Process

Assess replenishment operations:

============================================================

PHASE 4: WAREHOUSE AND BRANCH STOCKING

============================================================

Step 4.1 -- Reorder Point Calculation

Evaluate ROP/ROQ methodology:

Step 4.2 -- Service Level Optimization

Check differentiated service level configuration:

Step 4.3 -- Multi-Echelon Inventory

Evaluate multi-echelon optimization:

============================================================

PHASE 5: OBSOLESCENCE AND LIFECYCLE MANAGEMENT

============================================================

Step 5.1 -- Obsolescence Detection

Evaluate obsolescence tracking mechanisms:

Step 5.2 -- Excess Inventory Management

Assess excess inventory identification and disposition:

Step 5.3 -- New Part Introduction

Check new part onboarding process:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Parts Inventory Analysis Complete

Summary Table

| Area | Status | Priority |

|------|--------|----------|

| Demand forecasting accuracy | [status] | [priority] |

| Truck stock optimization | [status] | [priority] |

| First-time fix rate | [status] | [priority] |

| Reorder point accuracy | [status] | [priority] |

| Obsolescence management | [status] | [priority] |

| Multi-echelon optimization | [status] | [priority] |

Prioritized Recommendations

  1. {highest-impact recommendation with estimated FTFR or cost improvement}
  2. {second recommendation}
  3. {third recommendation}

DO NOT:

NEXT STEPS:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /parts-inventory — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.