Agent skill
capacitor
Use when working with capacitor components - adding capacitor patterns, parsing capacitor MPNs, extracting capacitance values, voltage ratings, dielectric types, or package codes from capacitor part numbers.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/capacitor
SKILL.md
Capacitor Component Skill
Guidance for working with capacitor components in the lib-electronic-components library.
Supported Manufacturers & Patterns
| Manufacturer | Handler | MPN Patterns | Example |
|---|---|---|---|
| Murata | MurataHandler |
GRM..., GCM..., KCA... |
GRM188R71H104KA93D |
| Samsung | SamsungHandler |
CL10B..., CL21B..., CL31B... |
CL10B104KB8NNNC |
| TDK | TDKHandler |
CH#..., MLF#... |
C1608X5R1C104K |
| Yageo | YageoHandler |
CC####... |
CC0603KRX7R9BB104 |
| KEMET | KemetHandler |
C####... |
C0603C104K5RACTU |
| AVX | AVXHandler |
TAJ..., TPS..., TCJ... |
TAJB106K016RNJ |
| Nichicon | NichiconHandler |
UUD..., UPW..., UVR... |
UUD1C101MCL1GS |
| Panasonic | PanasonicHandler |
ECQ..., EEF..., ECA... |
EEEFC1V100P |
ComponentTypes
// Base type
ComponentType.CAPACITOR
// Manufacturer-specific types
ComponentType.CAPACITOR_CERAMIC_MURATA
ComponentType.CAPACITOR_CERAMIC_TDK
ComponentType.CAPACITOR_CERAMIC_SAMSUNG
ComponentType.CAPACITOR_CERAMIC_YAGEO
ComponentType.CAPACITOR_CERAMIC_KEMET
ComponentType.CAPACITOR_CERAMIC_AVX
ComponentType.CAPACITOR_TANTALUM_KEMET
ComponentType.CAPACITOR_TANTALUM_AVX
ComponentType.CAPACITOR_ELECTROLYTIC_PANASONIC
ComponentType.CAPACITOR_ELECTROLYTIC_NICHICON
ComponentType.CAPACITOR_FILM_KEMET
ComponentType.CAPACITOR_FILM_PANASONIC
ComponentType.CAPACITOR_POLYMER_AVX
MPN Structure
Murata GRM Series (MLCC)
GRM 188 R7 1H 104 K A93 D
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ └── Packaging (D=180mm Reel)
│ │ │ │ │ │ └────── Special code
│ │ │ │ │ └──────── Tolerance (K=±10%)
│ │ │ │ └──────────── Value (104=100nF)
│ │ │ └─────────────── Voltage (1H=50V)
│ │ └────────────────── Dielectric (R7=X7R)
│ └────────────────────── Size (188=0603)
└────────────────────────── Series (GRM=General)
KEMET C Series
C 0603 C 104 K 5R AC TU
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ └── Packaging (TU=7" Reel)
│ │ │ │ │ │ └───── Termination (AC=Flex)
│ │ │ │ │ └──────── Voltage (5R=50V)
│ │ │ │ └────────── Tolerance (K=±10%)
│ │ │ └────────────── Value (104=100nF)
│ │ └──────────────── Dielectric (C=X7R)
│ └───────────────────── Size (0603)
└─────────────────────── Series
Dielectric Types
| Code | Type | Temp Range | Capacitance Change |
|---|---|---|---|
| C0G/NP0 | Class I | -55°C to +125°C | ±30ppm/°C |
| X7R | Class II | -55°C to +125°C | ±15% |
| X5R | Class II | -55°C to +85°C | ±15% |
| Y5V | Class II | -30°C to +85°C | +22%/-82% |
Adding New Capacitor Patterns
- In the manufacturer handler's
initializePatterns():
registry.addPattern(ComponentType.CAPACITOR, "^NEWCAP[0-9]{4}.*");
registry.addPattern(ComponentType.CAPACITOR_CERAMIC_MANUFACTURER, "^NEWCAP[0-9]{4}.*");
- Add to
getSupportedTypes():
types.add(ComponentType.CAPACITOR);
types.add(ComponentType.CAPACITOR_CERAMIC_MANUFACTURER);
Similarity Calculation
CapacitorSimilarityCalculator compares:
- Capacitance value
- Voltage rating
- Dielectric type (C0G, X7R, X5R, etc.)
- Package size
- Tolerance
Common Package Sizes
| Code | Metric | Size (mm) |
|---|---|---|
| 0402 | 1005 | 1.0 x 0.5 |
| 0603 | 1608 | 1.6 x 0.8 |
| 0805 | 2012 | 2.0 x 1.25 |
| 1206 | 3216 | 3.2 x 1.6 |
Murata Size Codes
| Code | Imperial |
|---|---|
| 155 | 0402 |
| 188 | 0603 |
| 21 | 0805 |
| 31 | 1206 |
| 32 | 1210 |
Learnings & Quirks
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?