fix: restore short Claude plugin slug and skill installs (#1712)

This commit is contained in:
Affaan Mustafa
2026-05-11 02:10:36 -04:00
committed by GitHub
parent 7b964402ee
commit 8a57679222
25 changed files with 273 additions and 94 deletions

View File

@@ -145,6 +145,23 @@ function runTests() {
assert.match(component.description, /continuous-learning-v2/, 'Should point new installs to continuous-learning-v2');
})) passed++; else failed++;
if (test('exposes continuous-learning-v2 as a single-skill install surface', () => {
const component = getInstallComponent('skill:continuous-learning-v2');
assert.strictEqual(component.id, 'skill:continuous-learning-v2');
assert.deepStrictEqual(component.moduleIds, ['skill-continuous-learning-v2']);
assert.ok(component.targets.includes('claude'), 'Should support Claude installs');
const plan = resolveInstallPlan({
includeComponentIds: ['skill:continuous-learning-v2'],
target: 'claude',
});
assert.deepStrictEqual(plan.selectedModuleIds, ['skill-continuous-learning-v2']);
assert.ok(
plan.operations.some(operation => operation.sourceRelativePath === 'skills/continuous-learning-v2'),
'Should plan only the continuous-learning-v2 skill path'
);
})) passed++; else failed++;
if (test('lists supported legacy compatibility languages', () => {
const languages = listLegacyCompatibilityLanguages();
assert.ok(languages.includes('typescript'));