AgentSkillsCN

Skill

技能

SKILL.md

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

DomainDescriptionFiles
Getting StartedQuickstarts, installation, core concepts5
ComponentsPCB element references (48+)48+
FootprintsFootprint specs, KiCad integration12
CLI Commands11 tsci commands reference11
Web APIsCompile, autorouting, datasheet APIs7
GuidesIn-depth guides organized by category50+
TutorialsStep-by-step project tutorials4
AdvancedAI context, local dev, math utils5
ContributingContribution guide, bounties7

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

TaskSkill
Install tscircuitgetting-started
Create first boardtutorials
Use a componentcomponents
Specify a footprintfootprints
Use CLI commandscli
Programmatic APIsapis
Learn advanced featuresguides
Contribute to tscircuitcontributing

Related Resources