Repository navigation
Description
Problem
I keep my own skills in a Git repo (~/code/my-repo/src/skills/) and expose them globally with skillshare link. With the default target_naming: flat with skillshare v0.30.11, every skill in a linked folder reaches the target with the link name as a prefix:
~/.config/skillshare/skills/_my-repo -> ~/code/my-repo/src/skills
~/.claude/skills/_my-repo__git-commit
~/.claude/skills/_my-repo__pull-request
The result is Claude Code's /skills undesirably shows the prefixed names instead of each SKILL.md's name::
✔ _my-repo__git-commit user · ~40 tokens
✔ _my-repo__pull-request user · ~40 tokens
Why not target_naming: standard
target_naming: standard removes the my-repo__ prefix, but it changes the naming of every skill synced to ~/.claude/skills/, not only the skills from ~/code/my-repo/src/skills/. Under standard, when two skills share a name:, skillshare sync skips both skills and removes the one already in ~/.claude/skills/.
skillshare sync doesn't abort on such a collision. It warns N duplicate skill names detected and lists the names, and reports the removal only as part of the N pruned count in its summary.
Proposal
An opt-in way to have the skills in a folder added by skillshare link sync under their folder names, without the my-repo__ prefix, as if they sat directly in ~/.config/skillshare/skills/. Other skills keep the target_naming of the target they sync to (here ~/.claude/skills/). For example:
skillshare link ~/code/my-repo/src/skills --name my-repo --no-prefix# ~/.config/skillshare/config.yaml
links:
my-repo:
prefix: falseWith skillshare link --no-prefix, my-repo/git-commit syncs as ~/.claude/skills/git-commit, and new skills added to ~/code/my-repo/src/skills/ show up on the next skillshare sync.
Naming
I'd use each skill's folder name, as flat already does, so no SKILL.md has to be read. The Agent Skills specification requires name: to match the folder name anyway.
Collisions
If an unprefixed name collides with another skill's name, skillshare link and skillshare sync should abort with an error naming both paths and exit non-zero, rather than skipping or removing either skill.
Additional Information
This isn't a duplicate of the issue that led to target_naming: prefixed, which adds a repo prefix to tell apart same-named skills from different tracked repos. This request is to drop the link-name prefix.
The target_naming: prefixed from that issue with an effectively empty prefix (skillshare link --name _) also gives git-commit, but prefixed requires mode: copy, which I don't want to use because that puts copies in ~/.claude/skills/, so edits in ~/code/my-repo/src/skills/ wouldn't reach Claude Code without an additional skillshare sync.
Activity