mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-13 08:42:31 +02:00
fix: restore short Claude plugin slug and skill installs (#1712)
This commit is contained in:
parent
7b964402ee
commit
8a57679222
25 changed files with 273 additions and 94 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue