select-parts
Skill9 starsChanged 4 months agoMITView on GitHub
从主办方配件表里按需求选器件,出 BOM/统一采购单。当用户把配件表放进 inputs/partslist/ 并要"选器件/选型/出BOM/出采购清单"时使用。先解析配件表(多模态),再按 design/solution.md 的需求 + 知识库引脚说明/金奖经验匹配选型,配件表缺的用 jlc_search 现查。产出 design/bom.csv,需人工批准。
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- boardSkill
- elec-designSkill
- firmware-scaffoldSkill
- interconnectSkill
- plan-solutionSkill
- power-designSkill
- read-problemSkill
- setup-envSkill
- test-checklistSkill
- vision-scaffoldSkill
The file
Files
select-parts —— 选材(流水线 ④)
lane: lead · needs: multimodal(解析配件表 PDF → 只 lead/Claude lane 跑) · 门: 人工批 BOM
候选器件来自主办方当年配件表(不是凭空选、也不是固定库存)。从中按需求挑,金奖经验加持。
前置
design/solution.md(需求表)。没有先跑/plan-solution。inputs/partslist/里有配件表(PDF/文本)。没有就提醒投喂,停。
步骤
- 解析配件表:Read
inputs/partslist/文件(PDF 多模态直接读),列出候选器件表:类别 / 型号 / 关键参数 / 数量(主办方给的可用项)。 - 逐子系统选型:对
solution.md子系统清单每一项,从候选表里挑满足需求的件。判据按序:- 满足需求表的硬指标(电压/电流/接口/电平/数量);
- 查 KB
03/04/05的引脚说明 + 选型理由 + 金奖经验(Read),优先 KB 里点名好用、队伍熟悉的; - 满足供电(电机驱动撑得住堵转、稳压撑得住负载——交
power-design复核)。
- 缺口回填:配件表里没有满足需求的,用
python tools/jlc_search.py "<规格>"现查在库件作候选,标注"需额外采购",并记 LCSC/价格/库存。 - 写
design/bom.csv(列见下)。每件标来源(配件表/需采购)与对应子系统、对应 lib/modules 模块块(供 interconnect 用)。 - 人工门:把 BOM 摊给用户批准(尤其"需额外采购"项与关键件额定)。批准后更新
STATUS.md,提示可并行/power-design与/interconnect。
design/bom.csv 列
subsystem,part,model,lcsc,qty,key_spec,source,module_block,note
电机驱动,TB6612FNG,TB6612FNG,C141517,1,VM≤13.5V/1.2A,配件表,tb6612fng,
主控,MSPM0G3507,MSPM0G3507,,1,M0+80MHz,配件表,mspm0g3507-min,
稳压(逻辑),AMS1117-3.3,AMS1117-3.3,C347222,1,3.3V/1A,需采购,,jlc查得
...(module_block 对应 lib/modules/<name>.yaml,没有对应块就留空,interconnect 时按需补。)
注意
- 绝不相信凭记忆的型号/参数:关键件额定(Vmax/Imax/封装/引脚)以配件表/数据手册为准;拿不准的标"待核手册"(读手册=多模态=lead)。
- 电源轨能不能撑由
power-design用power_budget.py复核,这里先保证选到候选。 - 候选器件优先复用
lib/modules/已有的 known-good 接法块。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

