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

@@ -109,6 +109,20 @@ function runTests() {
assert.ok(parsed.operations.length > 0);
})) passed++; else failed++;
if (test('emits JSON for --skills without pulling parent module', () => {
const result = run([
'--skills', 'continuous-learning-v2',
'--target', 'claude',
'--json',
]);
assert.strictEqual(result.code, 0);
const parsed = JSON.parse(result.stdout);
assert.deepStrictEqual(parsed.includedComponentIds, ['skill:continuous-learning-v2']);
assert.deepStrictEqual(parsed.selectedModuleIds, ['skill-continuous-learning-v2']);
assert.ok(parsed.operations.some(operation => operation.sourceRelativePath === 'skills/continuous-learning-v2'));
assert.ok(!parsed.operations.some(operation => operation.sourceRelativePath === 'skills/tdd-workflow'));
})) passed++; else failed++;
if (test('loads planning intent from ecc-install.json', () => {
const configDir = path.join(__dirname, '..', 'fixtures', 'tmp-install-plan-config');
const configPath = path.join(configDir, 'ecc-install.json');