AGENT SKILL

example-skill

Test fixture — failing case for script-resolution-version rule.

License 许可
MIT
最近更新
2026-09-05
Stars
★ 0
Forks
6

01 前言 Front Matter

name
example-skill
description
Test fixture — failing case for script-resolution-version rule.

02 资源文件 1

03 SKILL.md 正文

example-skill

Resolves a helper script using the OLD find ~/.claude/plugins pattern (regression, see #485) — this shape can silently select a fixture or marketplace-clone copy of the script instead of the installed one, even with sort -V | tail -1.

SCRIPT=$(find ~/.claude/plugins -name "example.js" -path "*/sdlc*/scripts/example.js" 2>/dev/null | sort -V | tail -1)
[ -z "$SCRIPT" ] && [ -f "plugins/sdlc-utilities/scripts/example.js" ] && SCRIPT="plugins/sdlc-utilities/scripts/example.js"
[ -z "$SCRIPT" ] && { echo "ERROR: Could not locate example.js" >&2; exit 2; }
node "$SCRIPT"

04 同仓库更多 Skills