tscircuit AI Skill Index
This file provides AI agents with hierarchical navigation through tscircuit documentation. Start here to find the specific skill you need.
Overview
tscircuit is a TypeScript-first PCB design platform that lets you design circuit boards using React-like syntax. This skill index organizes documentation into domains that AI agents can navigate to find exactly what they need.
Navigation Quick Reference
| Domain | Description | Files |
|---|---|---|
| Getting Started | Quickstarts, installation, core concepts | 5 |
| Components | PCB element references (48+) | 48+ |
| Footprints | Footprint specs, KiCad integration | 12 |
| CLI Commands | 11 tsci commands reference | 11 |
| Web APIs | Compile, autorouting, datasheet APIs | 7 |
| Guides | In-depth guides organized by category | 50+ |
| Tutorials | Step-by-step project tutorials | 4 |
| Advanced | AI context, local dev, math utils | 5 |
| Contributing | Contribution guide, bounties | 7 |
Quick Examples
Basic Board
tsx
import React from "react"
import { board, resistor, capacitor, trace } from "tscircuit"
export default () => (
<board width="10mm" height="10mm">
<resistor resistance="1k" footprint="0402" name="R1" />
<capacitor capacitance="100nF" footprint="0402" name="C1" />
<trace from=".R1 > .pin1" to=".C1 > .pin1" />
</board>
)
CLI Commands
bash
# Initialize a new project tsci init # Start dev server tsci dev index.tsx # Build circuit JSON tsci build # Search for footprints tsci search resistor
Skill Relationships
code
getting-started ──┬──> components
├──> cli
└──> tutorials
components ───────┼──> footprints
└──> guides
footprints ──────┼──> components
└──> guides/importing
cli ─────────────┼──> components
├──> apis
└──> tutorials
apis ────────────┼──> cli
└──> guides/running
guides ──────────┼──> components
├──> footprints
├──> apis
└──> cli
tutorials ───────┼──> components
├──> footprints
└──> guides/essentials
advanced ───────┼──> apis
└──> cli
contributing ───> (links to all)
Common Tasks
| Task | Skill |
|---|---|
| Install tscircuit | getting-started |
| Create first board | tutorials |
| Use a component | components |
| Specify a footprint | footprints |
| Use CLI commands | cli |
| Programmatic APIs | apis |
| Learn advanced features | guides |
| Contribute to tscircuit | contributing |
Related Resources
- •AI Context: Download ai.txt for full context
- •Live Chat: chat.tscircuit.com
- •GitHub: github.com/tscircuit
- •Registry: tscircuit.com/trending