Просмотр исходного кода

docs: update skills to use canonical `~/.config/opencode` location (#6132)

Connor Adams 1 месяц назад
Родитель
Сommit
8eac72341f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/web/src/content/docs/skills.mdx

+ 2 - 2
packages/web/src/content/docs/skills.mdx

@@ -14,7 +14,7 @@ Create one folder per skill name and put a `SKILL.md` inside it.
 OpenCode searches these locations:
 
 - Project config: `.opencode/skill/<name>/SKILL.md`
-- Global config: `~/.opencode/skill/<name>/SKILL.md`
+- Global config: `~/.config/opencode/skill/<name>/SKILL.md`
 - Claude-compatible: `.claude/skills/<name>/SKILL.md`
 
 ---
@@ -24,7 +24,7 @@ OpenCode searches these locations:
 For project-local paths, OpenCode walks up from your current working directory until it reaches the git worktree.
 It loads any matching `skill/*/SKILL.md` in `.opencode/` and any matching `.claude/skills/*/SKILL.md` along the way.
 
-Global definitions are also loaded from `~/.opencode/skill/*/SKILL.md`.
+Global definitions are also loaded from `~/.config/opencode/skill/*/SKILL.md`.
 
 ---