summaryrefslogtreecommitdiff
path: root/docs/README.opencode.md
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-01-23 17:33:23 +0000
committerJesse Vincent <jesse@fsck.com>2026-01-23 17:33:23 +0000
commit493ac18dfe2d30e34c05277d9e130988ed290f67 (patch)
tree3de9e99ca1ba52af8b8c10516050c7b9a6e779f9 /docs/README.opencode.md
parent35d4fbcd0b31485d9a55f0ba96a51ae7fe78d382 (diff)
fix(opencode): update docs for native skills, fix symlink instructions
Issues addressed: - #342: INSTALL.md still referenced removed find_skills/use_skill tools - #339: Symlink instructions could fail if target already exists Changes: - INSTALL.md: Added missing skills symlink step, updated to native skill tool - INSTALL.md: Removed Node.js prerequisite (no longer needed) - README.opencode.md: Added explicit rm before ln -s (ln -sf doesn't remove dirs) - Both files: Use ln -s instead of ln -sf for clarity Note: #343 (plugin vs plugins folder name) not addressed in this commit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/README.opencode.md')
-rw-r--r--docs/README.opencode.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/README.opencode.md b/docs/README.opencode.md
index 4370625..9b4f438 100644
--- a/docs/README.opencode.md
+++ b/docs/README.opencode.md
@@ -30,11 +30,15 @@ fi
# 2. Create directories
mkdir -p ~/.config/opencode/plugin ~/.config/opencode/skills
-# 3. Create symlinks (safe for reinstalls - ln -sf overwrites)
-ln -sf ~/.config/opencode/superpowers/.opencode/plugin/superpowers.js ~/.config/opencode/plugin/superpowers.js
-ln -sf ~/.config/opencode/superpowers/skills ~/.config/opencode/skills/superpowers
+# 3. Remove old symlinks/directories if they exist
+rm -f ~/.config/opencode/plugin/superpowers.js
+rm -rf ~/.config/opencode/skills/superpowers
-# 4. Restart OpenCode
+# 4. Create symlinks
+ln -s ~/.config/opencode/superpowers/.opencode/plugin/superpowers.js ~/.config/opencode/plugin/superpowers.js
+ln -s ~/.config/opencode/superpowers/skills ~/.config/opencode/skills/superpowers
+
+# 5. Restart OpenCode
```
#### Verify Installation