スキル一覧に戻る
Cantara

connector

by Cantara

1🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: connector description: Use when working with connector components - headers, sockets, wire-to-board, board-to-board connectors. Includes adding patterns, parsing connector MPNs, extracting pin count, pitch, and series information.

Connector Component Skill

Guidance for working with connector components in the lib-electronic-components library.

Supported Manufacturers & Patterns

ManufacturerHandlerMPN PatternsExample
WurthWurthHandler61########, 62########6130xx14021
MolexMolexHandler43###-####, 39###-####, 53###-####43045-0212
TE ConnectivityTEHandler1-######, 2-######, 282###-#282836-3
JSTJSTHandlerPH#, EH#, XH#, ZH#PHR-2
HiroseHiroseHandlerDF#, FH#, BM#, ZX#DF13-2P-1.25DSA
AmphenolAmphenolHandler10####, 20####`10127716-001

ComponentTypes

// Base type
ComponentType.CONNECTOR

// Manufacturer-specific types
ComponentType.CONNECTOR_WURTH
ComponentType.CONNECTOR_MOLEX
ComponentType.CONNECTOR_TE
ComponentType.CONNECTOR_JST
ComponentType.CONNECTOR_HIROSE
ComponentType.CONNECTOR_AMPHENOL
ComponentType.CONNECTOR_HARWIN

Wurth Connectors

MPN Structure

61 300 14 021 1
│  │   │  │   │
│  │   │  │   └── Variant (plating, orientation)
│  │   │  └────── Pitch code (021=2.00mm, 254=2.54mm)
│  │   └───────── Pin count (14 pins)
│  └───────────── Series (300=WR-PHD)
└──────────────── Product family (61=Headers)

Series Codes

PrefixSeriesDescription
61Pin HeadersMale headers
62Socket HeadersFemale headers
613WR-PHDPin Header Double Row
614WR-BHDBox Header
615WR-TBLTerminal Blocks

Molex Connectors

Series & Families

SeriesFamilyPitchCurrent
43045Micro-Fit 3.03.00mm5A
39281Mini-Fit Jr.4.20mm9A
53261PicoBlade1.25mm1A
22057KK 2542.54mm3A
51021PicoClasp1.00mm1A
51047Nano-Fit2.50mm3.5A

MPN Structure

43045 - 0212
│       │
│       └── Position/variant (02=2 circuits, 12=vertical)
└────────── Series (Micro-Fit 3.0)

JST Connectors

Series

SeriesPitchDescription
PH2.00mmWire-to-board
XH2.50mmWire-to-board
EH2.50mmWire-to-board
ZH1.50mmWire-to-board
SM2.50mmWire-to-wire
PA2.00mmHigh density

MPN Pattern

PHR-2
│  │
│  └── Pin count
└───── Series (PH = 2.0mm pitch)
       R = Receptacle housing

TE Connectivity Connectors

MPN Patterns

PatternDescription
1-######Legacy part numbers
2-######Current part numbers
282###-#Terminal blocks

Adding New Connector Patterns

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

Similarity Calculation

ConnectorSimilarityCalculator compares:

  • Pin count
  • Pitch
  • Connector type (header, socket, wire-to-board)
  • Current rating
  • Series family

Key Handler Methods

Extract Series

// Returns "61300" from Wurth header
handler.extractSeries("6130014021");

// Returns "43045" from Molex
handler.extractSeries("43045-0212");

Extract Pin Count

Most handlers can extract pin count from MPN for matching purposes.

Connector Handler Registry

There's also a specialized connector handler system in connectors/ package:

  • ConnectorHandler - Interface for connector-specific parsing
  • ConnectorHandlerRegistry - Registry of connector handlers
  • TEConnectorHandler - TE-specific parsing
  • WurthHeaderHandler - Wurth header parsing

Learnings & Quirks

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です