.claude/skills/manufacturers/sunlord/SKILL.md
Sunlord Electronics inductor and ferrite bead MPN encoding patterns, value decoding, and handler guidance. Use when working with Sunlord inductors or SunlordHandler.
npx skillsauth add Cantara/lib-electronic-components sunlordInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Sunlord MPNs follow this structure:
[SERIES][SIZE][TYPE][VALUE][TOLERANCE][OPTIONS]
| | | | | |
| | | | | +-- Packaging/options
| | | | +-- M=20%, K=10%, J=5%
| | | +-- Inductance code (see below)
| | +-- Type/characteristics code
| +-- 4-digit metric size code
+-- Series prefix (SDCL, SWPA, SDFL, GZ)
SDCL1005C1R0MTDF
| | || ||||
| | || |||+-- Additional options
| | || ||+-- Packaging (T=Tape/Reel)
| | || |+-- Tolerance (M=+/-20%)
| | || +-- Inductance (1R0 = 1.0uH)
| | |+-- Type code (C)
| | +-- Size (1005 = 1.0mm x 0.5mm = 0402 imperial)
| +-- Series
+-- SDCL = Power Inductor
GZ2012D601TF
| | || ||
| | || |+-- Packaging (F)
| | || +-- Tolerance (T)
| | |+-- Impedance (601 = 600 ohm at 100MHz)
| | +-- Type code (D)
| +-- Size (2012 = 2.0mm x 1.2mm = 0805 imperial)
+-- GZ = Ferrite Bead
| Feature | Description |
|---------|-------------|
| Type | Power inductor |
| Pattern | ^SDCL[0-9]{4}.* |
| Value encoding | Inductance in uH |
| Feature | Description |
|---------|-------------|
| Type | Power inductor (shielded) |
| Pattern | ^SWPA[0-9]{4}.* |
| Value encoding | Inductance in uH |
| S prefix in type | Indicates shielded |
| Feature | Description |
|---------|-------------|
| Type | Ferrite chip inductor |
| Pattern | ^SDFL[0-9]{4}.* |
| Value encoding | Inductance in uH |
| Feature | Description |
|---------|-------------|
| Type | Ferrite bead |
| Pattern | ^GZ[0-9]{4}.* |
| Value encoding | Impedance at 100MHz in ohms |
Sunlord uses a 3-character inductance code:
| Code | Value | Calculation | |------|-------|-------------| | R47 | 0.47uH | 0.47 | | R10 | 0.10uH | 0.10 | | 1R0 | 1.0uH | 1.0 | | 2R2 | 2.2uH | 2.2 | | 4R7 | 4.7uH | 4.7 |
| Code | Value | Calculation | |------|-------|-------------| | 100 | 10uH | 10 x 10^0 | | 101 | 100uH | 10 x 10^1 | | 102 | 1000uH (1mH) | 10 x 10^2 | | 220 | 22uH | 22 x 10^0 | | 221 | 220uH | 22 x 10^1 | | 470 | 47uH | 47 x 10^0 | | 471 | 470uH | 47 x 10^1 |
// R at start = sub-1uH value
if (code.startsWith("R")) {
return Double.parseDouble("0." + code.substring(1)); // R47 -> 0.47
}
// R in middle = decimal point
if (code.contains("R")) {
return Double.parseDouble(code.replace("R", ".")); // 1R0 -> 1.0
}
// 3-digit code: first 2 digits x 10^(3rd digit)
int mantissa = Integer.parseInt(code.substring(0, 2));
int exponent = Integer.parseInt(code.substring(2, 3));
return mantissa * Math.pow(10, exponent); // 101 -> 10 x 10^1 = 100
GZ series uses 3-digit impedance code (at 100MHz):
| Code | Impedance | Calculation | |------|-----------|-------------| | 601 | 600 ohm | 60 x 10^1 | | 121 | 120 ohm | 12 x 10^1 | | 102 | 1000 ohm | 10 x 10^2 | | 220 | 22 ohm | 22 x 10^0 |
int mantissa = Integer.parseInt(code.substring(0, 2));
int exponent = Integer.parseInt(code.substring(2, 3));
return mantissa * Math.pow(10, exponent); // 601 -> 60 x 10^1 = 600
| Metric (mm) | Imperial | Notes | |-------------|----------|-------| | 1005 | 0402 | 1.0 x 0.5mm | | 1608 | 0603 | 1.6 x 0.8mm | | 2012 | 0805 | 2.0 x 1.2mm | | 3216 | 1206 | 3.2 x 1.6mm | | 3225 | 1210 | 3.2 x 2.5mm | | 4516 | 1806 | 4.5 x 1.6mm | | 4520 | 1808 | 4.5 x 2.0mm | | 4532 | 1812 | 4.5 x 3.2mm | | 5025 | 2010 | 5.0 x 2.5mm | | 6332 | 2512 | 6.3 x 3.2mm |
| Size | Dimensions | |------|------------| | 2520 | 2.5 x 2.0mm | | 3015 | 3.0 x 1.5mm | | 4020 | 4.0 x 2.0mm | | 4030 | 4.0 x 3.0mm | | 5020 | 5.0 x 2.0mm | | 5030 | 5.0 x 3.0mm | | 6020 | 6.0 x 2.0mm | | 6030 | 6.0 x 3.0mm |
| Code | Tolerance | |------|-----------| | J | +/- 5% | | K | +/- 10% | | M | +/- 20% |
// Returns series + size as the full series identifier
// Example: SDCL1005C1R0MTDF -> "SDCL1005"
if (mpn.startsWith("SDCL")) {
return "SDCL" + mpn.substring(4, 8); // SDCL + 4-digit size
}
if (mpn.startsWith("SWPA")) {
return "SWPA" + mpn.substring(4, 8);
}
if (mpn.startsWith("SDFL")) {
return "SDFL" + mpn.substring(4, 8);
}
if (mpn.startsWith("GZ")) {
return "GZ" + mpn.substring(2, 6); // GZ only has 2-letter prefix
}
// Extract 4-digit size code and convert to imperial
String sizeCode = extractSizeCode(mpn); // e.g., "1005"
String imperial = SIZE_TO_IMPERIAL_MAP.get(sizeCode); // e.g., "0402"
return imperial != null ? imperial : sizeCode;
// For inductors (SDCL, SWPA, SDFL) - extract inductance
public String extractInductanceValue(String mpn) {
// Match pattern and extract value code from group 4
Matcher m = SDCL_PATTERN.matcher(mpn);
if (m.matches()) {
return parseInductanceCode(m.group(4));
}
// ... similar for SWPA, SDFL
}
// For ferrite beads (GZ) - extract impedance
public String extractImpedanceValue(String mpn) {
Matcher m = GZ_PATTERN.matcher(mpn);
if (m.matches()) {
return parseImpedanceCode(m.group(4));
}
}
Sunlord products map to:
INDUCTOR - All inductor productsIC - Also registered under IC for pattern matching compatibilityNote: Handler registers both types for each pattern.
| MPN | Description | |-----|-------------| | SDCL1005C1R0MTDF | 1.0uH power inductor, 0402, 20% | | SWPA4020S100MT | 10uH shielded power inductor, 4020 | | SDFL2012T1R0M3B | 1.0uH ferrite chip inductor, 0805 | | GZ2012D601TF | 600 ohm ferrite bead, 0805 |
manufacturers/SunlordHandler.javaINDUCTOR, ICdata-ai
Cost-effective task delegation strategy using Haiku model for straightforward work. Use when planning how to approach simple, pattern-following tasks to minimize costs.
tools
Use when working with component similarity calculations - comparing MPNs, finding equivalent parts, implementing new similarity calculators, or understanding how component matching works.
testing
Use when working with transistor similarity calculations - comparing BJT MPNs, understanding NPN/PNP polarity matching, equivalent groups like 2N2222/PN2222, or transistor-specific similarity logic.
testing
Use when working with sensor similarity calculations - comparing temperature/accelerometer/humidity sensor MPNs, understanding sensor families, equivalent parts, or sensor-specific similarity logic.