skill
Adom Wiki Skill Pack
Public Unreviewedby John Lauer
How to use the Adom Wiki without breaking pages — the wiki is six tools in one (git, adompkg, releases, discussions, PRs, discovery), and three repo archetypes have emerged from real use: Page, Skillpack, and Family. Plus how to publish rich component pages (chips, molecules, boards). One install, 15 skills, plus a write-up of the design patterns for the people who build the wiki.
#!/usr/bin/env bash
# Generate the embeddable symbol + footprint viewers for a chip using the OFFICIAL
# adom-symbol / adom-footprint `embed` exports (self-contained interactive HTML,
# incl. the InstaPCB paste-dots layer on the footprint). Use the built binaries.
set -e
SYM="${ADOM_SYMBOL:-adom-symbol}"; FP="${ADOM_FOOTPRINT:-adom-footprint}"
CHIPDIR="$1"; OUTDIR="$2"; MPN="$(basename "$CHIPDIR")"
"$SYM" embed --file "$CHIPDIR/$MPN.kicad_sym" --out "$OUTDIR/symview.html"
"$FP" embed --file "$CHIPDIR/$MPN.kicad_mod" --out "$OUTDIR/fpview.html"
echo "OK: symview.html + fpview.html (official adom-symbol/adom-footprint embed exports)"