Lib-electronic-components bourns

Bourns Manufacturer Handler Skill

install
source · Clone the upstream repo
git clone https://github.com/Cantara/lib-electronic-components
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Cantara/lib-electronic-components "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/manufacturers/bourns" ~/.claude/skills/cantara-lib-electronic-components-bourns && rm -rf "$T"
manifest: .claude/skills/manufacturers/bourns/SKILL.md
source content

Bourns Manufacturer Handler Skill

Overview

BournsHandler manages Bourns electronic components including resistors, inductors, circuit protection, and sensors.

Supported Component Types

  • RESISTOR, RESISTOR_CHIP_BOURNS
  • INDUCTOR, INDUCTOR_CHIP_BOURNS, INDUCTOR_THT_BOURNS
  • POTENTIOMETER_BOURNS
  • TRANSFORMER_BOURNS
  • CIRCUIT_PROTECTION_BOURNS, TVS_DIODE_BOURNS, PPTC_FUSE_BOURNS

MPN Patterns

Resistors

PrefixDescription
CRStandard chip resistors
CRAAnti-sulfur resistors
CRFFusible resistors
CRMMELF resistors
PWRPower resistors

Inductors

PrefixDescription
SRNPower inductors (non-shielded)
SRPPower inductors (high current)
SRRPower inductors (shielded)
SDRPower inductors (unshielded)
RLBThrough-hole inductors

Circuit Protection

PrefixDescription
CDSOTTVS diode arrays
CDDFNUltra-low cap TVS arrays
MOV-Metal oxide varistors
MF-RPTC resettable fuses
MF-SSurface mount fuses

Sensors & Controls

PrefixDescription
PTAPosition sensors
PTBMotion sensors
PTVPotentiometers
PECPanel encoders
3005Cermet trimpots
3006Wirewound trimpots

Package Code Extraction

Resistor Size Codes

  • 01 = 0201/0603M
  • 02 = 0402/1005M
  • 03 = 0603/1608M
  • 06 = 0805/2012M
  • 12 = 1206/3216M
  • 20 = 2010/5025M
  • 25 = 2512/6432M

Series Extraction

Returns human-readable series names:

  • "Chip Resistor", "Anti-Sulfur Resistor", "Fusible Resistor"
  • "Shielded Inductor", "Non-Shielded Inductor", "High Current Inductor"
  • "TVS Diode Array", "Metal Oxide Varistor", "Resettable Fuse"

Replacement Logic

  • Anti-sulfur resistors can replace standard chip resistors
  • Shielded inductors can replace non-shielded of same size
  • Checks package, power rating, and tolerance compatibility

Test Patterns

When testing BournsHandler:

  1. Use documentation tests for
    matches()
    behavior
  2. Use assertions for
    extractPackageCode()
    ,
    extractSeries()
    , null handling
  3. Instantiate directly:
    new BournsHandler()