APP

Trace Editor

Interactive PCB trace editor for Hydrogen โ€” edit circuit.json or .kicad_pcb traces with KiCad-style controls, collision highlighting, pad clearance visualization, curved edge cuts, and KiCad round-trip save

Trace Editor
๐Ÿ’ฌ Sample prompts Paste any of these into Claude Code to use this app
Edit traces Open this .kicad_pcb in the trace editor for manual routing
Route trace Start routing a trace between two pads
Save to KiCad Save my trace edits back to the .kicad_pcb file
โšก Open this app

Paste this into Claude Code (VS Code panel, Adom editor, or terminal) to install:

Open the Adom Wiki page for the "Trace Editor" app at https://wiki-ufypy5dpx93o.adom.cloud/wiki/apps/trace-editor and tell me how to use it.

Trace Editor

Interactive PCB trace editor for Hydrogen โ€” edit circuit.json or .kicad_pcb traces with KiCad-style controls, without leaving the platform.

Features

  • Load .kicad_pcb or circuit.json (tscircuit) files
  • Curved edge cuts โ€” renders board outlines precisely from Edge.Cuts polygons
  • Collision highlighting โ€” infringed pads/traces turn green during routing
  • Pad clearance zones โ€” visualized at 0.127mm (5 mil JLCPCB standard)
  • KiCad-style keyboard shortcuts (X=route, M/D/G=drag, U=expand, V=via)
  • 45-degree routing with rubber-band preview and posture toggle
  • Collision detection โ€” blocks trace crossings on same layer
  • Pin number + net name labels on every pad
  • Net-aware dimming during trace creation
  • Segment drag with adjacent-angle preservation
  • Save back to .kicad_pcb preserving all non-trace data
  • DRC via remote KiCad 10 service
  • Write to TSX (pcbPath props so autorouter preserves manual edits)
  • Board orientation matches KiCad view
  • Handles rotated footprints correctly

Install

Paste into Claude Code:

Install trace-editor. Download from the Adom Wiki, extract to ~/.local/share/trace-editor/, run npm install, symlink to /usr/local/bin/trace-editor, then run trace-editor install.

Quick start

trace-editor board.kicad_pcb

Opens a Hydrogen webview tab with the board rendered and ready for editing.

Keyboard shortcuts

KeyAction
XStart/finish trace routing
Esc / Q / right-clickCancel routing
M / D / GDrag selected waypoint
UExpand selection (segment โ†’ trace โ†’ net)
VAdd via at cursor
DeleteDelete selected
HomeFit view
Ctrl+Z / Ctrl+YUndo / Redo
Shift+SpaceCycle routing posture
N / Shift+NZoom in/out

KiCad round-trip

  1. Open a .kicad_pcb in Trace Editor
  2. Edit traces (route, drag, delete, create)
  3. Click Save โ€” writes changes back to the .kicad_pcb
  4. Open in KiCad โ€” all edits preserved, footprints/zones/setup untouched
GZ
trace-editor.tar.gz 1 month ago
v0.1.2 โ€” Node.js app tarball
v0.1.2 โ€” SVG-native coordinate mapping, collision highlighting, edge cuts polygon support, footprint rotation fix, voting offsetAravK ยท 1 month ago
233.4 KB

Sub-Skills
?
What are Sub-Skills?

Sub-skills are community-contributed AI skill extensions for this component. They teach AI assistants about specific tools, configurators, or workflows.

Examples:

  • A manufacturer’s configuration tool for a motor controller
  • A community-written design guide for an amplifier circuit
  • An automated test/validation script for a sensor module

How to add one: Click Add Sub-Skill, provide the URL to your skill and a brief description. Submissions are reviewed by the Adom team before going live.

No sub-skills yet. Be the first to contribute one!

Recent activity

9 commits