If you're programmatically reading or writing KiCad schematics and PCBs, this is your reference sheet. It covers the S-expression format for both .kicad_sch and .kicad_pcb files in KiCad 8.x, with concrete examples of symbols, wires, footprints, traces, vias, and zones. The documentation is practical: it shows you exactly how to structure a symbol instance with properties, how net numbers work across pads and segments, and what a hierarchical sheet block looks like. This is the kind of thing you want when you're building automation for board generation or parsing existing designs, not clicking around in the GUI.

skills.sh installs
232
GitHub stars
14
last updated
Aug 21, 2026

Install

$ npx -y skills add o2scale/electronics-agent-kit --skill kicad-file-format --agent claude-code

Installs into .claude/skills of the current project.

Files

KiCad File Format Reference

Complete reference for KiCad 8.x S-expression file formats.

KiCad uses Lisp-style S-expressions for all file formats. Files are human-readable and text-based.


1. S-Expression Basics

Syntax

(keyword value)
(keyword (nested value))
(keyword
  (child1 value)
  (child2 value)
)

Common Patterns

  • Coordinates: (at x y angle) or (xy x y)
  • UUIDs: (uuid "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
  • Strings: "quoted string" or unquoted_identifier
  • Numbers: 1.234 (always decimal, no units in file)
  • Booleans: yes / no

2. Schematic Format (.kicad_sch)

File Structure

Sponsors

Details

Repository
github.com/o2scale/electronics-agent-kit
Categories
Documentation, Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026
1daleseo avatarbun-testdaleseo/bun-skillsConfigure Bun's built-in test runner with Jest-compatible APIs. Use when setting up testing infrastructure, writing unit/integration/snapshot tests, migrating f228skills.sh installs
2davila7 avatarprofessional-communicationdavila7/claude-code-templatesGuide technical communication for software developers. Covers email structure, team messaging etiquette, meeting agendas, and adapting messages for technical vs227skills.sh installs
3ncklrs avatarcustomer-lifecycle-marketerncklrs/startup-os-skillsExpert customer lifecycle marketing guidance for retention, expansion, and advocacy. Use when designing onboarding programs, creating upsell strategies, prevent225skills.sh installs
4pedronauck avatarpitch-deck-visualspedronauck/skillsInvestor pitch deck structure with slide-by-slide framework, visual design rules, and data presentation. Covers the 12-slide framework, chart types, team slides217skills.sh installs
5fabriciofs avatarsqlserver-expertfabriciofs/mcp-sql-serverExpert in Microsoft SQL Server development and administration. Use when writing T-SQL queries, optimizing database performance, designing schemas, configuring S212skills.sh installs
6charleswiltgen avataraxiom-swift-testingcharleswiltgen/axiomUse when writing unit tests, adopting Swift Testing framework, making tests run faster without simulator, architecting code for testability, testing async code 208skills.sh installs