Skills Prompts Hues

Popular categories

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

  1. 1
    Inspect first

    Reads the saved board in a script and records parts, nets, outline, dimensions and constraints before changing anything.

  2. 2
    Write idempotent edits

    Sets absolute positions, widths and nets inside an edit block, so running the script twice ends in the same state.

  3. 3
    Check each change

    Runs ERC on schematic edits, DRC on board edits, and placement or copper snapshots, fixing causes rather than relaxing rules.

  4. 4
    Review 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.

  5. 5
    Export 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 | sh
Windows 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 | iex

Commands 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

Also in this pack

All 8 skills →

Summary by trendhub. The skill itself lives in earthtojake/text-to-cad/skills/pcb by earthtojake (MIT); read the full, current text there.