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
commit f96e2d4222
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 {