electronics-sourcing
O que ela faz
Esta skill ensina seu agente a buscar componentes eletrônicos e verificar o seu preço e disponibilidade. Ela é para engenheiros, makers e compradores que precisam encontrar peças.
Quando usar
- ✓Quando você precisar encontrar uma peça eletrônica específica, como um capacitor ou um chip.
- ✓Quando quiser comparar preços e estoques entre fornecedores.
- ✓Quando uma peça estiver cara demais ou em falta e você precisar de uma alternativa.
Link da skill
https://github.com/andrewyng/context-hub/blob/main/content/sourceparts/skills/electronics-sourcing/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Quero encontrar um capacitor de 100nF 50V X7R 0402, comparar os preços e verificar se está em estoque.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente busca pelo número da peça ou pelos parâmetros e depois verifica os detalhes, os preços e o estoque. Se uma peça estiver cara demais ou indisponível, ele procura um substituto.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Electronics Sourcing Skill
This skill teaches you how to source electronic components effectively using parts-mcp tools. It covers tool sequencing, decision patterns, and how to handle common scenarios.
When to Use Which Search Tool
search_parts — Use when you have a part number, description, or general keywords. This is your default starting point.
"Find me a 100nF capacitor" → search_parts(query="100nF capacitor")
"Look up STM32F411" → search_parts(query="STM32F411")
search_by_parameters — Use when you need to match specific electrical parameters within a category. More precise than keyword search.
"I need a 50V 100nF X7R 0402 cap" → search_by_parameters(
parameters={"capacitance": "100nF", "voltage": "50V", "dielectric": "X7R", "package": "0402"},
category="capacitor"
)
Decision rule: If the user gives you 3+ specific parameters, use search_by_parameters. For part numbers or general queries, use search_parts.
The Search → Price → Availability → Alternative Pattern
This is the core sourcing workflow. Follow this sequence:
1. SEARCH → Find the part
2. DETAILS → Get full specifications (if needed for validation)
3. PRICE → Compare across suppliers
4. AVAILABILITY → Check stock levels
5. ALTERNATIVE → Find replacements (only if price is too high or stock is insufficient)
Do not skip steps 3 and 4. A part that exists in the database may be out of stock or prohibitively expensive.
When the user asks to "source" or "find" a part, they expect pricing and availability — not just search results. Always follow through to at least step 4.
BOM Processing Pattern
BOM processing is asynchronous. Always follow this exact sequence:
1. upload_bom(file_path=path) → Get job_id
2. check_bom_status(job_id=job_id) → Poll until status is "complete"
3. Review matched_parts and unknown_parts
4. For unmatched: search_parts() to resolve manually
5. calculate_bom_cost() with all resolved parts
Polling: Call check_bom_status and check the status field. If "in_progress", wait and poll again. Do not assume instant completion.
Handling unmatched parts: When unknown_parts is not empty, try search_parts with the value and footprint fields as the query. If still unmatched, report them to the user — do not silently skip them.
Datasheet Reading Strategy
Datasheets can be hundreds of pages. Always use this two-step approach:
1. list_datasheet_sections(sku="PART-NUMBER")
→ See the table of contents
→ Identify which sections contain what you need
2. read_datasheet(sku="PART-NUMBER", query="relevant keywords")
→ Read only matching chunks
→ Saves significant context window
Never call read_datasheet without a query parameter unless the datasheet is short (< 20 pages). An unfiltered read of a 200-page datasheet will consume excessive context.
Keyword tips: Use specific technical terms. "maximum input voltage absolute ratings" is better than "voltage". Multiple keywords narrow the results.
Manufacturing Pipeline
Manufacturing operations (DFM, fab quoting, assembly) are all asynchronous:
submit_dfm() → check_dfm_status() # DFM analysis
quote_fabrication() → check_manufacturing_status() # Fab quote
quote_assembly() → polls internally # Combined fab + assembly
DFM first: Always run DFM analysis before requesting a fabrication quote. DFM may reveal issues that affect manufacturability or cost.
Assembly quotes combine fabrication and BOM costing in one call. Use quote_assembly when the user wants a complete per-unit cost including both PCB fabrication and component assembly.
Handling Partial Failures
Real-world sourcing often has partial results. Handle gracefully:
Some parts not found in BOM:
- Report the unmatched count clearly
- Attempt
search_partsfor each unmatched part - If still unmatched, list them for the user with their reference designators and values
- Calculate cost for matched parts, noting the incomplete total
Some parts unavailable:
- Report which parts are out of stock
- Automatically call
find_alternativesfor each unavailable part - Present alternatives with their specifications and pricing
- Let the user decide on substitutions
Price comparison with missing suppliers:
- Report how many suppliers were checked
- Note if key suppliers (the user's preferred ones) returned no results
- Present available pricing data without wait
Perguntas frequentes
Quando devo dar mais detalhes na busca?
A skill sugere buscar por parâmetros quando você informa três ou mais valores específicos.
Por que verificar o estoque além do preço?
A skill diz para verificar tanto o preço quanto a disponibilidade antes de decidir sobre uma peça.
Qual ferramenta ela usa?
Ela usa as ferramentas parts-mcp para buscar e verificar os componentes.
Detalhes
Descrição original do autor
Guide for AI agents to source electronic components using parts-mcp — tool sequencing, decision patterns, and multi-step workflows
repo: andrewyng/context-hub
Popularidade
- Estrelas no GitHub
- 14 mil
- Posição no ranking
- #11276
- Licença
- MIT
- Atualizada em
- 31/05/2026
Comentários
- …
Mais skills deste repositório
get-api-docs
14 milAjuda seu agente a buscar documentação atual de APIs e bibliotecas de terceiros antes de escrever código, em vez de confiar em memória antiga.
bloc-cubit
14 milEnsina seu agente a gerenciar o estado de um app Flutter com Bloc ou Cubit, incluindo quando escolher cada um e padrões seguros para testes.
riverpod
14 milEnsina seu agente a gerenciar o estado de um app Flutter com Riverpod, cobrindo providers, dados assíncronos e testes, com padrões sensatos para cada caso.
document-extraction
14 milAjuda seu agente a ler PDFs, imagens e planilhas, transformá-los em texto limpo e extrair campos como totais de notas fiscais, usando o serviço ADE da LandingAI.
Skills parecidas
blucli
394 milAjuda seu agente a encontrar, tocar, pausar, agrupar e ajustar o volume de alto-falantes Bluesound e NAD pelo comando blu.
camsnap
394 milAjuda seu agente a capturar fotos, clipes curtos ou eventos de movimento de câmeras de rede e webcams locais que você configurou.
eightctl
394 milAjuda seu agente a verificar e controlar um pod da Eight Sleep, incluindo temperatura, alarmes e programações de sono.