Преглед изворни кода

docs: global claude skills (#6436)

Connor Adams пре 1 месец
родитељ
комит
97081484d5
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      packages/web/src/content/docs/skills.mdx

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

@@ -15,7 +15,8 @@ OpenCode searches these locations:
 
 - Project config: `.opencode/skill/<name>/SKILL.md`
 - Global config: `~/.config/opencode/skill/<name>/SKILL.md`
-- Claude-compatible: `.claude/skills/<name>/SKILL.md`
+- Project Claude-compatible: `.claude/skills/<name>/SKILL.md`
+- Global Claude-compatible: `~/.claude/skills/<name>/SKILL.md`
 
 ---
 
@@ -24,7 +25,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 `~/.config/opencode/skill/*/SKILL.md`.
+Global definitions are also loaded from `~/.config/opencode/skill/*/SKILL.md` and `~/.claude/skills/*/SKILL.md`.
 
 ---