Skip to content

fix: add pnpm, Volta, Yarn, fnm, asdf, proto to skillkit discovery#20

Open
kuleka wants to merge 1 commit intoRailly:mainfrom
kuleka:fix/skillkit-bin-discovery
Open

fix: add pnpm, Volta, Yarn, fnm, asdf, proto to skillkit discovery#20
kuleka wants to merge 1 commit intoRailly:mainfrom
kuleka:fix/skillkit-bin-discovery

Conversation

@kuleka
Copy link
Copy Markdown

@kuleka kuleka commented Apr 5, 2026

Summary

  • Add static search paths for pnpm, Volta, Yarn (classic + modern), fnm, asdf, and proto to both findSkillkitBin() and buildPath()
  • Add dynamic fallback (pnpm bin -g, yarn global bin, npm bin -g) that only runs when static paths find no candidates, keeping the common case zero-cost
  • Validate dynamically discovered binaries with isCrafterSkillkit() before returning

Closes #18

🤖 Generated with Claude Code

Both findSkillkitBin() and buildPath() now search additional package
manager directories. A dynamic fallback (pnpm/yarn/npm bin -g) runs
only when static paths find nothing, keeping the common case zero-cost.

Closes Railly#18

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kuleka kuleka force-pushed the fix/skillkit-bin-discovery branch from a1b7c6e to dbe2930 Compare April 5, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

findSkillkitBin() fails to discover skillkit installed via pnpm

1 participant