fix: use correct 'skills' directory path and respect OPENCODE_CONFIG_DIR

- Change skill directory from 'skill' (singular) to 'skills' (plural) to match OpenCode standard
- Use getOpenCodeConfigDir() to respect OPENCODE_CONFIG_DIR environment variable
- Update documentation and tests to reflect correct paths

Fixes #810
This commit is contained in:
Jonas Herrmansdsoerfer
2026-01-21 13:12:27 +01:00
parent 3d30e08d36
commit d2d609e8b2
6 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -147,8 +147,8 @@ Three specializations in one:
### Custom Skills
Load custom skills from:
- `.opencode/skill/*/SKILL.md` (project)
- `~/.config/opencode/skill/*/SKILL.md` (user)
- `.opencode/skills/*/SKILL.md` (project)
- `~/.config/opencode/skills/*/SKILL.md` (user)
- `.claude/skills/*/SKILL.md` (Claude Code compat)
- `~/.claude/skills/*/SKILL.md` (Claude Code user)