-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Open
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)windows
Description
Description
As a Windows user, I need OpenCode to correctly discover and invoke skills from ~/.claude/skills when ~/.claude is a junction, so that slash autocomplete (/) and skill invocation are both reliable.
Real Problems Observed
- A visible
/skillspage does not prove the fix. The real failure point is slash autocomplete after typing/. - Duplicate skill names exist in real setups (for example,
skill-creatorappears in both user and system scopes). - Previous name-based dedupe collapsed duplicate-name skills into a single candidate, which hid valid skills.
- In-process simulations (
tmpdir + OPENCODE_TEST_HOME + Skill.all()) can pass while real user validation still fails.
How to Reproduce
- On Windows, set
~/.claudeas a junction to a target path (for example,D:\\Tony\\ubuntu_settings\\.claude). - Ensure duplicate-name skills exist across scopes (for example, both
~/.claude/skills/skill-creator/SKILL.mdand~/.claude/skills/.system/skill-creator/SKILL.md). - Launch OpenCode TUI and type
/skill-creator. - Observe slash autocomplete behavior and candidate list.
Expected Behavior
- Slash autocomplete (
/) shows all invokable skill candidates, including duplicate names. - Duplicate-name skills are distinguishable by scope (
system,user,project). - Skill labels in autocomplete do not append
:skill. - Real foreground TUI validation passes on a real junction-based
~/.claude/skillssetup.
Hard Requirements
- Slash autocomplete must be the primary validation target (not
/skillspage alone) - Duplicate-name skills must be visible and distinguishable by scope
- Skill labels must not append
:skill - Real foreground TUI path must be validated (
~/.claude/skills+/input + candidate visibility) - No completion claim before real foreground path passes
Environment
- Windows 10/11
~/.claudeis a junction- OpenCode CLI/TUI on Bun runtime
Acceptance Criteria
- In foreground TUI, typing
/skill-creatorshows duplicate candidates with scope disambiguation - Skills in Windows junction directories are correctly scanned and invokable
- Existing symlink functionality is not regressed
- Non-Windows platforms are not regressed
- Typecheck and regression tests pass
- Real e2e validation passes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)windows