feat: add symlink script for Git submodule usage#64
Open
amirgeek wants to merge 3 commits intopbakaus:mainfrom
Open
feat: add symlink script for Git submodule usage#64amirgeek wants to merge 3 commits intopbakaus:mainfrom
amirgeek wants to merge 3 commits intopbakaus:mainfrom
Conversation
pbakaus
requested changes
Mar 28, 2026
Owner
pbakaus
left a comment
There was a problem hiding this comment.
Thanks for your contribution! I have one suggestion that I think would make this much easier for adoption, otherwise looks promising.
bin/link.sh
Outdated
| echo "Linking .$PROVIDER to parent directory..." | ||
|
|
||
| # Check if target already exists in parent | ||
| if [ -e "$PARENT_DIR/$PROVIDER_DIR" ]; then |
Owner
There was a problem hiding this comment.
I'm assuming that a lot of people will already have e.g. a .claude folder, so this technique wouldn't work then...would it not be better to symlink the sub folders (.claude/skills/{folders in here})?
Author
|
Good catch — updated the script so it now creates symlinks only inside the provider's skills folder (e.g. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #46.
This PR adds a convenient shell script (
bin/link.sh) and documentation for using the repository as a git submodule. This allows users to keep their skills up to date withgit submodule update --remotewithout having to manually download ZIPs or run update scripts.The script automatically detects the provider you want and creates a relative symlink from your project's root to the submodule directory.
Usage: