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.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- altium-fab-package
- description
- 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.
03 SKILL.md 正文
Goal
One folder Manufacturing_<board>_Rev<x.y>\ next to the design that the user can send as it is: Gerber zip, BOM
and CPL as separate files, README, optional assembly drawing, never the schematic (FAB-05). The BOM matches the
design and every line is buildable (FAB-04, FAB-07, RQ-08); the CPL puts pin 1 where our pad 1 is (FAB-06).
Inputs
- the design in the user's own folder (WF-09);
_eda\PROJECT.mdandgates.mdwhen the project is attached - the Gerber/drill output, the CAD placement file, the BOM exported from the design
- part records (
parts.py get) for ratings when an alternate is needed
Rules to load
rules/06_FAB_OUTPUT.md(FAB-01, FAB-04..07),rules/02_REQUIREMENTS_CALCS_PARTS.md(RQ-08, RQ-09)- playbook
rules/playbooks/P9_production_package.md;rules/fab-profiles/jlcpcb_assembly.json
Approach
- Gates first (FAB-01). If the user asks for files before G1-G3 are ticked, ask for the sign-off in one line.
- BOM before CPL: a wrong LCSC number on the BOM is a wrong part on the board; a wrong rotation is a reflow. Read every line: value, rating and footprint of the LCSC part against the MPN. Different number, same rating and footprint: acceptable, but list it with its rating check and get the user's yes before applying it (RQ-08). Lower rating, other value, shared number: fix it and write it back to the design.
- Keep Mouser and DigiKey columns (FAB-04); numbers not confirmed on their page are UNCONFIRMED (RQ-09).
- CPL by numbers only: convert, fit the JLC footprints by pin number, apply offsets, then the preview part by part. A misfit pad is a library bug, not a rotation.
- Backups before changing any design file (name.ext.before_<what>.bak), reference files in
<pkg>\reference\.
Exit checks
| Check | How | Pass when |
|---|---|---|
| FAB-04, FAB-07, RQ-08 | python tools\scripts\bom_check.py <bom> --cpl <cpl> |
PASS |
| FAB-06 | cpl_check.py check <cpl> --bom <bom> --bbox ... + preview screenshots |
PASS, every polar/multi-pin part confirmed |
| FAB-05 | python tools\scripts\fab_package.py check <pkg> |
PASS |
Write back
PROJECT.md: BOM changes (designator, old, new, why), CPL offsets found, open questions_eda\ai\cpl_offsets.json(orai\): confirmed footprint offsets for reuse
Escalate when
An IC, module or connector needs another MPN; a value in the design looks wrong (5.24K that no maker makes); a DRC item below the fab's limit; a pad does not fit by pin number.
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-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.