Exclude deprecated skills from linking in the link-skills script

This commit is contained in:
Matt Pocock 2026-05-06 14:22:15 +01:00
parent 918f3fe30f
commit 494e4b2699

View file

@ -23,7 +23,7 @@ fi
mkdir -p "$DEST" mkdir -p "$DEST"
find "$REPO/skills" -name SKILL.md -not -path '*/node_modules/*' -print0 | find "$REPO/skills" -name SKILL.md -not -path '*/node_modules/*' -not -path '*/deprecated/*' -print0 |
while IFS= read -r -d '' skill_md; do while IFS= read -r -d '' skill_md; do
src="$(dirname "$skill_md")" src="$(dirname "$skill_md")"
name="$(basename "$src")" name="$(basename "$src")"