electronics-sourcing
Fungsinya
Skill ini mengajari agent Anda cara mencari komponen elektronik dan memeriksa harga serta ketersediaannya. Skill ini ditujukan untuk insinyur, pembuat, dan pembeli yang perlu mencari komponen.
Kapan dipakai
- โSaat Anda perlu mencari komponen elektronik tertentu, seperti kapasitor atau chip.
- โSaat Anda ingin membandingkan harga dan stok antar pemasok.
- โSaat suatu komponen terlalu mahal atau habis dan Anda membutuhkan alternatif.
Link skill
https://github.com/andrewyng/context-hub/blob/main/content/sourceparts/skills/electronics-sourcing/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin mencari kapasitor 100nF 50V X7R 0402, membandingkan harganya, dan memeriksa apakah stoknya tersedia.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mencari berdasarkan nomor komponen atau parameter, lalu memeriksa detail, harga, dan stok. Jika suatu komponen terlalu mahal atau tidak tersedia, agent mencari penggantinya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Kapan saya sebaiknya memberikan detail lebih banyak dalam pencarian?
Skill ini menyarankan pencarian berdasarkan parameter jika Anda memberikan tiga nilai spesifik atau lebih.
Mengapa stok juga perlu diperiksa selain harga?
Skill ini menyebutkan bahwa harga dan ketersediaan perlu diperiksa sebelum memutuskan sebuah komponen.
Alat apa yang dipakai?
Skill ini memakai alat parts-mcp untuk mencari dan memeriksa komponen.
Detail
Deskripsi asli dari pembuat
Guide for AI agents to source electronic components using parts-mcp โ tool sequencing, decision patterns, and multi-step workflows
repo: andrewyng/context-hub
Popularitas
- Bintang GitHub
- 14k
- Peringkat
- #11276
- Lisensi
- MIT
- Diperbarui
- 31/5/2026
Komentar
- โฆ
Skill lain dari repositori ini
get-api-docs
14kMembantu agent Anda mengambil dokumentasi terbaru untuk API dan pustaka pihak ketiga sebelum menulis kode, bukan mengandalkan ingatan lama.
bloc-cubit
14kMengajari agent Anda cara mengelola status aplikasi di Flutter dengan Bloc atau Cubit, termasuk kapan memilih masing-masing dan pengaturan awal yang aman untuk pengujian.
riverpod
14kMengajari agent Anda cara mengelola status aplikasi Flutter dengan Riverpod, mencakup provider, data asinkron, dan pengujian, dengan pengaturan standar yang masuk akal untuk setiap kasus.
document-extraction
14kMembantu agent Anda membaca PDF, gambar, dan spreadsheet, mengubahnya menjadi teks bersih, serta mengambil field seperti total faktur dengan layanan ADE dari LandingAI.
Skill serupa
blucli
394kMembantu agent Anda menemukan, memutar, menjeda, mengelompokkan, dan mengatur volume speaker Bluesound dan NAD lewat perintah blu.
camsnap
394kMembantu agent Anda mengambil foto, klip pendek, atau peristiwa gerakan dari kamera jaringan dan webcam lokal yang sudah Anda atur.
eightctl
394kMembantu agent Anda memeriksa dan mengendalikan perangkat Eight Sleep, termasuk suhu, alarm, dan jadwal tidurnya.