mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-15 13:23:13 +08:00
fix: restore short Claude plugin slug and skill installs (#1712)
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user