skill
kicad-library-install
Public Made by Adomby adom
Install/register a KiCad symbol or footprint library, and hand-generate .kicad_sch / .kicad_mod / .kicad_sym files, without silently corrupting the user's setup. Covers the five silent failure modes (lib tables rewritten on exit, UTF-8 BOM, lib_symbols sub-unit naming, 3D model Z datum, footprint name/filename mismatch) and the headless kicad-cli verification loop.
master
#!/bin/bash
set -e
PKG_DIR="$(cd "$(dirname "$0")" && pwd)"
SKILLS_DIR="$HOME/.claude/skills"
rm -rf "$SKILLS_DIR/kicad-library-install"
mkdir -p "$SKILLS_DIR/kicad-library-install"
cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/kicad-library-install/SKILL.md"
echo "Installed skill → $SKILLS_DIR/kicad-library-install/SKILL.md"