pcb-design
Skill169 starsChanged 18 days agoMITView on GitHub
Safe KiCad PCB design assistance workflow using KiCad MCP board inspection, placement, routing, stackup, and quality-gate tools.
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when an AI agent is asked to inspect, plan, improve, or safely assist with a KiCad PCB layout through KiCad MCP Pro.
- Distinctive: line 14
Use this skill for:
- Distinctive: line 23
Do not use this skill to claim that a board is production-ready.
- Distinctive: line 63
Use only after explaining the planned change and confirming that the workflow is allowed to modify files.
- Very specific: line 85
Prefer kicad_set_project over a shell cd when the goal is to select the active KiCad project.
- Very specific: line 86
Use dedicated MCP operations for KiCad objects.
- Very specific: line 87
Do not rewrite .kicad_pcb or .kicad_sch with sed, regex-based Python, or other ad-hoc text mutation as a fallback when a required MCP tool …
- Distinctive: line 88
If the current profile or operating mode does not expose the required MCP operation, stop and report the missing tool plus the required …
- Very specific: line 107
If needed, set the active project with kicad_set_project.
- Distinctive: line 123
Read-only observations before any mutation
- Distinctive: line 130
Stop and report clearly when:
- Distinctive: line 132
No KiCad project is active
- Distinctive: line 154
Never state that a PCB is ready for fabrication solely because edits were applied.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PCB Design Skill
Use this skill when an AI agent is asked to inspect, plan, improve, or safely assist with a KiCad PCB layout through KiCad MCP Pro.
This skill is specific to oaslananka/kicad-mcp-pro and should be kept synchronized with docs/tools-reference.generated.md.
When to use
Use this skill for:
- PCB layout review
- Board outline, stackup, and design-rule planning
- Component placement assistance
- Routing-quality review
- Schematic-to-PCB synchronization review
- First-pass power, signal, EMC, and manufacturability sanity checks
Do not use this skill to claim that a board is production-ready. Production readiness requires ERC, DRC, DFM, release package review, and human engineering approval.
Required context
Collect or establish:
- Active project path with
kicad_set_projector current state fromkicad_get_project_info - Board file and schematic file presence
- Design intent from
project_get_design_intentorproject_set_design_intent - Board constraints: layer count, stackup, clearances, current, voltage, impedance, and manufacturer limits
- User permission before any write/destructive board operation
Primary MCP tools
Project and intent
kicad_get_project_infokicad_set_projectproject_get_design_intentproject_set_design_intentproject_design_workflowproject_get_next_action
Read-only PCB inspection
pcb_get_board_summarypcb_get_layerspcb_get_stackuppcb_get_design_rulespcb_get_footprintspcb_get_netspcb_get_net_statisticspcb_get_trackspcb_get_viaspcb_get_zonespcb_get_ratsnestpcb_net_inspector
PCB modification tools
Use only after explaining the planned change and confirming that the workflow is allowed to modify files.
pcb_set_board_outlinepcb_set_stackuppcb_set_design_rulespcb_sync_from_schematicpcb_auto_place_by_schematicpcb_auto_place_force_directedpcb_move_footprintpcb_place_componentpcb_place_decoupling_capspcb_add_trackpcb_add_tracks_bulkpcb_add_viapcb_add_zonepcb_delete_itemspcb_delete_objectpcb_refill_zonespcb_save
MCP-first mutation boundary
- Prefer
kicad_set_projectover a shellcdwhen the goal is to select the active KiCad project. - Use dedicated MCP operations for KiCad objects. For example, inspect tracks/vias through MCP, remove existing PCB objects with
pcb_delete_itemsorpcb_delete_object, and verify withrun_drc. - Do not rewrite
.kicad_pcbor.kicad_schwithsed, regex-based Python, or other ad-hoc text mutation as a fallback when a required MCP tool is unavailable. - If the current profile or operating mode does not expose the required MCP operation, stop and report the missing tool plus the required profile/mode. Let the user explicitly opt into a broader supported MCP surface instead of silently switching to shell mutation.
Quality gates and specialist checks
pcb_quality_gatepcb_placement_quality_gatepcb_transfer_quality_gatepcb_stackup_consistency_gatepcb_route_corner_style_gatepcb_visual_qarun_drccheck_design_for_manufacturemanufacturing_quality_gateproject_quality_gateproject_revalidate_after_edit
Workflow
- Inspect project state with
kicad_get_project_info. - If needed, set the active project with
kicad_set_project. - Load or define design intent with
project_get_design_intentorproject_set_design_intent. - Inspect board structure with
pcb_get_board_summary,pcb_get_layers,pcb_get_stackup, andpcb_get_design_rules. - Inspect physical implementation with
pcb_get_footprints,pcb_get_nets,pcb_get_tracks,pcb_get_vias, andpcb_get_zones. - For placement tasks, use
pcb_critique_placement,pcb_score_placement, andpcb_placement_quality_gatebefore proposing edits. - For routing tasks, inspect ratsnest, tracks, vias, net classes, stackup, and constraints before proposing route changes.
- Apply write operations only when the requested workflow explicitly allows file changes.
- Re-run targeted gates after every meaningful edit:
run_drc,pcb_quality_gate,pcb_transfer_quality_gate, andproject_revalidate_after_edit. - Produce a report that separates verified tool output, assumptions, changes made, and remaining risks.
Quality checks
A useful PCB design response must include:
- Active project and board file summary
- Constraints and assumptions used
- Read-only observations before any mutation
- List of write operations, if any
- DRC and quality-gate result summary
- Remaining warnings, unknowns, and required human checks
Failure modes
Stop and report clearly when:
- No KiCad project is active
- The board file is missing or not parseable
- Required KiCad CLI/IPC capability is unavailable
- A required MCP mutation tool is unavailable in the active profile/mode; report the required profile/mode instead of falling back to raw KiCad-file mutation
- The user requested write operations but no safe project context exists
- DRC or quality-gate output is missing after a layout-changing operation
- The board depends on manufacturer constraints that were not provided
Output format
Return:
- Project context
- Tools used
- Findings by severity
- Changes made or proposed
- Validation results
- Manufacturing readiness status:
not assessed,blocked,needs review, orcandidate after human review - Next actions
Safety rule
Never state that a PCB is ready for fabrication solely because edits were applied. Fabrication output requires the fabrication-output workflow and qualified human review.
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Maxpeng59/Claude-pcb-design-skill★ 2same name
- skycmoon/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- integrations/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- src-tauri/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- docs/llms.txtllms.txt
- drc-checkSkill
- fabrication-outputSkill
- kicad-design-reviewSkill
- pcb-designSkill
- schematic-reviewSkill
- visual-excellenceSkill
- wired-subcircuit-designSkill
- code-reviewSkill
- drc-checkSkill
- fabrication-outputSkill
- kicad-design-reviewSkill
- schematic-reviewSkill
- visual-excellenceSkill
- wired-subcircuit-designSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

