hashgraph-online/awesome-codex-plugins / plugins/aklofas/kicad-happy/skills/kicad
kicad
VerifiedAnalyze KiCad projects and PDF schematics: schematics, PCB layouts, Gerbers, footprints, symbols, netlists, and design rules. Reviews designs for bugs, traces nets, cross-references schematic to PCB, extracts BOM data, checks DRC/ERC, DFM, power trees, and regulator circuits. Every finding carries a confidence label and evidence source with trust_summary rollup. Analyzes PDF schematics from dev boards, reference designs, eval kits, and datasheets. Supports KiCad 5–10. Use whenever the user mentions .kicad_sch, .kicad_pcb, .kicad_pro, PCB design review, schematic analysis, PDF schematics, reference designs, Gerber files, DRC/ERC, netlist issues, BOM extraction, signal tracing, power budget, DFM, or wants to understand, debug, compare, or review any hardware design. Also for "check my board", "review before fab", "what's wrong with my schematic", "is this ready to order", "check my power supply", "verify this circuit", OSHWA certification readiness, or any electronics/PCB design question.
scripts/kicad_core/pdn.py
View on GitHub"""PDN branch impedances and their parallel combination, shared by the EMC and schematic PDN models."""
from __future__ import annotations
import math
def cap_branch_z(f_hz: float, c_f: float, esr_ohm: float, esl_h: float) -> complex:
"""Series RLC impedance of a capacitor: ESR + j(ωL − 1/ωC)."""
# EQ-013: Z = ESR + j(ωL - 1/ωC) (series RLC impedance)
omega = 2 * math.pi * f_hz
return complex(esr_ohm, omega * esl_h - 1.0 / (omega * c_f))
def parallel_impedance(branches: list[complex]) -> complex | None:
"""1 / Σ(1/Zᵢ) over complex branch impedances.
Admittances add as complex numbers, so an inductive and a capacitive branch
partly cancel (the anti-resonance). None when there is no branch or the
admittances cancel exactly (only lossless branches can do that).
"""
if not branches:
return None
y = 0j
for z in branches:
if z == 0:
return 0j
y += 1 / z
if y == 0:
return None
return 1 / y
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |