tscircuit
БесплатноБез исполняемых скриптовНе проверенUse this skill when creating, editing, or debugging electronic circuits, schematics, PCB layouts, or assembly drawings with tscircuit, including…
от tscircuit★ 40 звёзд на GitHubОб этом скилле
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.
For assembly drawing sheets and exploded views, read Assembly drawings. Define motion in assembly.explosion.stage and point assembly.drawing.explosionview at it with stageRef.
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. A flagless search queries every source and waits for all of them; add a source flag such as--jlcpcbwhen you know where the part should come from. - 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. A default A4 sheet holds about 31 × 21 schematic units; see the<schematicsheet />reference. - Size schematic boxes in the first draft: labelled pin headers, two-pin parts on a power rail, and chips with pins on all four sides are flagged with their defaults. Read Schematic placement before placing them.
- 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
Установить tscircuit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteGrepGlobBashВложенные файлы
FAQ
Что делает скилл tscircuit?
Use this skill when creating, editing, or debugging electronic circuits, schematics, PCB layouts, or assembly drawings 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.
Как установить скилл tscircuit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tscircuit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic