matlab/matlab-agentic-toolkit / skills-catalog/rf-and-mixed-signal/matlab-assemble-pcb-layout
matlab-assemble-pcb-layout
VerifiedBuild custom PCB structures with pcbComponent, shapes, Boolean ops, feeds, and multi-layer stackups for non-catalog geometries. TRIGGER: user asks to build, modify, or customize a pcbComponent — add/remove shapes, edit polygons, place feeds, add metal layers, cut slots, or create non-catalog RF structures. Also when modifying geometry of an existing catalog-designed component (e.g., adding pads, removing elements, editing vertices). Invoke BEFORE writing pcbComponent code — layer/shape/feed API is non-obvious. SKIP: designing catalog components like filters/couplers/txlines (use the specific matlab-design-pcb-* skill), material/stackup definition only (use matlab-manage-pcb-material), EM analysis (use matlab-analyze-em), importing PCB files (use matlab-read-pcb-layout).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 17.2 KB |
| manifest.yaml | config | 482 B |
| references/shape-primitives.md | markdown | 3.1 KB |
references/shape-primitives.md
View on GitHub# Shape Primitives Reference
Compact catalog of all shape primitives available for `pcbComponent` layers, Boolean operations, and DGS patterns. See SKILL.md for detailed usage examples.
## Traces
| Shape | Description | Key Properties |
|-------|-------------|----------------|
| `traceRectangular` | Rectangle centered at origin | `Length`, `Width`, `Center` |
| `traceLine` | Multi-segment line from angle/length vectors | `Length`, `Width`, `Angle`, `StartPoint`, `Corner` |
| `tracePoint` | Line trace from X/Y coordinate pairs | `TracePoints`, `Width`, `Corner`, `EnableRoundedEnds` |
| `traceSpiral` | Even-sided polygon spiral | `InnerDiameter`, `TraceWidth`, `Spacing`, `NumTurns`, `NumSides` |
| `traceTapered` | Tapered width transition with curvature control | `InputWidth`, `OutputWidth`, `Length`, `CurvatureRate`, `Symmetry` |
| `traceCross` | Cross-shaped trace (two perpendicular arms) | `Length` (2-el), `Width` (2-el), `Offset` |
| `traceStep` | Stepped impedance trace (cascaded widths) | `Length` (vector), `Width` (vector), `Symmetry` |
| `traceTee` | T-junction trace | `Length` (2-el), `Width` (2-el), `Offset` |
**Property notes:** `traceCross.Offset` shifts the intersection of the two arms from center (scalar, meters). `traceStep.Symmetry` controls which edge aligns across width transitions: `'Symmetric'` (default, centered), `'Left'`, or `'Right'`.
## Bends
| Shape | Description | Key Properties |
|-------|-------------|----------------|
| `bendCurved` | 90-degree bend with curved corner | `Length` (2-el), `Width` (2-el), `CurveRadius` |
| `bendMitered` | 90-degree bend with mitered corner | `Length` (2-el), `Width` (2-el), `MiterDiagonal` |
| `bendRightAngle` | 90-degree bend with sharp corner | `Length` (2-el), `Width` (2-el) |
| `ubendCurved` | U-bend with curved corners | `Length` (3-el), `Width` (3-el), `CurveRadius` |
| `ubendMitered` | U-bend with mitered corners | `Length` (3-el), `Width` (3-el), `MiterDiagonal` |
| `ubendRightAngle` | U-bend with sharp corners | `Length` (3-el), `Width` (3-el) |
## Curves, Rings, and Special Shapes
| Shape | Description | Key Properties |
|-------|-------------|----------------|
| `curve` | Arc or curved strip between two angles | `Radius`, `Width`, `ArcAngle` (2-el, degrees) |
| `radial` | Pie-slice / sector shape | `OuterRadius`, `InnerRadius`, `Angle` |
| `ringAnnular` | Circular annular ring | `InnerRadius`, `Width`, `Center` |
| `ringSquare` | Square annular ring | `InnerSide`, `Width`, `Center` |
| `splitRing` | Split-ring resonator (circle, triangle, square, hex, octagon) | `Type`, `NumRings`, `RingDiameter`, `TraceWidth`, `SplitGap`, `SplitAngle` |
| `delta` | Triangular sector shape | `OuterRadius`, `InnerRadius`, `Angle` |
| `dumbbell` | Dumbbell shape (polygon or circle ends) | `Type`, `ArmLength`, `ArmWidth`, `Diameter`/`SideLength` |
| `racetrack` | Stadium / racetrack shape | `Type`, `Length`, `Width`, `AnchorPoints` |
## Common Operations
All shapes share: `+` (union), `-` (subtract), `&` (intersect), `translate`, `rotateZ`, `scale`, `mirrorX`/`mirrorY`, `copy`, `show`, `mesh`, `area`.
----
Copyright 2026 The MathWorks, Inc.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |