Skip to main content

board-viewer

Open a generated board in the Autonomous Circuit app. Use when the user asks to see, preview, or open the board — "show me the board", "open the schematic", "let me see the PCB", "show the gerbers", "open it in the app" — after circuitcode has generated it. Resolves the app URL for the board from the running server's registry; when the app is already showing the project, no action is needed at all.

설치로 이동

소스 정보

저장소
autonomous-ai/autonomous-circuit
최근 소스 활동
2026년 8월 10일 15:19
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
board-viewer
description
Open a generated board in the Autonomous Circuit app. Use when the user asks to see, preview, or open the board — "show me the board", "open the schematic", "let me see the PCB", "show the gerbers", "open it in the app" — after circuitcode has generated it. Resolves the app URL for the board from the running server's registry; when the app is already showing the project, no action is needed at all.
# Board Viewer — hand the board to the Circuit app ## Purpose The Circuit app IS the viewer — the board rail with status dots and the Schematic / PCB / BOM / Fab tabs, plus the parts panel and the warnings strip. **This skill bundles no server**: the web app is already running and already watches the project via `artifact_changed` events, so "viewing" is usually a no-op and at most a URL. ## Workflow Given a board (e.g. `<project>/boards/main.tsx` and its generated artifacts): 1. **Check the server registry**: `Read` (or `cat`) `~/.autonomous-circuit/server.json`. If present, it names the running app server, e.g. `{"port": 4179, "projects": {"<abs project root>": "<project id>"}}`. 2. **If the registry exists and lists the project**, print the URL: ``` http://127.0.0.1:<port>/?project=<id>&file=boards/main.tsx ``` The `file` query value is workspace-relative (`boards/<stem>.tsx`), never absolute. Point it at the board **source**, not at a generated artifact — the app groups the schematic, PCB, BOM, and fab packet under that board entry and opens on the tab the user last used. 3. **If the registry is missing or the project isn't listed**, do not start anything and do not invent a port. Tell the user: the Circuit app displays artifacts live as they land (`artifact_changed` fires when the review PNGs, the sidecar, and the fab packet are written) — open the project in the app and the board is already there. That's the whole skill. No build, no file writes, no server lifecycle. ## Use this skill when - The user asks to see/open/preview a board, schematic, PCB, BOM, or fab packet. - circuitcode has just finished and the user wants the result on screen. Do **not** use it to judge a board's quality — that is circuitcode's review loop (`scripts/review` plus `Read`ing `_review/_schematic.png` and `_review/_pcb.png`), which surfaces the warnings and the images the app's tabs summarize. And never point the app at a board that hasn't been generated yet; build first. ## Required final response 1. The URL (or the one-line "already live in the app" explanation). 2. The board's absolute path, so the user can also open the files directly.
GitHub에서 보기