kicad-schematic

Installation
SKILL.md

Change a schematic

Make every change with sch.py (this skill's folder) from a short script in <scratch>. It needs only python3. It handles the parts that go wrong by hand:

  • copying and flattening library symbols;
  • pin positions under rotation and mirroring;
  • instances, references, UUIDs and string escaping;
  • junctions;
  • running ERC after every save.

It inserts new items and leaves the rest of the file byte for byte, so the diff shows only the change.

import sys; sys.path.insert(0, "<skill dir>")              # this SKILL.md's folder
from sch import Schematic
Installs
5
First Seen
10 days ago