SkillsReviewed · aklofas

kicad-happy BOM skill

The kicad-happy BOM skill is an AI-assistant package for KiCad users managing circuit-board parts, but live sourcing requires companion tools and human checks. Its Python scripts analyze bill-of-materials fields, maintain tracking CSVs, edit schematic properties and prepare distributor and assembly files; the folder depends on shared code elsewhere in its repository.

Researched 15 Nov 2026

In short.

The kicad-happy BOM skill is an assistant skill for KiCad users preparing parts lists and assembly files, but its scripts cannot establish electrical suitability or manufacturing readiness. It combines schematic analysis, CSV maintenance, property editing, datasheet-link synchronization and supplier-file generation. Useful details include preservation of purchasing notes, support for varied field names and explicit placement-coordinate units. Significant catches include dependencies outside the folder, ordering preconditions that are not enforced by the exporter, and a BOM translator that leaves LCSC part numbers empty. Nothing was executed; reliability, live sourcing and manufacturer upload acceptance remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers skills/bom/SKILL.md, all three reference documents and all seven Python files supplied for skills/bom at commit 7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4, together with the repository-level LICENSE. Excludes the implementations of sibling KiCad, datasheets, distributor and fabrication skills, repository-wide installation material, external services and downloaded third-party datasheets. All findings concern the supplied text and code; runtime compatibility, embedded tests, live sourcing, upload acceptance and hardware behavior remain unassessed.

The overview

Identity

This is the bom skill within aklofas/kicad-happy. A bill of materials, or BOM, lists the components needed to build a circuit board. The resource combines assistant instructions, three reference documents and seven Python files. Its original directory is [https://github.com/aklofas/kicad-happy/tree/main/skills/bom].

The skill coordinates KiCad analysis with companion distributor and fabrication skills. Its local scripts handle part metadata and file preparation; actual supplier searches and design validation are responsibilities described in the instructions.

Assessment

The strongest fit is a KiCad project where component identities belong beside schematic symbols, while purchasing decisions and exceptions need to survive spreadsheet updates. The exporter distinguishes an unchanged part from a different part occupying the same references, reducing the risk of carrying old stock or validation values onto a replacement.

The instructions describe a broader process than the scripts enforce. Package matching, lifecycle checks, current stock, pricing and functional datasheet review require additional tools and judgment. The code supports a concrete data-preparation workflow, but no execution results establish its accuracy or completeness on a real project.

Users

The intended users are electronics developers, makers and teams using KiCad with an AI assistant. Beginners receive a structured path from missing part numbers to purchasing files, but still need help judging component specifications, footprints and circuit requirements.

Experienced developers may find the field-alias handling, hierarchical analysis, design-variant selection and CSV merge rules useful for existing projects with inconsistent metadata. Projects using internal component databases or external spreadsheets need an explicit mapping before adopting the schematic-centered approach.

Capabilities

The BOM manager implements human-readable and JSON analysis, recursive subsheet traversal, field-convention detection, component grouping and missing-field reports. Its code includes KiCad 10 design-variant selection. Tracking CSVs include component identity, supplier numbers, stock columns, supplier choice, validation status, population status and notes.

Separate scripts add or update schematic properties and backfill datasheet URLs from an existing download manifest. Ordering export supports DigiKey, Mouser, LCSC/JLCPCB and Newark/Farnell/element14 formats. It excludes parts marked do not populate and splits comma-separated supplier numbers into separate lines.

The BOM and placement translator accepts CSV inputs, recognizes several header conventions, filters unpopulated components and can remove placement references absent from a supplied BOM. Placement coordinates are converted to millimeters. Spreadsheet workbook input is explicitly unsupported by this translator.

Using it

Requirements

The scripts require Python 3 and shared repository modules. The path helper locates sibling kicad and datasheets directories; BOM field handling imports kicad_core.fields, and URL synchronization imports distributor_core.manifest. Although the translator describes itself as standard-library-only, its import of bom_fields also introduces the shared KiCad dependency. Copying this folder alone does not provide all required code.

Analysis and CSV export include a reader for KiCad 5 .sch files. Property editing and datasheet-link synchronization require .kicad_sch files. Live supplier work requires the corresponding companion skills and service access; their complete credential setup, quotas and dependencies are outside these files.

The minimum supported Python version, supported assistant hosts and complete compatibility matrix are unknown. Compatibility with the documented KiCad versions was not assessed.

Mechanism

The analyzer reads schematic symbol properties, resolves sheet instances and maps recognized field names to common concepts such as manufacturer part number, or MPN. It also reads numbered supplier slots. Default grouping separates populated and unpopulated components and groups by value, footprint and MPN. Conflicting supplier metadata within a group is not reconciled: those fields come from the first grouped symbol, while comments are collected.

The schematic supplies component identity, while the CSV preserves purchasing information. For an unchanged part, re-export can retain stock, validation values, supplier choices, notes and additional columns. When only references match a different part, Notes and Chosen_Distributor can still carry over. Manual rows whose references start with -- are retained. Export does not write CSV edits back into the schematic.

The property editor applies JSON updates by stored reference designator and updates all matching symbol blocks in that file. Datasheet synchronization matches symbol identifiers against a manifest, fills empty URLs and preserves differing existing URLs unless overwrite is requested. It excludes entries explicitly marked as wrong, but does not require a positive verification result.

Setup

Retain the repository layout and required shared modules when acquiring the skill. Assistant-specific registration instructions are not established by this folder. Begin with a saved schematic and inspect its existing MPN, manufacturer and supplier field conventions; the references explain aliases and KiCad's bulk symbol-field editor.

Before applying property changes, inspect a dry run and preserve a recoverable copy through version control or the optional backup flag. A KiCad lock file produces a warning rather than preventing writes. KiCad can overwrite external changes from its in-memory copy, so save existing work before editing externally and reopen the schematic afterward.

Optional project configuration supplies preferred suppliers and BOM grouping preferences. Datasheet URL synchronization additionally needs an existing datasheets directory and manifest; downloading those datasheets is handled by companion tools.

Example

A documented starting command is python3 skills/bom/scripts/bom_manager.py analyze board.kicad_sch --recursive --json. After supplier research and part review, a prepared updates.json can be previewed with python3 skills/bom/scripts/edit_properties.py board.kicad_sch --updates updates.json --dry-run. These are illustrative commands; neither was executed.

A tracking CSV can then be exported with python3 skills/bom/scripts/bom_manager.py export board.kicad_sch -o bom/bom.csv --recursive. For a hypothetical row with Qty equal to 2, generating an order with --boards 5 --spares 2 calculates 12 pieces for quantity-bearing supplier formats. Spares are a flat addition per line, not a percentage.

LCSC/JLCPCB output is an important exception: its order-file writer omits a quantity column, so the board multiplier and spares are not represented in that file. Purchase or assembly quantities must be handled separately.

Assessment & evidence

Limitations

Order generation does not enforce the instructions' readiness conditions. It does not require fresh stock, completed validation or a gap-free BOM. Rows without a chosen supplier or applicable supplier number can be skipped or reported as errors while other order files are written. Returned row-level errors do not cause the order CLI to set a failing exit status, so automation must inspect its result.

A non-digit CSV quantity falls back to one, and board and spare arguments have no positive-range validation. The BOM translator writes an empty LCSC Part # column even if supplier codes existed in the input. This differs from the BOM manager's LCSC writer, which uses the supplier numbers stored in the tracking CSV.

Recursive traversal skips referenced subsheet files that do not exist. The property editor targets stored references in one file, whereas analysis resolves hierarchical instances; neither the property editor nor URL synchronizer exposes variant selection. Repeated-sheet and variant-specific edits therefore need particular care.

Placement conversion handles coordinate units and layer labels but passes supplied rotations through, substituting zero when rotation is blank. Rows with invalid coordinates can be omitted and counted. Neither conversion nor a clean missing-field report establishes correct assembly orientation, electrical function or fabrication acceptance.

Fit rationale

The case for adoption rests on specific bookkeeping features: recognizing existing field conventions, keeping component identities in schematics and preserving purchasing annotations during export. These address recurring coordination problems between design and ordering. The fit is strongest when a user wants an assistant to organize that work and can review the resulting changes.

The same evidence supports a narrower expectation for automation: generated files are preparation artifacts. The source does not establish that they contain suitable parts, current availability or an assembly-ready design.

Alternatives

For a small BOM, KiCad's Edit Symbol Fields interface provides direct bulk editing and CSV export/import without this assistant workflow. The references also describe supplier-hosted tools such as DigiKey BOM Manager and Mouser FORTE for uploading and matching a parts list. Their current terms, costs and matching quality are unknown here.

For hand assembly, the skill documents InteractiveHtmlBom as an optional tool that creates a visual component-location page. It serves a different need from supplier selection and ordering-file preparation. No comparative performance or accuracy testing is supplied.

Evidence

The fixed source directory is [https://github.com/aklofas/kicad-happy/tree/7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4/skills/bom]. The supplied material includes the complete selected folder and repository licence notice. The scripts substantiate local parsing, merging, editing and conversion behavior; documentation supplies the broader sourcing process.

The translator contains embedded smoke-test code, but no execution results were supplied. No scripts, tests, distributor requests, manufacturer uploads, purchases or hardware checks were performed. Shared core implementations and companion supplier skills are outside the supplied scope.

Access & freshness

Costs

The MIT licence grants software use free of charge. Operating costs for an assistant or model, supplier API access, components, shipping, fabrication and assembly are unknown from this evidence. No total adoption cost or savings estimate is established.

The reference contains example cost summaries and approximate manufacturing prices, not current quotations. Actual pricing needs a fresh supplier query at the intended order quantity. Saved stock and price metadata should not be treated as current purchasing information.

Rights

The supplied repository LICENSE is the MIT License, copyright 2025 Andrew Klofas. It permits use, copying, modification, redistribution, sublicensing and sale of the software and accompanying documentation, provided the copyright and permission notices remain in copies or substantial portions. It supplies no warranty.

The licence notice is available at [https://raw.githubusercontent.com/aklofas/kicad-happy/7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4/LICENSE]. Rights to third-party datasheet PDFs downloaded later are not established by this repository licence.

Freshness

The supplied snapshot was captured on 15 November 2026 at 19:07:20.854 UTC and is pinned to commit 7d9d4d9fef87ac2d3eb16cfc5cdc9a0869f417f4. Capture time does not establish the source's last maintenance date. A release version, later changes and present supplier-service compatibility are unknown.

Stock, prices, supplier identifiers and upload requirements can change independently of this code. The instructions explicitly call for fresh stock and pricing checks before ordering; persisted CSV values are historical data until rechecked.

Suggested next steps

Before adopting it, confirm the shared repository dependencies and assistant registration method. On a recoverable project copy, inspect recursive analysis for missing sheets, conflicting identifiers and unexpected grouping. Preview property edits, compare resulting schematic changes and check which notes and supplier choices survive a CSV re-export.

Before using order or assembly files, inspect every skipped row and reported error, confirm quantities and do-not-populate settings, and check that required LCSC numbers are present. Supply the actual source units for placement conversion and inspect positions and rotations in the manufacturer's preview. Recheck supplier stock, pricing and component suitability before purchase.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/bom/SKILL.mdselected · checked 2026-11-15
skills/bom/references/kicad-fields.mdselected · checked 2026-11-15
skills/bom/scripts/_core_path.pyselected · checked 2026-11-15
skills/bom/scripts/bom_fields.pyselected · checked 2026-11-15
skills/bom/scripts/bom_manager.pyselected · checked 2026-11-15
skills/bom/scripts/edit_properties.pyselected · checked 2026-11-15
skills/bom/scripts/kicad_sexp.pyselected · checked 2026-11-15
skills/bom/scripts/sync_datasheet_urls.pyselected · checked 2026-11-15
skills/bom/scripts/translate_bom_pnp.pyselected · checked 2026-11-15