by barrett-land
Install ADOM'S OWN machine pin/contact library into the user's EDA — KiCad, Altium Designer, OR Fusion 360. Fetches the six machine components from the wiki, converts them with adom-lbr into 'Adom Machine Symbols' + 'Adom Machine Footprints' (one combined .lbr for Fusion), and pushes them into the chosen EDA over adom-desktop. Asks which EDA first. Supersedes adom-altium-library-importer (its Altium path is folded in). Not a general component-adder.
install.sh links the skill folder into ~/.claude/skills; the next publish will be refused
The wiki now refuses a publish whose install.sh links a folder into ~/.claude/skills (INSTALL_SCRIPT_LINKS_SKILL). install.sh line 28 does that (ln -sfn "$SRC" "$DEST"), so the next version of this package will be refused until the line goes.
Nothing is lost today: with adom-wiki 1.8.33, an install keeps the skill's files intact (tested). But links like this one made other packages lose their files (adom/adom-wiki-cli#79), and the CLI delivers skills/adom-library-importer/ itself, so the link is no longer needed.
Fix for the next version: replace the ln -sfn line with a cleanup of the link earlier versions left, so the CLI writes a real folder:
for root in "$HOME/.claude/skills" "$HOME/.codex/skills"; do
[ -L "$root/adom-library-importer" ] && rm -f "$root/adom-library-importer"
done
exit 0
The package still needs an install.sh (skill packages must ship one), so keep the file with just that. adom/kicad-board-audit 1.0.3 is a worked example.
0 Replies
Log in to reply.