# Pcb > Diseña una PCB fabricable de principio a fin desde Claude Code o Codex en el escritorio, con EasyEDA Pro vía MCP y JLC/LCSC/Taobao en un navegador con sesión abierta. Optimiza rentabilidad, ensamblaje manual y placa de prototipo gratuita. Fuente: https://skillsagentes.com/skills/daishuge/pcb-skill/pcb Markdown: https://skillsagentes.com/skills/daishuge/pcb-skill/pcb.md Repositorio: https://github.com/daishuge/pcb-skill Autor: daishuge Licencia: MIT Actualizado: hace 4 días Coste de contexto: 79 tok instalada, 1.4k tok al activarse, 41.3k tok con todos los archivos del bundle Bundle: 8 archivos, 161 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add daishuge/pcb-skill --skill pcb --agent claude-code # Cursor npx -y skills add daishuge/pcb-skill --skill pcb --agent cursor # Codex npx -y skills add daishuge/pcb-skill --skill pcb --agent codex # Gemini CLI npx -y skills add daishuge/pcb-skill --skill pcb --agent gemini # Windsurf npx -y skills add daishuge/pcb-skill --skill pcb --agent windsurf # Cline npx -y skills add daishuge/pcb-skill --skill pcb --agent cline ``` ## Qué hace - Lleva una idea de hardware a una placa fabricable: concepto, esquemático, layout, rutado, verificación y pedido hasta la página previa al pago, mediante EasyEDA Pro vía MCP y navegador con sesión en JLC/LCSC/Taobao. - Aplica tres principios: rentabilidad (precios medidos en vivo y etiquetados como ESTIMACIÓN si no), ensamblaje manual (evita paquetes QFN/DFN y pads ocultos) y placa de prototipo gratuita dentro de los límites del cupón de JLC. - Impone compuertas en cada fase: revisión adversarial read-only con un revisor nuevo que recalcula los números, criterio de terminación escrito antes, y DRC 0/0. - Nunca coloca el pedido ni paga: se detiene en la página previa al pago; las cajas y el pago son siempre manuales. - Verifica el diseño de forma independiente del EDA: scripts que parsean documentos exportados y Gerbers, con guardias para el estado de procesos (salida, crash, ausencia, timeout) y calibración geométrica. ## Cuándo usarla - Cuando quieras diseñar una PCB fabricable de principio a fin desde Claude Code o Codex en el escritorio. - Cuando necesites seleccionar componentes con precios reales en JLC/LCSC/Taobao y comparar con stock existente. - Cuando quieras verificar tu diseño de forma independiente del EDA (netlist, Gerbers, DRC, interferencia 3D) antes de pedir. - Cuando busques optimizar para ensamblaje manual y una placa de prototipo gratuita dentro de los límites de JLC. ## Cuándo no - Cuando esperes que el agente realice el pago o complete la compra: el skill se detiene en la página previa al pago y las cajas y pagos son siempre manuales. ## Qué la activa - "Tengo una idea para un sensor de temperatura inalámbrico: llévala a una PCB lista para pedir." - "Diseña una placa de prototipo gratuita en JLC para mi circuito amplificador, optimizada para soldarla a mano." - "Ayúdame a elegir componentes para un regulador de tensión comparando precios en vivo en LCSC y Taobao." - "Verifica el diseño de mi PCB: revisa los Gerbers y el netlist de forma independiente antes de pedir." ## Antes de instalar - Requiere EasyEDA Pro con el puente MCP activo y respondiendo, un navegador con la extensión del agente conectado a Taobao/JD/JLC/LCSC, un observador de aprobación (cajas y pagos manuales) y un canal de notificación para ejecuciones largas. ## Archivos - SKILL.md — 5 KB - references/01-workflow.md — 14 KB - references/02-review.md — 19 KB - references/03-jlc-manufacturing.md — 31 KB - references/04-sourcing.md — 18 KB - references/05-easyeda-mcp.md — 25 KB - references/06-mechanical.md — 27 KB - references/07-bringup.md — 21 KB ## SKILL.md Reproducido tal cual desde daishuge/pcb-skill bajo MIT. Esta sección es el documento original y está en inglés. # PCB Take a hardware idea to a board a human can actually order, solder and bring up. This skill is written from a real project that went from a blank page to a released 4-layer board. Most of what is here is not PCB theory — it is the specific set of failures that theory does not catch, and the gates that catch them. ## The three principles this skill optimises for 1. **性价比 — cost-effectiveness.** Every part is chosen on measured price and real availability, netted against stock the user already owns. A price nobody has read off a live page is an ESTIMATE and must be labelled as one. 2. **好装配 — assemblable by hand.** The user solders this. No QFN/DFN/exposed-pad-only packages unless the user says otherwise. Every pad reachable with an iron, in an order that does not trap a joint behind a tall part. 3. **免费 PCB — the board should cost nothing.** JLC's free-prototype coupon has hard geometric and process limits. Design inside them from the first sketch, not at the end. ## Before you start — the environment must be ready Do not begin design work until these are true. Check, do not assume. - **EasyEDA Pro** running, with the MCP bridge installed and answering (`server_info`). See `setup/easyeda-mcp.md`. - **A browser with the agent extension**, logged in to the sites the project needs: Taobao, JD, JLC/LCSC. See `setup/browser-logins.md`. - **An approval watcher** if the platform pops permission cards for every browser action, or the agent blocks on a card it cannot press itself. See `setup/auto-approve-*.md`. **Carts and payment stay manual** — the watcher is deliberately bypassed there. - A **notification channel** for long runs (`scripts/notify/`), so silence is never ambiguous. ## The workflow — four phases, each with a gate Read `references/01-workflow.md` for the full version. In outline: | phase | produces | gate before moving on | |---|---|---| | **1 Concept** | what it does, for whom, the hard vs soft constraints | the user has answered every question whose two answers give different boards | | **2 Schematic + sourcing** | full schematic, priced BOM, staged carts | netlist assertions pass; every price VERIFIED or labelled ESTIMATE | | **3 Layout + routing** | placed, routed, poured board | placement is *routable*, not merely legal; DRC 0/0; adversarial review clear | | **4 Fabrication + purchase** | verified Gerber, order at the pre-payment page | the package is verified independently of the EDA that produced it | **Never place an order or pay.** Drive to the pre-payment page and stop. ## The rules that actually caught the bugs These are load-bearing. `references/02-review.md` explains each with the failure it caught. - **A green board is not a correct board.** Every phase ends with a one-pass, read-only, adversarial review by a fresh reviewer that re-derives the numbers instead of reading them. Write its termination criterion *before* it starts, or it will loop. - **Measured, not inferred.** "X probably does not support Y" is not a finding. If a claim decides whether work continues, prove it. Say which numbers were measured and which were computed. - **A wait condition must answer: if this crashed right now, would my filter emit a line?** Watchdogs cover four terminal states — output present, crash signature, process gone, wall-clock timeout — plus a progress-rate floor. - **Verify the tool before trusting the result.** Three separate checkers on this project silently measured the wrong thing (a cached 3D model, a bounding box instead of a pad, a merged copper label). Calibrate every geometric transform against a known asymmetric object. - **The last honest step is the user's.** Logins, CAPTCHAs, and payment are theirs. Prepare everything else so their part is two minutes. ## References — load what the current phase needs | file | when | |---|---| | `references/01-workflow.md` | always, at the start | | `references/02-review.md` | before every review, and when writing any checker | | `references/03-jlc-manufacturing.md` | before fixing the board outline, stack-up or rules | | `references/04-sourcing.md` | choosing parts, pricing, netting against stock, staging carts | | `references/05-easyeda-mcp.md` | before the first write to EasyEDA — it is a trap list | | `references/06-mechanical.md` | before declaring a board assemblable; 3D, connectors, folds | | `references/07-bringup.md` | flashing and first power-up, especially with no USB-serial adapter | ## Scripts `scripts/` holds the checkers this workflow depends on. They are deliberately independent of the EDA: they parse exported documents and Gerbers, so they can contradict the tool that produced them. Each directory has its own README. - `scripts/placement/` — courtyards from real pads, via-lane widths, module-body clearance - `scripts/routing/` — the DSN/SES autoroute chain with a four-state watchdog and a rate floor - `scripts/verify/` — netlist assertions, Gerber parsing, drill census, 3D interference - `scripts/notify/` — a progress relay so a long run is never silent ## Dónde encaja - Categoría: [Herramientas para desarrolladores](https://skillsagentes.com/categorias/herramientas-desarrollo.md) — Skills que cambian cómo tu agente escribe, revisa y despliega código. - Creador: [daishuge](https://skillsagentes.com/creators/daishuge.md) — 0 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Skills relacionadas - [Domain Modeling](https://skillsagentes.com/skills/mattpocock/skills/domain-modeling.md): Construye y afila el modelo de dominio de un proyecto. Úsalo para fijar la terminología o un lenguaje ubicuo, registrar una decisión arquitectónica, o cuando otro skill necesita mantener el modelo. - [Code Review](https://skillsagentes.com/skills/mattpocock/skills/code-review.md): Revisa los cambios desde un punto fijo por dos ejes — Standards (¿sigue los estándares del repo?) y Spec (¿hace lo que pedía el issue?) — en sub-agentes paralelos, y los reporta lado a lado. - [Implement](https://skillsagentes.com/skills/mattpocock/skills/implement.md): Implementa una pieza de trabajo a partir de una spec o un conjunto de tickets. - [Improve Codebase Architecture](https://skillsagentes.com/skills/mattpocock/skills/improve-codebase-architecture.md): Escanea un código en busca de oportunidades de deepening, las presenta como un informe HTML visual, y luego te interroga sobre la que elijas. - [Setup Ts Deep Modules](https://skillsagentes.com/skills/mattpocock/skills/setup-ts-deep-modules.md): Conecta dependency-cruiser a un repo TypeScript para que cada paquete sea un módulo profundo: implementación oculta en subcarpetas, alcanzable solo a través de sus entry points. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)