Logo de Tscircuit

Tscircuit

Organização
tscircuit
tscircuit

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.

Visão geral

Publicado portscircuit
Repositórioskill
Nome da habilidadetscircuit
Estrelas
31
Forks
18
Arquivos incluídos
102
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 102 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por tscircuit no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Tscircuit no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/tscircuit/skill/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tscircuit/skill.git \
  .claude/skills/tscircuit
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Tscircuit em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Tscircuit automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Tscircuit não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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 --help or the specific subcommand’s --help
  • Avoid “inventing” JSX props or CLI flags.

Default workflow

  1. 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)
  1. Choose a starting point
  • If the repo is not a tscircuit project, recommend:
    • Install CLI, then tsci init to bootstrap a project.
  • If a form-factor template is appropriate (Arduino Shield, Raspberry Pi HAT, etc.), prefer @tscircuit/common templates.
  1. Find and install components
  • Use tsci search "<query>" to discover footprints and tscircuit registry packages.
  • Use tsci search --digikey "<query>" or tsci search --mouser "<query>" when distributor stock and supplier part numbers matter. Both flags can be combined, and --json provides 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 import does not directly import from those distributors.
  1. 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.md before 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
  • 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 a schSectionName and manually position all members of a section in close proximity using schX/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 with schSheetName. Pass only that sheet's labels to the box and keep connections addressed to the original chip, such as U1.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 with pcbPath, and connect the circuit to its .feed port 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 with allowViaInPad.
  • Use <board routeRemaining={false}> to skip implicit routing of remaining connections while keeping explicit routing phases and breakouts. Unrouted connections still produce DRC errors; true or 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.
  1. Build and iterate
  • Use tsci check source [file] for source diagnostics and tsci check pin_specification [file] for pin requirements before layout.
  • Run tsci check netlist before tsci check schematic-placement, tsci check placement, and tsci build to catch connectivity issues early.
  • Use tsci check schematic-placement to validate schematic-side placement before checking PCB placement.
  • Do not finalize unless both tsci check schematic-placement and tsci check placement pass 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 as R1.pin1 or net.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-difficulty after placement to identify potential areas of congestion.
  • Run tsci build to compile and validate the circuit.
  • When routing looks suspicious, run tsci build [file] --autorouter-debug --autorouter-debug-dir dist/autorouter-debug and inspect placement-unrouted.png plus each cumulative phase-N-routed.png. Add --autorouter-dump-srj all when 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.json file is also accepted.
  • A detected short makes tsci check shorts exit nonzero. Inspect checks/check-shorts/bitmap.png and checks/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 in checks/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 pcb for PCB geometry, --layer top or --layer bottom to 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 dev only when you need interactive visual feedback (not typical for AI-driven iteration).
  1. Validate and export
  • Run tsci check netlist before tsci check schematic-placement, tsci check placement, and tsci build when preparing to share/publish.
  • Run tsci check shorts after routing and before sharing, publishing, or producing fabrication outputs. Resolve every reported short before proceeding.
  • Run tsci check pcb-style and review the highlighted routing issues before sharing or exporting. See CLI.md for the check commands and output options.
  • Run tsci build (and optionally tsci snapshot) before sharing/publishing.
  • Use tsci export for 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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

e mais 42 arquivos.

Perguntas frequentes

O que a habilidade de IA Tscircuit faz?

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.

Por que usar Tscircuit no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Tscircuit é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Tscircuit no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/tscircuit/skill/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Tscircuit?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Tscircuit?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Tscircuit com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Tscircuit é gratuita?

Sim. A habilidade é publicada no GitHub por tscircuit sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇