Agent Skills: Unify Representation & Centralize Loading (#15833)

This commit is contained in:
N. Taylor Mullen
2026-01-03 16:24:36 -08:00
committed by GitHub
parent 30f5c4af4a
commit f0a039f7c0
13 changed files with 410 additions and 451 deletions
@@ -58,8 +58,20 @@ describe('skillsCommand', () => {
expect.objectContaining({
type: MessageType.SKILLS_LIST,
skills: [
{ name: 'skill1', description: 'desc1' },
{ name: 'skill2', description: 'desc2' },
{
name: 'skill1',
description: 'desc1',
disabled: undefined,
location: '/loc1',
body: 'body1',
},
{
name: 'skill2',
description: 'desc2',
disabled: undefined,
location: '/loc2',
body: 'body2',
},
],
showDescriptions: true,
}),
@@ -75,8 +87,20 @@ describe('skillsCommand', () => {
expect.objectContaining({
type: MessageType.SKILLS_LIST,
skills: [
{ name: 'skill1', description: 'desc1' },
{ name: 'skill2', description: 'desc2' },
{
name: 'skill1',
description: 'desc1',
disabled: undefined,
location: '/loc1',
body: 'body1',
},
{
name: 'skill2',
description: 'desc2',
disabled: undefined,
location: '/loc2',
body: 'body2',
},
],
showDescriptions: true,
}),