skillsets 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/init.js +0 -12
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -3,7 +3,6 @@ import ora from 'ora';
|
|
|
3
3
|
import { input, confirm, checkbox } from '@inquirer/prompts';
|
|
4
4
|
import { existsSync, mkdirSync, copyFileSync, readdirSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
|
-
import degit from 'degit';
|
|
7
6
|
import { execSync } from 'child_process';
|
|
8
7
|
import { CDN_BASE_URL } from '../lib/constants.js';
|
|
9
8
|
/** Marker files that indicate a directory is a self-contained support stack */
|
|
@@ -438,15 +437,6 @@ export async function init(options) {
|
|
|
438
437
|
.replace(/\{\{NAME\}\}/g, name);
|
|
439
438
|
writeFileSync(join(cwd, 'content', 'INSTALL_NOTES.md'), installNotes);
|
|
440
439
|
}
|
|
441
|
-
// Install audit-skill from registry
|
|
442
|
-
spinner.text = 'Fetching audit-skill...';
|
|
443
|
-
const skillDir = join(cwd, '.claude', 'skills', 'audit-skill');
|
|
444
|
-
const emitter = degit('skillsets-cc/main/tools/audit-skill', {
|
|
445
|
-
cache: false,
|
|
446
|
-
force: true,
|
|
447
|
-
verbose: false,
|
|
448
|
-
});
|
|
449
|
-
await emitter.clone(skillDir);
|
|
450
440
|
spinner.succeed('Skillset structure created');
|
|
451
441
|
// Summary
|
|
452
442
|
console.log(chalk.green('\n✓ Initialized skillset submission:\n'));
|
|
@@ -461,8 +451,6 @@ export async function init(options) {
|
|
|
461
451
|
else {
|
|
462
452
|
console.log(' └── (add your .claude/ and/or CLAUDE.md here)');
|
|
463
453
|
}
|
|
464
|
-
console.log(' .claude/skills/ - Audit skill installed');
|
|
465
|
-
console.log(' └── audit-skill/');
|
|
466
454
|
console.log(chalk.cyan('\nNext steps:'));
|
|
467
455
|
console.log(' 1. Edit content/INSTALL_NOTES.md with install notes');
|
|
468
456
|
console.log(' 2. Ensure content/ has your skillset files');
|