Skip to content

fix(cli): discover symlinked skill directories - #1283

Merged
tiann merged 1 commit into
tiann:mainfrom
swear01:fix/issue-1282-symlink-skills
Aug 1, 2026
Merged

fix(cli): discover symlinked skill directories#1283
tiann merged 1 commit into
tiann:mainfrom
swear01:fix/issue-1282-symlink-skills

Conversation

@swear01

@swear01 swear01 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • follow symbolic-link directories while enumerating $skill roots
  • ignore broken links and links to non-directories
  • cover the real skill-manager layout with a directory-symlink regression test
  • preserve hidden-directory and Codex .system handling

Verification

  • bun run --cwd cli vitest run src/modules/common/skills.test.ts — 27 passed
  • bun typecheck && bun run test — exit 0
  • local Codex-flavor HAPI discovery: 7 → 24 skills (the 17 shared symlinked skills now appear)

Fixes #1282

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings

  • None.

Summary
Review mode: initial
No reportable issues found in the added or modified lines. Residual risk: Windows junction/symlink behavior is not covered because repository CI runs on Ubuntu only.

Testing

  • Not run (automation). The added regression test covers a directory symlink, broken symlink, and symlink to a file; GitHub checks were pending at review time.

HAPI Bot

@tiann
tiann merged commit b5c83c6 into tiann:main Aug 1, 2026
2 checks passed
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.

fix(cli): $skill completion skips symlinked skill directories

2 participants