tweak: adjust skill presentation to be a little less token heavy (#17098)

This commit is contained in:
Aiden Cline
2026-03-11 16:03:15 -05:00
committed by GitHub
parent 387ab78bf6
commit f96e2d4222
4 changed files with 23 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ description: Skill for tool tests.
fn: async () => {
const tool = await SkillTool.init()
const skillPath = path.join(tmp.path, ".opencode", "skill", "tool-skill", "SKILL.md")
expect(tool.description).toContain(`<location>${pathToFileURL(skillPath).href}</location>`)
expect(tool.description).toContain(`**tool-skill**: Skill for tool tests.`)
},
})
} finally {