altium-component-intake
Get a number about a part from the component database, or add a part met for the first time (datasheet download, extraction, check); use whenever a design needs a pin, rating, package or application value of a part.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- altium-component-intake
- description
- Get a number about a part from the component database, or add a part met for the first time (datasheet download, extraction, check); use whenever a design needs a pin, rating, package or application value of a part.
03 SKILL.md 正文
Goal
Every device number used in a design comes from the part's record in library/parts/, with its datasheet page and
quote (RQ-01). A part or fact that is missing is added first, then read from the record.
Inputs
- the MPN or LCSC C-number, and what the design needs (a section, a fact key)
library/parts/README.md(record format and the first-time workflow),library/parts/taxonomy.json(families, required facts, units)
Rules to load
rules/02_REQUIREMENTS_CALCS_PARTS.md(RQ-01 database first, RQ-03 C-numbers, RQ-04 stock at BOM time)rules/03_LIBRARY.md(LIB-05 footprint status) when the part goes on to the library
Approach
parts.py find <mpn or C-number>. Found and PASS: read only the section needed (parts.py get <mpn> --section abs_max).- Not found:
parts.py new --lcsc C123(or offline--mpn --mfr --category),parts.py fetch <mpn> --project <p>(maker's website first for the English original, LCSC second; downloads need no question),parts.py locate <mpn>, then extract per README step 5: every required fact, pins with the exposed pad, abs max, recommended, package and land pattern, application, layout and firmware notes, each with page and quote. - Found but the needed fact is missing: fetch the datasheet if it is not on disk, extract that fact into the record.
parts.py check <mpn>until PASS, thenparts.py index. Read the number from the record, not from your notes.- Values the text layer lacks: read the page image, mark
visual, add toreview.open. - The project's PDFs stay local in
docs/datasheets/:parts.py datasheet <parts> --project <p>(or--manifest) copies them from the library cache or--searchfolders, else downloads from the record's link. Never commit a PDF. - Extracted records may be used while designing. Before G1 the user checks pins, abs max, package and every visual
value and records it with
parts.py verify;parts.py check --gatemust PASS.
Stop and ask the user (do not guess) when
parts.py checkfails and the cause is in the datasheet itself (missing page, unreadable table)- the datasheet contradicts itself, another datasheet, the supplier data or the catalog
- a downloaded datasheet has another sha256 than recorded (the maker revised it)
- the decision rests on an open
review.openitem or avisualvalue - G1 is next and
parts.py check --gatefails (pins, abs max, package or visual values not checked by the user) State the part, the fact, the pages and the options, and wait.
Exit checks
| Check | How | Pass when |
|---|---|---|
| record valid | parts.py check <mpn> |
PASS |
| index current | parts.py index |
the part is found by parts.py find |
| G1 ready | parts.py check --gate |
PASS |
Write back
- the record,
library/datasheets/index.json,library/parts/index.json(never a PDF, in any repo) PROJECT.md: parts added and any open questions to the user
04 同仓库更多 Skills
altium-rule-harvest
Turn the user's design feedback from a project into rule, guideline and user-standard proposals, plus upkeep that keeps the rules small; use at the end of every design stage, or when asked what the kit should learn from a design.
altium-orchestrator
Pick the next step in an Altium board project under projects/<name>/; use at the start of a design session or when unsure which phase, rules or playbook apply.
altium-local-library
暂无简介
altium-jlc-quote
Get JLCPCB PCB + assembly quotes for one or more boards at several quantities through the browser, including the full cost when parts are short on stock, and deliver an Excel workbook and a screenshot document; use when the user asks for a JLC (PCBA) quotation or price.
altium-fab-package
Build and check the production package for the manufacturer (Gerber zip, BOM, CPL, README, optional assembly drawing) from an Altium or KiCad design, with BOM alternates and a CPL checked by numbers; use when the user asks for fab, production or assembly files.