Open-source engineering intelligence, Design for Manufacturing (DFM) rules, and pre-flight validation skills for AI agents designing electronics.
Large Language Models (LLMs) excel at coding, but when applied to electronic design, they treat schematics as plain text graphs (U1.Pin4 -> R1.Pin1). An LLM has no intrinsic awareness that:
- A linear regulator dropping
$12,\text{V} \rightarrow 3.3,\text{V}$ at$500,\text{mA}$ will overheat and burn without a heatsink or buck topology. - Pulling ESP32
GPIO12high at power-up sets flash voltage to$1.8,\text{V}$ , bricking boot for$3.3,\text{V}$ flash modules. - Leaving
$2,\text{A}$ power rails on$0.2,\text{mm}$ traces violates IPC-2152 thermal rise standards. - Crossing a split ground plane with a USB
$90,\Omega$ differential pair creates an unintentional loop antenna radiating EMI.
HEA (Hardware Engineering Assistant) bridges this gap. It equips autonomous AI agents with rigorous engineering methodologies, deterministic heuristics, and automated checklists, turning raw EDA tools into an Autonomous Junior Hardware Engineer.
┌──────────────────────────────────────────────────────────────────┐
│ Hardware Engineering Assistant (HEA) │
│ Engineering Heuristics • DFM Checklists • Pre-Flight Rules │
└────────────────────────────────┬─────────────────────────────────┘
│
┌───────────────────────────┴───────────────────────────┐
▼ ▼
┌──────────────────────────┐ ┌──────────────────────────┐
│ EasyEDA Pro MCP Bridge │ │ KiCad MCP (Roadmap) │
│ (Live CAD Inspection) │ │ (CLI & pcbnew Python) │
└─────────────┬────────────┘ └────────────┬─────────────┘
│ │
└───────────────────────────┬───────────────────────────┘
▼
┌───────────────────────────────────────┐
│ Fabrication & Assembly (JLCPCB) │
│ Zero DRC Flags • Optimized BOM SMT │
└───────────────────────────────────────┘
| Skill Name | Purpose & Scope | Key Checks & Heuristics |
|---|---|---|
schematic-review-audit |
Pre-layout electrical auditing |
|
pcb-dfm-jlcpcb |
Manufacturing verification & SMT optimization | 5/5 mil limits, via annular ring |
mcu-strapping-and-pinout |
Boot modes & pinout conflict defense | ESP32 (GPIO0, 2, 12, 15, S3/C3/C6), STM32 (BOOT0, NRST), RP2040 (QSPI, RUN), ADC2 Wi-Fi conflicts. |
power-tree-and-thermal |
Power sizing & thermal modeling | LDO vs Buck selection ( |
high-speed-and-routing |
Signal integrity & ground planes |
|
rf-antenna-and-wireless |
RF front-end & antenna integration |
|
battery-bms-and-power-path |
Battery management & power-path | Seamless dynamic power-path, Kelvin 4-wire shunt sensing, back-to-back protection FETs, NTC thermal cutoffs. |
power-gan-sic-and-switched-mode |
Wide-Bandgap (GaN/SiC) power stages | Ultra-low gate inductance ( |
industrial-emc-and-isolation |
High-voltage isolation & surge immunity | IEC 62368-1 / 60664-1 creepage/clearance, PCB milling slots, 3-stage surge cascade (GDT + MOV + TVS), RS-485 fail-safe. |
schem2firmware-co-design |
Schematic-to-firmware autogeneration | Generates Zephyr app.overlay, Linux Device Tree (.dts), ESP-IDF / STM32 pinout headers, zero I2C address collisions. |
design-for-testability-dft |
Factory ICT & test fixture automation | Single-sided bottom test points ( |
HEA equips agents with verified, deterministic mathematical calculators to prevent numerical hallucination:
# 1. Coplanar Waveguide with Ground (CPWG) 50Ω calculator
./scripts/calc_cpwg.py -w 0.35 -s 0.20 -H 0.21 -e 4.3
# 2. IPC-2152 PCB trace current capacity and width calculator
./scripts/calc_ampacity.py -i 2.5 -dt 10 --copper-oz 1.0
# 3. Regulator power dissipation and junction temperature (TJ) evaluator
./scripts/calc_thermal_tj.py --vin 12.0 --vout 3.3 --iout 0.4 --pkg sot-223Hardware engineering has zero tolerance for hallucinated assumptions. A false assumption can destroy a prototype batch or violate certification. Following the acclaimed REA (Reverse Engineering Assistant) paradigm, HEA enforces:
- No-Assumption Policy: Every pin, net connection, and component rating must be verified against actual EDA CAD data (
easyeda-proMCP / KiCad) or verified datasheet specifications. - Explicit Verification States: Agents classify findings into three deterministic tiers:
[VERIFIED FACT]: Empirically confirmed in schematic/PCB layout tools.[MANUFACTURING RISK]: Violates DFM tolerances, thermal limits, or clearance standards.[UNVERIFIED HYPOTHESIS]: Requires engineer confirmation or lab measurement.
- Deterministic Math: Calculations (CPWG impedance, trace ampacity, junction temperature) use executable scripts in
scripts/rather than speculative mental math.
HEA includes standardized markdown report templates that agents generate during design reviews:
templates/electrical-audit-template.md: Complete executive summary, power rail inventory, MCU strapping verification, and prioritized action plan.templates/dfm-report-template.md: Manufacturing tolerances, clearance status, JLCPCB SMT Basic vs Extended parts breakdown, and feeder cost savings.
HEA is fully compliant with the Agent Skills standard and indexed on skills.sh. You can install all skills into your active project or globally with a single command across 70+ AI coding agents (Antigravity, Claude Code, Cursor, Windsurf, Cline, Codex, etc.):
# Install all HEA skills into your project
npx skills add VLab-Software/HEA
# Or install globally across all workspaces
npx skills add -g VLab-Software/HEA
# Or install a specific skill (e.g., JLCPCB DFM only)
npx skills add VLab-Software/HEA --skill pcb-dfm-jlcpcb
# Or specify your target agent explicitly
npx skills add VLab-Software/HEA -a claude-code# Workspace discovery (symlinked or cloned into .agents/skills)
git clone https://github.com/VLab-Software/HEA.git .agents/HEA
# Or global configuration for all projects
git clone https://github.com/VLab-Software/HEA.git ~/.gemini/config/skills/HEAmkdir -p .claude/skills
cp -r skills/* .claude/skills/Include the skills/ directory in your agent workspace context or point your custom rules to skills/*/SKILL.md.
HEA reaches maximum efficiency when paired with @vlabsoftware/easyeda-pro-mcp:
User: "Audit this schematic and check if it's safe to manufacture with JLCPCB."
Agent:
1. Activates skill 'schematic-review-audit'
2. Calls 'easyeda_find_unconnected_pins' and 'easyeda_run_schematic_erc'
3. Activates skill 'mcu-strapping-and-pinout' to verify ESP32 GPIO12
4. Activates skill 'pcb-dfm-jlcpcb' to audit BOM components
5. Outputs comprehensive report using 'templates/dfm-report-template.md'
- v1.0 (Live): 5 Core Hardware Engineering Skills & Pre-flight templates.
- v2.0: RF/Wireless (Antenna matching & CPWG), GaN/SiC High
$dV/dt$ Power, and Multi-cell BMS. - v3.0: High-Speed Digital (DDR4/5, PCIe Gen 4/5, SerDes) & Industrial/Automotive (AEC-Q, ISO 26262, IEC 62368).
- v4.0: MedTech (IEC 60601-1), Wearable Ultra-Low Power (
$I_Q < 500,\text{nA}$ ), and Rigid-Flex/HDI. - v5.0: Full Autonomy: DFT Pogo-pin Fixture Generator, Device Tree / Firmware Autogen & Headless SPICE.
👉 Read the complete technical specification in ROADMAP.md.
This project is licensed under the MIT License — open for community use and commercial hardware development.
Developed with ❤️ by VLab Software.