Claude-skill-registry ic

Use when working with integrated circuits - microcontrollers, op-amps, voltage regulators, logic ICs. Includes adding patterns, parsing MPNs, extracting specifications like voltage, package, and series information.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ic" ~/.claude/skills/majiayu000-claude-skill-registry-ic && rm -rf "$T"
manifest: skills/data/ic/SKILL.md
source content

Integrated Circuit Skill

Guidance for working with ICs (microcontrollers, op-amps, voltage regulators, logic) in the lib-electronic-components library.

Microcontrollers

Supported Manufacturers & Patterns

ManufacturerHandlerMPN PatternsExample
Microchip
MicrochipHandler
PIC#
,
dsPIC#
,
ATmega#
,
ATtiny#
PIC16F877A
,
ATmega328P
ST
STHandler
STM32#
,
STM8#
STM32F103C8T6
TI
TIHandler
MSP430#
,
CC####
MSP430G2553
NXP
NXPHandler
LPC#
,
MK#
,
IMX#
,
S32K#
LPC1768
Espressif
EspressifHandler
ESP32#
,
ESP8266
ESP32-WROOM-32
Renesas
RenesasHandler
RX#
,
RA#
,
R5F#
RX651
Infineon
InfineonHandler
XMC#
XMC4500
Cypress
CypressHandler
CY#
,
PSoC#
CY8C5888

ComponentTypes

// Base types
ComponentType.MICROCONTROLLER
ComponentType.IC

// Manufacturer-specific
ComponentType.MICROCONTROLLER_MICROCHIP
ComponentType.MICROCONTROLLER_ST
ComponentType.MICROCONTROLLER_TI
ComponentType.MICROCONTROLLER_NXP
ComponentType.MICROCONTROLLER_ESPRESSIF
ComponentType.MICROCONTROLLER_RENESAS
ComponentType.MICROCONTROLLER_INFINEON
ComponentType.MICROCONTROLLER_ATMEL

// Architecture-specific
ComponentType.PIC_MCU
ComponentType.AVR_MCU
ComponentType.MSP430_MCU
ComponentType.ESP32_SOC
ComponentType.ESP8266_SOC
ComponentType.KINETIS_MCU
ComponentType.LPC_MCU

MPN Structure - STM32

STM32 F 103 C 8 T 6
│     │ │   │ │ │ │
│     │ │   │ │ │ └── Temperature (-40 to +85°C)
│     │ │   │ │ └──── Package (T=LQFP)
│     │ │   │ └────── Flash size (8=64KB)
│     │ │   └──────── Pin count (C=48 pins)
│     │ └──────────── Performance line (103)
│     └────────────── Family (F=Foundation)
└──────────────────── Series

Op-Amps

Supported Manufacturers & Patterns

ManufacturerHandlerMPN PatternsExample
TI
TIHandler
LM###
,
TL0##
,
OPA###
LM358
,
TL072
,
OPA2134
Analog Devices
AnalogDevicesHandler
AD###
,
ADA###
,
OP##
AD8605
,
OP07
ST
STHandler
LM###
,
TS###
TS912
ON Semi
OnSemiHandler
LM###
,
MC####
MC1458

ComponentTypes

ComponentType.OPAMP
ComponentType.OPAMP_TI
ComponentType.OPAMP_AD
ComponentType.OPAMP_ST
ComponentType.OPAMP_ON
ComponentType.OPAMP_INFINEON
ComponentType.OPAMP_NXP
ComponentType.OPAMP_ROHM

Common Op-Amp Series

SeriesTypeKey Specs
LM358DualLow power, single supply
LM324QuadLow power, single supply
TL072DualJFET input, low noise
OPA2134DualAudio, low distortion
AD8605SingleRail-to-rail, CMOS
NE5532DualAudio, low noise

Voltage Regulators

Supported Manufacturers & Patterns

ManufacturerHandlerMPN PatternsExample
TI
TIHandler
LM78##
,
LM79##
,
LM317
,
TPS###
LM7805
,
LM317T
,
TPS65281
ST
STHandler
L78##
,
LD1117
L7805CV
,
LD1117V33
ON Semi
OnSemiHandler
MC78##
,
NCP###
MC7805CT
Maxim
MaximHandler
MAX###
MAX1555
Analog Devices
AnalogDevicesHandler
ADP###
,
LT####
ADP3338
,
LT1086

ComponentTypes

ComponentType.VOLTAGE_REGULATOR
ComponentType.VOLTAGE_REGULATOR_LINEAR_TI
ComponentType.VOLTAGE_REGULATOR_SWITCHING_TI
ComponentType.VOLTAGE_REGULATOR_LINEAR_ST
ComponentType.VOLTAGE_REGULATOR_SWITCHING_ST
ComponentType.VOLTAGE_REGULATOR_LINEAR_INFINEON
ComponentType.VOLTAGE_REGULATOR_SWITCHING_INFINEON
ComponentType.VOLTAGE_REGULATOR_LINEAR_ON
ComponentType.VOLTAGE_REGULATOR_SWITCHING_ON
ComponentType.VOLTAGE_REGULATOR_MAXIM
ComponentType.VOLTAGE_REGULATOR_DIODES
ComponentType.VOLTAGE_REGULATOR_ROHM
ComponentType.VOLTAGE_REGULATOR_TOSHIBA

MPN Structure - LM78xx

LM 78 05 CT
│  │  │  │
│  │  │  └── Package (CT=TO-220)
│  │  └───── Output voltage (05=5V)
│  └──────── Series (78=positive, 79=negative)
└─────────── Family

Logic ICs

Handler

LogicICHandler
handles the 74xx and CD4xxx series.

Patterns

PatternFamilyDescription
74LS###
74LSLow-power Schottky
74HC###
74HCHigh-speed CMOS
74HCT###
74HCTCMOS with TTL levels
74AHC###
74AHCAdvanced HC
74LVC###
74LVCLow-voltage CMOS
CD4###
CD4000CMOS 4000 series

ComponentTypes

ComponentType.LOGIC_IC
ComponentType.LOGIC_IC_NEXPERIA
ComponentType.LOGIC_IC_DIODES
ComponentType.DIGITAL_IC

Adding New IC Patterns

  1. In the manufacturer handler's
    initializePatterns()
    :
registry.addPattern(ComponentType.OPAMP, "^NEWOPA[0-9].*");
registry.addPattern(ComponentType.OPAMP_MANUFACTURER, "^NEWOPA[0-9].*");
  1. Add to
    getSupportedTypes()
    :
types.add(ComponentType.OPAMP);
types.add(ComponentType.OPAMP_MANUFACTURER);

Similarity Calculators

  • MicrocontrollerSimilarityCalculator
    - Compares architecture, flash, RAM, peripherals
  • OpAmpSimilarityCalculator
    - Compares GBW, slew rate, supply voltage
  • VoltageRegulatorSimilarityCalculator
    - Compares output voltage, current, dropout
  • LogicICSimilarityCalculator
    - Compares function, family, voltage levels

Common Packages

PackagePinsDescription
DIP8-40Through-hole
SOIC8-28Surface mount
TSSOP8-56Thin small outline
QFP32-256Quad flat
LQFP32-256Low-profile QFP
QFN8-88Quad flat no-lead
BGAVariousBall grid array

Learnings & Quirks

<!-- Record component-specific discoveries, edge cases, and quirks here -->