skillsets 0.1.1 → 0.1.2
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 +5 -5
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -76,7 +76,7 @@ This skillset has been verified in production.
|
|
|
76
76
|
[List projects or products built using this skillset]
|
|
77
77
|
`;
|
|
78
78
|
const AUDIT_SKILL_MD = `---
|
|
79
|
-
name:
|
|
79
|
+
name: audit-skill
|
|
80
80
|
description: Qualitative review of skillset content against Claude Code best practices. Evaluates all primitives (skills, agents, hooks, MCP, CLAUDE.md) for proper frontmatter, descriptions, and structure. Appends analysis to AUDIT_REPORT.md.
|
|
81
81
|
---
|
|
82
82
|
|
|
@@ -419,8 +419,8 @@ export async function init(options) {
|
|
|
419
419
|
// Generate PROOF.md
|
|
420
420
|
const proof = PROOF_TEMPLATE.replace('{{PRODUCTION_URL}}', productionUrl);
|
|
421
421
|
writeFileSync(join(cwd, 'PROOF.md'), proof);
|
|
422
|
-
// Install
|
|
423
|
-
const skillDir = join(cwd, '.claude', 'skills', '
|
|
422
|
+
// Install audit-skill skill to .claude/skills/
|
|
423
|
+
const skillDir = join(cwd, '.claude', 'skills', 'audit-skill');
|
|
424
424
|
mkdirSync(skillDir, { recursive: true });
|
|
425
425
|
writeFileSync(join(skillDir, 'SKILL.md'), AUDIT_SKILL_MD);
|
|
426
426
|
writeFileSync(join(skillDir, 'CRITERIA.md'), AUDIT_CRITERIA_MD);
|
|
@@ -438,12 +438,12 @@ export async function init(options) {
|
|
|
438
438
|
console.log(' └── (add your .claude/ and/or CLAUDE.md here)');
|
|
439
439
|
}
|
|
440
440
|
console.log(' .claude/skills/ - Audit skill installed');
|
|
441
|
-
console.log(' └──
|
|
441
|
+
console.log(' └── audit-skill/');
|
|
442
442
|
console.log(chalk.cyan('\nNext steps:'));
|
|
443
443
|
console.log(' 1. Edit PROOF.md with production evidence');
|
|
444
444
|
console.log(' 2. Ensure content/ has your skillset files');
|
|
445
445
|
console.log(' 3. Run: npx skillsets audit');
|
|
446
|
-
console.log(' 4. Run: /
|
|
446
|
+
console.log(' 4. Run: /audit-skill [AUDIT_REPORT.md] [path/to/reference-repo]');
|
|
447
447
|
}
|
|
448
448
|
catch (error) {
|
|
449
449
|
spinner.fail('Failed to create structure');
|