manufacturer-agent
БесплатноБез исполняемых скриптовНе проверенWeb-augmented agent for creating manufacturer skills and comprehensive tests. Use when adding or improving support for a manufacturer handler.
от majiayu000★ 31 звезда на GitHubОб этом скилле
Manufacturer Agent
Automated agent for creating detailed manufacturer skills and comprehensive test coverage.
Usage
/manufacturer-agent <manufacturer-name>
Examples:
/manufacturer-agent ST- STMicroelectronics/manufacturer-agent NXP- NXP Semiconductors/manufacturer-agent Infineon- Infineon Technologies/manufacturer-agent Microchip- Microchip Technology
Agent Workflow
Execute these phases in order:
Phase 1: Analyze Existing Handler
Find the handler file:
Glob: src/main/java/**/manufacturers/*Handler.javaRead the handler and extract:
- All patterns registered in
initializePatterns() - Supported ComponentTypes from
getSupportedTypes() - Package code mappings in
extractPackageCode() - Series extraction logic in
extractSeries() - Any special matching logic in
matches()
- All patterns registered in
Identify issues:
- Uses
HashSetinstead ofSet.of()? - Uses default
matches()with multi-pattern types? - Missing case-insensitive handling?
- Uses
Phase 2: Web Research
Search for manufacturer documentation using these queries:
WebSearch: "{manufacturer} part number naming convention"
WebSearch: "{manufacturer} ordering information guide"
WebSearch: "{manufacturer} package marking code"
WebSearch: "{manufacturer} product selector guide filetype:pdf"
For each relevant result, fetch and analyze:
WebFetch: <url>
Prompt: "Extract the MPN structure, package codes, temperature grades, and family prefixes from this page"
Key information to gather:
- MPN structure breakdown (prefix, series, variant, package, temp, qualifier)
- Package code table (e.g., N=DIP, D=SOIC, PW=TSSOP)
- Temperature grade suffixes (I=Industrial, Q=Automotive, M=Military)
- Family prefixes and what they indicate
- Common product series with examples
- Any naming quirks or conflicts (like TI's LM35 vs LM358)
Phase 3: Gather Real MPN Examples
Search for real part numbers to use in tests:
WebSearch: "{manufacturer} {product-type} datasheet"
Product types to search based on handler's supported types:
- Microcontroller → "STM32 datasheet", "PIC microcontroller"
- MOSFET → "IRFZ44N datasheet", "STF5N52U"
- Op-amp → "LM358 datasheet", "TL072"
- Voltage regulator → "LM7805 datasheet"
Collect 5-10 real MPNs for each supported ComponentType.
Phase 4: Generate Skill File
Create .claude/skills/manufacturers/{manufacturer}/SKILL.md following this template:
---
name: {manufacturer-lowercase}
description: {Manufacturer} MPN encoding patterns, suffix decoding, and handler guidance.
---
# {Manufacturer} Manufacturer Skill
## MPN Structure
{Diagram showing MPN breakdown}
### Example Decoding
{2-3 annotated examples}
---
## Package Codes
### Through-Hole Packages
| Code | Package | Notes |
|------|---------|-------|
### Surface Mount Packages
| Code | Package | Notes |
|------|---------|-------|
---
## Family Prefixes
| Prefix | Category | Examples |
|--------|----------|----------|
---
## Temperature Grades
| Suffix | Range | Application |
|--------|-------|-------------|
---
## Common Series Reference
{Tables of common product series}
---
## Handler Implementation Notes
### Package Code Extraction
{Code examples and gotchas}
### Series Extraction
{Code examples}
### Known Issues
{Any bugs or limitations found}
---
## Related Files
- Handler: `manufacturers/{Handler}.java`
- Component types: {list types}
- Test: `handlers/{Handler}Test.java`
---
## Learnings & Edge Cases
{Bullet points of discoveries}
<!-- Add new learnings above this line -->
Phase 5: Generate Test File
Create src/test/java/no/cantara/electronic/component/lib/handlers/{Handler}Test.java:
CRITICAL: Test Design Principles
- ALL TESTS MUST PASS - Never commit failing tests
- Document bugs in SKILL.md and CLAUDE.md, not via failing assertions
- Handler behavior can be non-deterministic due to test execution order and shared PatternRegistry
- For flaky behavior, use documentation tests (no assertions) instead of assertTrue/assertFalse
Test Categories:
| Category | Assertion Type | When to Use |
|---|---|---|
| Stable behavior | assertTrue/assertFalse |
Handler behavior is consistent |
| Flaky behavior | System.out.println only |
Behavior varies by test order |
| Bug documentation | Comments + SKILL.md | Document in files, not tests |
Structure:
package no.cantara.electronic.component.lib.handlers;
import no.cantara.electronic.component.lib.ComponentType;
import no.cantara.electronic.component.lib.PatternRegistry;
import no.cantara.electronic.component.lib.manufacturers.{Handler};
import org.junit.jupiter.api.*;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.*;
import static org.junit.jupiter.api.Assertions.*;
class {Handler}Test {
private static {Handler} handler;
private static Patte
Установить manufacturer-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл manufacturer-agent?
Web-augmented agent for creating manufacturer skills and comprehensive tests. Use when adding or improving support for a manufacturer handler.
Как установить скилл manufacturer-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manufacturer-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic