pcb-components

Place, move, rotate, or align PCB components in KiCad designs.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/pjcau/esp32-emu-turbo --skill pcb-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pcb-components
Source: https://github.com/pjcau/esp32-emu-turbo/tree/main/.claude/skills/pcb-components
Command: npx skills add https://github.com/pjcau/esp32-emu-turbo --skill pcb-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually editing KiCad board files to adjust component positions is time‑consuming and error‑prone, especially when iterating on enclosure designs or creating component arrays.

Core Features & Use Cases

  • list: Show all components with their coordinates, rotation, and layer.
  • place: Add a new component entry to the placement script.
  • move: Change a component's X/Y enclosure coordinates.
  • rotate: Update a component's rotation angle.
  • align: Verify grid alignment and avoid courtyard overlaps.
    Use case: When a new enclosure size is chosen, quickly reposition buttons, connectors, and LEDs to fit the updated dimensions without manual KiCad editing.

Quick Start

Ask the pcb-components skill to list all current component placements.

Frequently Asked Questions about pcb-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PCB component placement in KiCad?

Automate PCB component placement in KiCad by using a script to programmatically move, rotate, and align parts on top and bottom copper layers. This avoids manual board file editing and streamlines hardware layout iterations.

What is the best way to generate component arrays on a KiCad board?

Generate component arrays on a KiCad board by programmatically adding new placement entries to your project script. This method allows you to quickly populate multiple components without manually placing each part in the editor.

How do I verify grid alignment and avoid courtyard overlaps in KiCad?

Verify grid alignment and avoid courtyard overlaps in KiCad by running a programmatic check on your component placement definitions. This automated verification ensures proper spacing and prevents layout errors during hardware iterations.

Can I reposition KiCad components when changing enclosure sizes without manual editing?

Reposition KiCad components for new enclosure sizes by updating the X/Y coordinates in your placement script. This automatically adjusts buttons, connectors, and LEDs to fit the updated dimensions without manual KiCad editing.

Do I need Python access to modify KiCad board component positions?

You need Python access to the project's generate_pcb scripts to modify KiCad board component positions programmatically. This environment allows you to directly alter the board.py placement definitions for component adjustments.

Why does programmatic PCB component placement fail to list current coordinates?

Programmatic PCB component placement fails to list current coordinates if the project lacks the required generate_pcb scripts or board.py definitions. Ensure your Python environment has the necessary access to query component placements accurately.