Agent skill · text-to-cad
/pcb Edit and review KiCad boards with checks at every step
This skill treats native KiCad schematic and board files as the source and changes them through KiCad's IPC API in edit blocks that save only when something changed. The agent starts from the schematic and ERC, places and routes in stages, runs DRC after each change and, before ordering, reviews the board against a named fab's published limits.
Works with
- macOS and Linux
- Windows PowerShell
When to use it
- You have a KiCad project and want an agent to adjust placement, track widths or copper pours.
- A board is nearly done and you want a pre-order review for a fab such as JLCPCB or PCBWay.
- You need Gerbers, drill, placement and BOM files or a STEP of the board for an enclosure.
How it works
- 1Inspect first
Reads the saved board in a script and records parts, nets, outline, dimensions and constraints before changing anything.
- 2Write idempotent edits
Sets absolute positions, widths and nets inside an edit block, so running the script twice ends in the same state.
- 3Check each change
Runs ERC on schematic edits, DRC on board edits, and placement or copper snapshots, fixing causes rather than relaxing rules.
- 4Review before ordering
Gathers DRC results, measured facts such as decoupling distance, and a checklist, marking each item pass, fail, review or unverified with its source.
- 5Export what was asked
Writes only the requested fabrication files from the checked revision, and blocks them on ERC or DRC errors unless you say to proceed.
What it steers the agent away from
- Regenerating an existing project from a partial description.
- Treating a clean DRC as proof that the circuit or the fab's limits are satisfied.
- Ordering boards on the user's behalf.
Install this skill
It installs with the text-to-cad pack.
macOS and Linux (all detected agent apps)Sets up the plugin or skills in each agent app and registers the cad command; run again to update.
curl -fsSL https://texttocad.dev/install.sh | shWindows PowerShell (all detected agent apps)The Windows equivalent of the shell installer; per-app manual steps are in docs/install.md.
irm https://www.texttocad.dev/install.ps1 | iexCommands come from the author’s README; check it for changes before you run them.
Questions
Will saved boards still open in my KiCad?
Edits are saved in the format of the bundled nightly KiCad, which a stable KiCad app refuses; the skill notes a kicad-cli downgrade command for this.
Does it use an autorouter?
It routes critical nets by hand and steers KiCad's router through the rest with a given plan, never a third-party autorouter.
More guides from text-to-cad
/cadModel real parts in Python and check they can be madeWrites parts and assemblies as build123d scripts, exports STEP, STL, 3MF, GLB or DXF, and checks fits, joint travel and manufacturability.Read the guide →/feaFind out whether a part will hold before you build itRuns linear static stress studies with netgen and CalculiX, reporting peak von Mises stress, safety factor and deflection on the part.Read the guide →
Also in this pack
/engineering-drawingProduces a dimensioned PDF sheet with projected views, hidden edges, centre marks, hole notes and a title block from the part's geometry.↗/print3dSlices STL, 3MF or OBJ files with OrcaSlicer using the printer's real presets and hands Bambu Lab jobs to Bambu Connect or Studio.↗/renderRenders stills, turntables and motion films of a model in Blender, drafting in EEVEE before a final Cycles pass on the GPU.↗/robot-simulationGenerates or hand-writes URDF, SRDF and MJCF robot descriptions for ROS, MoveIt and MuJoCo, with joints, inertials and collision setup.↗/sendcutsendPreflights DXF and STEP uploads for SendCutSend orders against its current guide, catalog and specs for material, thickness and services.↗
Summary by trendhub. The skill itself lives in earthtojake/text-to-cad/skills/pcb by earthtojake (MIT); read the full, current text there.