feat(claude-code-skill-loader): add base directory context (#103)

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)
This commit is contained in:
YeonGyu-Kim
2025-12-19 01:07:06 +09:00
committed by GitHub
parent 2b368ad84f
commit d788599f99

View File

@@ -36,6 +36,9 @@ function loadSkillsFromDir(skillsDir: string, scope: SkillScope): LoadedSkillAsC
const formattedDescription = `(${scope} - Skill) ${originalDescription}`
const wrappedTemplate = `<skill-instruction>
Base directory for this skill: ${resolvedPath}/
File references (@path) in this skill are relative to this directory.
${body.trim()}
</skill-instruction>