tscircuit
Skill0 starsChanged 7 months agoMITView on GitHub
Use this skill when creating, editing, or debugging electronic circuits, schematics, or PCB layouts with tscircuit, including React/TypeScript circuit code. Invoke for component and footprint selection, electrical connections, schematic organization, PCB placement, trace routing, routing failures, design checks, and fabrication exports—even when the user does not mention the CLI. Use tscircuit's built-in autorouting and documented APIs; do not implement a custom router unless the user explicitly requests one.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- OmniCoreST/claude-skillstheir own version, first seen Oct 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- OmniCoreST/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- ai-account-receiptsSkill
- architectSkill
- blast-radiusSkill
- bomSkill
- broSkill
- councilSkill
- create-verification-skillSkill
- datasheetsSkill
- digikeySkill
- element14Skill
- emcSkill
- excalidraw-skillSkill
- grill-meSkill
- handoffSkill
- howSkill
- jlcpcbSkill
- kicad-jlcpcb-rotationsSkill
- kicad-library-managmentSkill
- kicad-library-partSkill
- kicadSkill
- lcscSkill
- maintain-verification-skillSkill
- mermaid-skillSkill
- mouserSkill
- no-commentsSkill
- pcbwaySkill
- code-brainstormingSkill
- code-debuggingSkill
- code-explain-visuallySkill
- code-reviewingSkill
- code-simplifierSkill
- git-commitSkill
- git-worktreesSkill
- solidworksSkill
- spiceSkill
- teachSkill
- technical-writingSkill
- unslopSkill
- whySkill
- writing-for-agentsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
35 rules. About 0 are common, 8 are distinctive, and 27 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
27
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
When this Skill is active:
- Distinctive: line 13
Prefer tscircuit’s documented primitives and CLI behavior.
- Distinctive: line 16
Avoid “inventing” JSX props or CLI flags.
- Distinctive: line 27
If the repo is not a tscircuit project, recommend:
- Very specific: line 29
If a form-factor template is appropriate (Arduino Shield, Raspberry Pi HAT, etc.), prefer @tscircuit/common templates.
- Very specific: line 32
Use tsci search "<query>" to discover footprints and tscircuit registry packages.
- Very specific: line 33
Use tsci search --digikey "<query>" or tsci search --mouser "<query>" when distributor stock and supplier part numbers matter.
- Distinctive: line 40
Write/modify TSX circuit code
- Distinctive: line 41
Keep circuits as a default-exported function that returns JSX.
- Very specific: line 43
Read FOOTPRINTS.md before writing custom footprint TSX.
- Distinctive: line 44
Use layout props intentionally:
- Very specific: line 49
Use <antenna /> for a placed, open-ended PCB antenna.
- Very specific: line 51
Use <fanout autorouter="dogbone" fanoutRoutingLayers={["inner2"]}> for local BGA pad-to-via escapes, including connected VCC/GND pads.
- Very specific: line 53
Use <board routeRemaining={false}> to skip implicit routing of remaining connections while keeping explicit routing phases and breakouts.
- Very specific: line 54
Use <trace /> for connectivity.
- Very specific: line 57
Use tsci check source [file] for source diagnostics and tsci check pin_specification [file] for pin requirements before layout.
- Very specific: line 58
Run tsci check netlist before tsci check schematic-placement, tsci check placement, and tsci build to catch connectivity issues early.
- Very specific: line 59
Use tsci check schematic-placement to validate schematic-side placement before checking PCB placement.
- Very specific: line 60
Do not finalize unless both tsci check schematic-placement and tsci check placement pass with no actionable placement violations.
- Very specific: line 61
Use tsci check trace-length <pinOrNetRef> [file] to inspect lengths for a pin or net, such as R1.pin1 or net.GND.
- Very specific: line 62
Run tsci build --pcb-png [file] to inspect placement before checking routing.
- Very specific: line 63
Run tsci check routing-difficulty after placement to identify potential areas of congestion.
- Very specific: line 64
Run tsci build to compile and validate the circuit.
- Very specific: line 65
When routing looks suspicious, run tsci build [file] --autorouter-debug --autorouter-debug-dir dist/autorouter-debug and inspect …
- Very specific: line 70
After routing, run tsci check shorts [file] to detect unintended shorts between separate PCB copper groups.
- Very specific: line 72
After routing, run tsci check pcb-style [file] for long odd-angle runs and unnecessary stair stepping.
- Very specific: line 75
If routing struggles, reduce density, use <group /> for sub-layouts, or change autorouter settings.
- Very specific: line 76
Use tsci dev only when you need interactive visual feedback (not typical for AI-driven iteration).
- Very specific: line 79
Run tsci check netlist before tsci check schematic-placement, tsci check placement, and tsci build when preparing to share/publish.
- Very specific: line 80
Run tsci check shorts after routing and before sharing, publishing, or producing fabrication outputs.
- Very specific: line 81
Run tsci check pcb-style and review the highlighted routing issues before sharing or exporting.
- Very specific: line 82
Run tsci build (and optionally tsci snapshot) before sharing/publishing.
- Very specific: line 83
Use tsci export for SVG/netlist/DSN/3D/library outputs.
- Distinctive: line 88
Treat electrical safety, regulatory compliance, and manufacturability as user-owned responsibilities.
- Very specific: line 89
Do not publish (tsci push) or place orders unless the user explicitly requests it.
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
tscircuit
You are helping the user design electronics using tscircuit (React/TypeScript) and the tsci CLI.
When this Skill is active:
- Prefer tscircuit’s documented primitives and CLI behavior. If something is unclear, confirm by:
- Reading local files in the repo (e.g.,
tscircuit.config.json,index.circuit.tsx,package.json) - Running
tsci --helpor the specific subcommand’s--help
- Reading local files in the repo (e.g.,
- Avoid “inventing” JSX props or CLI flags.
Default workflow
- Clarify requirements (if not already given)
- Board form factor / size constraints
- Power sources and voltage rails
- I/O: connectors, headers, mounting holes, mechanical constraints
- Target manufacturer constraints (trace/space, assembly, supplier)
- Choose a starting point
- If the repo is not a tscircuit project, recommend:
- Install CLI, then
tsci initto bootstrap a project.
- Install CLI, then
- If a form-factor template is appropriate (Arduino Shield, Raspberry Pi HAT, etc.), prefer
@tscircuit/commontemplates.
- Find and install components
- Use
tsci search "<query>"to discover footprints and tscircuit registry packages. - Use
tsci search --digikey "<query>"ortsci search --mouser "<query>"when distributor stock and supplier part numbers matter. Both flags can be combined, and--jsonprovides machine-readable results. - For USB-C receptacles/connectors, prefer builtin syntax with
<connector standard="usb_c" />instead of importing from JLCPCB. - Use one of:
tsci add <author/pkg>for registry packages (installs@tsci/*packages)tsci import <query>when you need to import a component from JLCPCB or the registry.
- DigiKey and Mouser search results are for part discovery;
tsci importdoes not directly import from those distributors.
- Write/modify TSX circuit code
- Keep circuits as a default-exported function that returns JSX.
- Nearly every schematic should be broken up using
<schematicsheet>and<schematicsection>to organize related circuitry into clear, readable sheets and sections. - Read
FOOTPRINTS.mdbefore writing custom footprint TSX; prefer a footprinter string when one matches the package. - Use layout props intentionally:
- PCB:
pcbX,pcbY,pcbRotation,layer - Schematic:
schX,schY,schRotation,schOrientation
- PCB:
- On large projects (5+ components), use
<schematicsection />to group components by function (e.g. "Power", "MCU", "IO"). This is one of the most important things for schematic readability. Assign each component aschSectionNameand manually position all members of a section in close proximity usingschX/schY. - When one large chip needs to appear on multiple schematic sheets, declare the
<chip />once before the sheets, then use one<schematicbox chipRef=".U1" />per sheet. Either nest each box inside its<schematicsheet />, or keep the elements as siblings and assign the box withschSheetName. Pass only that sheet's labels to the box and keep connections addressed to the original chip, such asU1.VCC. See the<schematicbox />reference. - Use
<antenna />for a placed, open-ended PCB antenna. Give it a one-pad footprint, define its local copper geometry withpcbPath, and connect the circuit to its.feedport with a separate<trace />. See the<antenna />reference. - For fixed-layer bus interconnects, use
<autoroutingphase autorouter="bus_lanes" connections={[...]} />. Read Bus-lanes routing for endpoint selectors, fanout handoffs, length matching, and unsupported cases. Keep width and skew settings on<bus />; preserve the phase output for later global routing. - Use
<fanout autorouter="dogbone" fanoutRoutingLayers={["inner2"]}>for local BGA pad-to-via escapes, including connected VCC/GND pads. Details. - For pre-generated fanout routes, use
<fanout pcbTracePaths={savedPaths}>(or<breakout>). Read Saved fanout trace paths for JSON imports, local coordinates, complete coverage, and via endpoints withallowViaInPad. - Use
<board routeRemaining={false}>to skip implicit routing of remaining connections while keeping explicit routing phases and breakouts. Unrouted connections still produce DRC errors;trueor omission keeps normal remaining routing. Nested subcircuits inherit the setting. - Use
<trace />for connectivity; prefer net connections (net.GND,net.VCC, etc.) for power/ground.
- Build and iterate
- Use
tsci check source [file]for source diagnostics andtsci check pin_specification [file]for pin requirements before layout. - Run
tsci check netlistbeforetsci check schematic-placement,tsci check placement, andtsci buildto catch connectivity issues early. - Use
tsci check schematic-placementto validate schematic-side placement before checking PCB placement. - Do not finalize unless both
tsci check schematic-placementandtsci check placementpass with no actionable placement violations; if violations exist, fix layout and rerun until clean. - Use
tsci check trace-length <pinOrNetRef> [file]to inspect lengths for a pin or net, such asR1.pin1ornet.GND. Source inputs are routed before analysis; prebuilt Circuit JSON is also accepted. - Run
tsci build --pcb-png [file]to inspect placement before checking routing. - Run
tsci check routing-difficultyafter placement to identify potential areas of congestion. - Run
tsci buildto compile and validate the circuit. - When routing looks suspicious, run
tsci build [file] --autorouter-debug --autorouter-debug-dir dist/autorouter-debugand inspectplacement-unrouted.pngplus each cumulativephase-N-routed.png. Add--autorouter-dump-srj allwhen the SimpleRouteJson input and output for every stage is also needed. - After routing, run
tsci check shorts [file]to detect unintended shorts between separate PCB copper groups. Omit[file]to use the project entrypoint; a prebuilt*.circuit.jsonfile is also accepted. - A detected short makes
tsci check shortsexit nonzero. Inspectchecks/check-shorts/bitmap.pngandchecks/check-shorts/pcb.svg, fix the implicated copper, then rerun the check. Do not dismiss this failure as a generic DRC warning. - After routing, run
tsci check pcb-style [file]for long odd-angle runs and unnecessary stair stepping. Use the default rules, inspect the counted overview inchecks/check-pcb-style/pcb.svg, and fix the routing; subdividing trace points does not resolve a style issue. - The default shorts check analyzes Gerber-derived copper on all available copper layers. Use
--mode pcbfor PCB geometry,--layer topor--layer bottomto narrow the scope, and--pixels-per-mm <number>only when a different bitmap resolution is needed. - DRC (Design Rule Check) errors can often be ignored during development—focus on getting the circuit correct first.
- If routing struggles, reduce density, use
<group />for sub-layouts, or change autorouter settings. - Use
tsci devonly when you need interactive visual feedback (not typical for AI-driven iteration).
- Validate and export
- Run
tsci check netlistbeforetsci check schematic-placement,tsci check placement, andtsci buildwhen preparing to share/publish. - Run
tsci check shortsafter routing and before sharing, publishing, or producing fabrication outputs. Resolve every reported short before proceeding. - Run
tsci check pcb-styleand review the highlighted routing issues before sharing or exporting. SeeCLI.mdfor the check commands and output options. - Run
tsci build(and optionallytsci snapshot) before sharing/publishing. - Use
tsci exportfor SVG/netlist/DSN/3D/library outputs. - For manufacturing, obtain fabrication outputs (Gerbers/BOM/PnP) from the export UI after
tsci dev.
Safety and non-goals
- Treat electrical safety, regulatory compliance, and manufacturability as user-owned responsibilities.
- Do not publish (
tsci push) or place orders unless the user explicitly requests it.
Local references bundled with this Skill
- CLI primer:
CLI.md - Syntax primer:
SYNTAX.md - Workflow patterns:
WORKFLOW.md - Pre-export checklist:
CHECKLIST.md - Ready-to-copy templates:
templates/ - Helper scripts:
scripts/
Builtin Elements
<analogsimulation /><antenna /><assembly.device /><battery /><board /><breakout /><breakoutpoint /><cadassembly /><cadmodel /><capacitor /><chip /><connector /><constraint /><copperpour /><coppertext /><courtyardcircle /><courtyardoutline /><courtyardpill /><courtyardrect /><crystal /><currentsource /><cutout /><diode /><enclosure.cutoutaperture /><enclosure.fdm.box /><fabricationnotedimension /><fabricationnotepath /><fabricationnoterect /><fabricationnotetext /><fiducial /><footprint /><fuse /><group /><hole /><inductor /><jumper /><keepout /><led /><mosfet /><mountedboard /><net /><netalias /><netlabel /><opamp /><panel /><pcbnotedimension /><pcbnoteline /><pcbnotepath /><pcbnoterect /><pcbnotetext /><pcbtrace /><pinheader /><pinout /><platedhole /><port /><potentiometer /><pushbutton /><resistor /><resonator /><schematicarc /><schematicbox /><schematiccell /><schematiccircle /><schematicline /><schematicpath /><schematicrect /><schematicrow /><schematicsection /><schematictable /><schematictext /><silkscreencircle /><silkscreenline /><silkscreenpath /><silkscreenrect /><silkscreentext /><smtpad /><solderjumper /><subcircuit /><subpanel /><switch /><symbol /><testpoint /><trace /><tracehint /><transistor /><via /><voltageprobe /><voltagesource />
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

