aklofas/kicad-happy
AI coding agent skills for KiCad electronics design. Works with Claude Code and OpenAI Codex. Analyze schematics, review PCB layouts, EMC pre-compliance, SPICE simulation, download datasheets, source components, and prep boards for fabrication.
What it solves
kicad-happy is an AI-powered design review tool for KiCad projects. It helps electronics engineers catch design bugs, layout errors, and EMC (electromagnetic compatibility) risks before ordering physical boards, reducing the cost and and time associated with board respins.
How it works
The project provides a set of "skills" (Python scripts) that can be integrated into AI coding agents like Claude Code, OpenAI Codex, GitHub Copilot CLI, and Google Antigravity. These scripts parse KiCad schematics, PCB layouts, and Gerbers into structured data, which the AI agent then uses to perform deep analysis.
Key capabilities include:
- Circuit Analysis: Tracing power trees, identifying subcircuits (like filters or motor drives), and calculating actual circuit behavior from component values.
- Verification: Cross-referencing component specs against datasheets and validating passive networks.
- Simulation: Automatically generating SPICE testbenches to verify filter frequencies, opamp gains, and performing Monte Carlo tolerance analysis.
- EMC Pre-compliance: Running 44 rule checks to predict radiated emission risks and ground plane voids based on geometric and analytical models.
- Manufacturing Readiness: Auditing BOMs, checking for MPN coverage, and scoring DFM (Design for Manufacturing).
Who it’s for
Electronics designers and hardware engineers using KiCad who want to automate the tedious parts of design review and pre-compliance testing using AI agents.
Highlights
- Agent Integration: Works as a plugin for multiple AI agents or as a GitHub Action for automated PR reviews.
- - Zero Dependencies: Analysis scripts are pure Python 3.10+ and do not require KiCad to be installed to run.
- Automated SPICE: Generates testbenches and injects PCB trace parasitics for high-fidelity simulation.
- EMC Risk Scoring: Predicts potential FCC/CISPR failures with a structured risk score and pre-compliance test plan.
- Datasheet Extraction: Extracts structured specifications from PDF datasheets to inform analysis.
Related
- Project
- Dispatch
- Project
- Dispatch
- Project