Component Type Detection Hierarchy

Classify electronic components from Manufacturer Part Numbers using a four-level hierarchy.

3|Updated Jan 31, 2025
One-click install
npx skills add https://github.com/Cantara/lib-electronic-components --skill component-type-detection-hierarchy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Component Type Detection Hierarchy
Source: https://github.com/Cantara/lib-electronic-components/tree/main/.claude/skills/component-type-detection-hierarchy
Command: npx skills add https://github.com/Cantara/lib-electronic-components --skill component-type-detection-hierarchy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of accurately classifying electronic components, especially when dealing with diverse manufacturers and varying levels of detail in part numbers (MPNs). It provides a structured hierarchy and robust detection mechanisms to ensure consistent and precise component identification.

Core Features & Use Cases

  • Hierarchical Classification: Organizes component types into four specificity levels, from manufacturer-specific to generic.
  • MPN-based Detection: Intelligently determines component type directly from its Manufacturer Part Number (MPN).
  • Specificity Scoring: Assigns scores to types to ensure the most precise classification is always chosen.
  • Type Flags: Provides quick boolean checks for component properties like isPassive() and isSemiconductor().
  • Use Case: When processing a Bill of Materials (BOM), this skill can automatically identify each component's exact type (e.g., MOSFET_INFINEON or CAPACITOR_CERAMIC_MURATA) and its base type (MOSFET, CAPACITOR) for broader analysis.

Quick Start

Use the component type detection hierarchy skill to determine the most specific type for the MPN 'LM7805CT'.

Frequently Asked Questions about Component Type Detection Hierarchy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I classify electronic components from an MPN during BOM processing?

To classify electronic components from an MPN during BOM processing, the system uses a hierarchical detection flow that analyzes the part number and applies specificity scoring to identify the exact component type. This mechanism processes MPNs like LM7805CT to determine precise classifications.

What is the best way to identify if an electronic component is passive or a semiconductor?

The best way to identify if an electronic component is passive or a semiconductor is by using built-in type flags. These mechanisms provide quick boolean checks, returning properties like isPassive and isSemiconductor for broader component analysis.

How does specificity scoring work for electronic component classification?

Specificity scoring for electronic component classification works by assigning scores to types across four hierarchical levels, from manufacturer-specific to generic. This ensures the detection flow always selects the most precise and accurate classification available for a given MPN.

When do I need a hierarchical system for component type detection?

You need a hierarchical system for component type detection when dealing with diverse manufacturers and varying levels of detail in part numbers. It provides a structured framework to ensure consistent and precise component identification across complex BOM datasets.

Can I detect both exact and base component types from a single MPN?

Yes, you can detect both exact and base component types from a single MPN. The classification hierarchy identifies the exact type, such as MOSFET_INFINEON, while simultaneously resolving its base type, like MOSFET, for broader analysis tasks.