pcb-design-workflow

SkillMedia

RAG-backed. Take a DipTrace board through requirements, source evidence, schematic, PCB, production handoff, bring-up, and revisions using existing project skills and explicit build gates. Use for a full design cycle, a new board specification, or resuming a PCB build; «полный цикл платы», «ТЗ на плату», «продолжи разработку». Use when the user says “Take this board through the complete design and production cycle.”

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the pcb-design-workflow skill

What this skill tells your AI

The instructions your AI receives, as published by fireostendere/mcp_diptrace in skills/pcb-design-workflow/SKILL.md and read by ahel’s review.

Read runtime access before selecting tools or declaring a capability unavailable. MCP tools and native/headless CLI are separate interfaces.

PCB design workflow

RAG: engineering memory by defaultshared workflow. Carry evidence from MIT/theory, board-design guides and DipTrace courses through architecture, schematic, placement/routing, production and test; consult it at each decision stage.

Coordinate the requested lifecycle stages; read each linked skill only when its stage is needed. Current user instructions and the project's AGENTS.md, when present, determine scope, engineering evidence, house rules, and acceptance. A request to prepare a production package authorizes local preparation, not ordering, payment, or publication.

Establish or resume the project

  • Resolve the project directory, schematic/PCB paths, revision, assembly variant, requested endpoint, and available hardware. Reuse the existing naming and reports.
  • For an existing design, use pcb-project-intake to inventory exact document identities. Read its specification, rules, and PCB_BUILD.md.
  • For a new design, create a concise PROJECT_SPEC.md: purpose, interfaces and pinout, input ranges and protection, rail/load/startup budget, exact critical variants, enclosure/connector datums, dimensions, environment, fab/assembly process, quantity, programming/test access, and measurable acceptance criteria. Record unknowns rather than inventing electrical or mechanical requirements. Ask only about choices that change the design; continue independent work.
  • Sketch functional blocks and power domains. Bind every consequential requirement to its source and a verification method. Mark estimates and proposed choices explicitly.
  • Assemble and maintain the RAG engineering brief from theory, board practice, DipTrace courses and project lessons. Proactively surface coupled risks and alternatives; carry the context from schematic to layout, production and bring-up without waiting for another expert-role prompt. Preserve useful decisions in the existing project journal.
  • Before resuming an existing PCB handoff, run the quality gate below. A failure returns work to the owning stage. A new specification without a board is not a passed PCB gate.

Stage routing

Requested outcomeSkill to read
Datasheet, package, pinout, layout and revision evidencediptrace-datasheet-rules
BOM, catalog parts, availability and substitutionsdiptrace-bom-sourcing
Library pin/pad validationlibrary-quality-audit
Architecture and schematic constructionschematic-engineer, then schematic style
Schematic ERC and connectivity reviewschematic-erc-review
Mechanics, critical placement, stackup, routing, silkPCB implementation
Ground system and stitchingGround and finish
Constrained routing and SI when relevantcritical-net-router, signal-integrity-review
Physical test accesstestpoint-planner
DFM/DFA/DFT and release reviewrelease-gate
Native DipTrace verificationdiptrace-evidence-capture
Fabrication/assembly files and production handoffdiptrace-production-pack
First article, programming, measurements, production testsdiptrace-board-bringup
ECO, revision comparison, regression and re-releasediptrace-revision-review

PCB gates and checkpoint

Maintain PCB_BUILD.md using the handoff template. Keep this order:

  1. Electrical checks.
  2. Official source evidence.
  3. Footprint and pin-map validation.
  4. Mechanics and connector datums.
  5. Datasheet-driven critical placement.
  6. Two-layer-first stackup.
  7. Critical then remaining routing.
  8. Zero ratlines.
  9. Top/Bottom GND pours and distributed stitching.
  10. Silkscreen.
  11. Headless QC.
  12. Native DipTrace refill, connectivity, and DRC.
  13. Media and release inspection.

These are acceptance gates, not permission to defer evidence until after dependent design decisions. A failed gate invalidates downstream evidence affected by the defect. Never mark a later gate PASS over an unresolved earlier gate. A narrower task stops at its requested endpoint without claiming the remaining gates passed.

Record input/output hashes, evidence paths, last passing gate, current failure, intentional datasheet deviations and consequences, exact executable resume command, and last checkpoint commit. Make narrow checkpoint commits after evidence/footprints, placement/routing, and native acceptance/media. Preserve unrelated changes. When Git writes are unavailable, record exact intended files and commit commands without claiming a commit exists.

From the source repository root (this project-specific checker is not shipped in the wheel):

PYTHONPATH=src .venv/bin/python scripts/pcb_quality_gate.py <project-dir>

If several revisions coexist, supply explicit absolute --board and --schematic paths. Non-zero is BLOCKED. Exit zero checks hash/order consistency and headless QC; pending manual gates still need evidence. The checker contains a thermal-via exception for a historical board, so independently enforce the current no-via-in-pad rule. If only the wheel is installed, record the missing checkout/checker and perform the available MCP checks; do not claim the repository handoff gate passed.

Inspect the chosen builder before executing it. The current scripts/build_generic_board.py invokes DUT Rev.A scripts and tolerates some stage failures; it is not a safe universal dispatcher for a new board. Reuse a fitting maintained builder or guarded MCP operations with explicit project targets. Historical recipe numbers are examples, not current design rules: never shrink verified pads or merge thermal-pad geometry to suppress errors; route constrained differential pairs as pairs; permit via-in-pad only with the explicitly requested compatible filled/capped process. Native DRC failures remain failures.

Finish the requested endpoint

Return actual artifact paths, revision and hashes, passed/failed/missing gates, and the exact next action when blocked. Regenerate and inspect PCB/MP4/GIF after a visual PCB change as required by AGENTS.md, including staged sequence and final frame. A consistent checkpoint, a native-accepted PCB, a production package, and a tested physical board are separate results; report only those supported by evidence.

Return the shared result; use document: null when no CAD document is involved. Record concrete artifacts and unavailable checks; a completed plan is not physical or manufacturing acceptance.

Signals

GitHub stars
22
Forks
1
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
pcb-design-workflow
Source
github.com/fireostendere/mcp_diptrace