AgentSkillsCN

Hirose

广濑

SKILL.md

Hirose Manufacturer Handler Skill

Overview

HiroseHandler manages Hirose connectors including DF13, DF14, FH12, BM, DF52, DF63, FH19, FH28, and GT17 series.

Supported Component Types

  • CONNECTOR
  • CONNECTOR_HIROSE

MPN Patterns

DF13 Series (1.25mm pitch, 1A)

PatternDescription
DF13-xP-xxxThrough-hole vertical
DF13-xR-xxxThrough-hole right angle
DF13-xS-xxxSurface mount

DF14 Series (1.25mm pitch, 2A, Automotive)

PatternDescription
DF14-xP-xxxThrough-hole vertical
DF14-xR-xxxThrough-hole right angle
DF14-xS-xxxSurface mount

FH12 Series (0.5mm pitch, FFC/FPC)

PatternDescription
FH12-xS-xxxSocket (bottom contact)
FH12-xP-xxxSocket (top contact)

BM Series (USB Connectors)

PatternDescription
BMxx-xxxUSB Type connectors

Additional Series

SeriesPitchApplication
DF520.8mmBoard-to-board
DF630.5mmBoard-to-FPC
FH190.4mmFFC/FPC
FH280.4mmDual row FFC/FPC
GT170.5mmBoard-to-board

Package Code Extraction

Returns suffix after last dash (e.g., "DF13-5P-1.25DS" returns "1.25DS").

Series Extraction

Returns series prefix (e.g., "DF13", "FH12", "BM").

Helper Methods

  • getPitch(mpn) - Returns pitch in mm
  • getMountingType(mpn) - Returns SMT, THT, or Other
  • getOrientation(mpn) - Returns Right Angle or Vertical
  • getRatedCurrent(mpn) - Returns rated current in Amps
  • isShielded(mpn) - Returns true if DS/DSS in package code
  • getContactPlating(mpn) - Returns Gold, Tin, or Standard
  • isLockingType(mpn) - Returns true for DF series
  • getApplicationType(mpn) - Returns FFC/FPC, USB, Board-to-Board, Automotive, or General Purpose

Replacement Logic

  • Must be from same series
  • Must have same pin count
  • Must have compatible mounting type

Test Patterns

When testing HiroseHandler:

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

Known Handler Issues

All issues fixed in PR #88