Repository navigation
fix(skills): add check-global-skills.sh doctor + repoint dead symlinks (#454) - #456
Merged
Merged
Conversation
…nks (#454) bin/check-global-skills.sh — reports broken global skill symlinks in ~/.config/opencode/skills/ and can repoint them to the main checkout. Global skills are the only route by which an opskit procedure reaches a session running in another project. A missing skill is silent — the agent behaves as though the procedure was never needed. Usage: bin/check-global-skills.sh # report broken links (exit 1) bin/check-global-skills.sh --fix # repoint to main checkout
growlf
added a commit
that referenced
this pull request
Oct 25, 2026
…ktree fix, dead symlinks doctor (#457) Grind processed two issues: #451: check-worktree.sh primary checkout detection fix using --git-common-dir vs --absolute-git-dir; also fixes GREEN unbound var bug; 8 real-repo tests. Collateral: Caddyfile redirect support, 2 KB articles. PR #451 (squash 615cd34). #454: 33 dead global skill symlinks → fixed by adding bin/check-global-skills.sh doctor (reports + repoints to main checkout); 4 tests. All 33 repointed manually. PR #456 (squash 44d20af). Also documents remaining uncommitted files from other sessions.
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.
Closes #454
Adds
bin/check-global-skills.sh— a doctor script that reports broken globalskill symlinks in ~/.config/opencode/skills/ and can repoint them to the main
checkout.
Problem: 33 of 45 global skills pointed into a deleted worktree (
opskit-wt-437).A missing skill is silent — the agent behaves as though the procedure was never
needed.
Fix:
--fixrepoints every broken symlink to the stable main checkout(
~/Projects/opskit), so removing a worktree can no longer silently break skills.Usage
Test
4 tests: no skills dir, no broken links, broken link detected, fix repairs.
Also applied
The 33 broken symlinks have been manually repointed to the main checkout.
Zero broken links remain.