Skip to content

Commit cf0c9fb

Browse files
docs(plugin): use path in skill transform examples (#52470)
Co-authored-by: nexxeln <[email protected]>
1 parent bebc364 commit cf0c9fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎services/www/src/docs/content/build/plugins/effect.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ effect: (ctx) =>
890890
id: Skill.ID.make("review"),
891891
name: Skill.Name.make("Review"),
892892
description: "Review the current changes",
893-
location: "/workspace/.opencode/skills/review.md",
893+
path: "/workspace/.opencode/skills/review/SKILL.md",
894894
content: "Review the current changes for correctness and missing tests.",
895895
}))
896896
const review = editor.get("review")

‎services/www/src/docs/content/build/plugins/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ await ctx.skill.transform((editor) => {
829829
id: "review",
830830
name: "Review",
831831
description: "Review the current changes",
832-
location: "/workspace/.opencode/skills/review.md",
832+
path: "/workspace/.opencode/skills/review/SKILL.md",
833833
content: "Review the current changes for correctness and missing tests.",
834834
})
835835
const review = editor.get("review")

0 commit comments

Comments
 (0)