From d788599f9974d0be062a46aa96cf849f8396bca6 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 19 Dec 2025 01:07:06 +0900 Subject: [PATCH] feat(claude-code-skill-loader): add base directory context (#103) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include base directory information in skill template wrapper for improved context and file resolution during skill loading. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/features/claude-code-skill-loader/loader.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/features/claude-code-skill-loader/loader.ts b/src/features/claude-code-skill-loader/loader.ts index c2a8ec1..4b43899 100644 --- a/src/features/claude-code-skill-loader/loader.ts +++ b/src/features/claude-code-skill-loader/loader.ts @@ -36,6 +36,9 @@ function loadSkillsFromDir(skillsDir: string, scope: SkillScope): LoadedSkillAsC const formattedDescription = `(${scope} - Skill) ${originalDescription}` const wrappedTemplate = ` +Base directory for this skill: ${resolvedPath}/ +File references (@path) in this skill are relative to this directory. + ${body.trim()}