Repository navigation
Description
Summary
Every path in skills-lock.json is missing the / before SKILL.md, e.g.
"align-grid": { "path": "skills/align-gridSKILL.md", ... }The real file is skills/align-grid/SKILL.md. This affects all 81 entries in the published 2.88.9 package and on main.
Impact
scripts/mcp-server.js resolves skills through these paths (getSkillContent: path.join(ROOT, skill.path) then fs.existsSync), so bigpowers_get_skill and bigpowers_invoke_skill return Skill "<name>" not found for every valid skill name. bigpowers_list_skills / bigpowers_search_skills are unaffected because they only read names and descriptions.
Cause
scripts/regenerate-lockfile.sh line 15:
relpath="${skill_dir#$REPO_ROOT/}SKILL.md"Suggested fix:
relpath="${skill_dir#$REPO_ROOT/}/SKILL.md"then regenerate the lockfile via npm run sync in a repo checkout. (Verified on a copy of 2.88.9: after the one-character fix, 0 of 81 paths are missing and bigpowers_get_skill returns the skill content.)
Minor, related: running bash scripts/regenerate-lockfile.sh standalone fails with REPO_ROOT: unbound variable (line 6), because resolve_repo_root is only called inside iterate_skills, which runs in a process-substitution subshell. It works when invoked from sync-skills.sh, which calls resolve_repo_root first. Calling resolve_repo_root at the top of regenerate-lockfile.sh would make it self-contained.
Reproduce (bigpowers 2.88.9, Node 22, macOS)
cd /path/to/bigpowers # package root, e.g. "$(npm root -g)/bigpowers" for npm -g, or a repo checkout
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"bigpowers_get_skill","arguments":{"name":"survey-context"}}}' \
| node scripts/mcp-server.jsActual: a successful tools/call result (no isError) whose text content is {"error": "Skill \"survey-context\" not found"}
Expected: the contents of skills/survey-context/SKILL.md.
Quick check that every path is broken:
jq -r '.skills[].path' skills-lock.json | while read p; do [ -f "$p" ] || echo "missing: $p"; done | wc -l # → 81Suggestion
A regression check in the compliance/self-test scripts that every skills-lock.json path exists would catch this. Note scripts/golden-g04-selftest.sh currently only compares skill counts, which is why it passes.
(Workaround for anyone hitting this: the bundled bigpowers-mcp/build/index.js server reads skills/*/SKILL.md directly and works.)
Activity
danielvm-git commentedon Oct 25, 2026
@tharanee-bit — Thank you for one of the most complete bug reports in this repo's history: you identified the exact line, provided the one-character fix, wrote a reproducible test command, and caught the secondary REPO_ROOT unbound-variable edge case as a bonus. This is exactly the kind of writeup that makes a fix land in minutes rather than days. Fixing now — deeply appreciated.
github-actions commentedon Oct 25, 2026
🎉 This issue has been resolved in version 2.88.11 🎉
The release is available on:
Your semantic-release bot 📦🚀
fix(lockfile): add missing slash in skill path + self-contained resol…