fix(skill): keep no-skills wording compatible with tests

This commit is contained in:
Bo Li
2026-02-19 01:19:44 +08:00
committed by YeonGyu-Kim
parent 05d7c3f462
commit c13886e13a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
export const TOOL_NAME = "skill" as const export const TOOL_NAME = "skill" as const
export const TOOL_DESCRIPTION_NO_SKILLS = "Load a skill or execute a slash command to get detailed instructions for a specific task. No skills or commands are currently available." export const TOOL_DESCRIPTION_NO_SKILLS = "Load a skill or execute a slash command to get detailed instructions for a specific task. No skills are currently available."
export const TOOL_DESCRIPTION_PREFIX = `Load a skill or execute a slash command to get detailed instructions for a specific task. export const TOOL_DESCRIPTION_PREFIX = `Load a skill or execute a slash command to get detailed instructions for a specific task.

View File

@@ -101,7 +101,7 @@ describe("skill tool - synchronous description", () => {
const tool = createSkillTool({ skills: [] }) const tool = createSkillTool({ skills: [] })
// then // then
expect(tool.description).toContain("No skills or commands are currently available") expect(tool.description).toContain("No skills are currently available")
}) })
}) })