universal-dev-standards 3.5.1-beta.7 → 3.5.1-beta.8
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/package.json
CHANGED
|
@@ -473,16 +473,37 @@ export function getInstalledSkillsInfoForAgent(agent, level, projectPath = null)
|
|
|
473
473
|
|
|
474
474
|
const manifestPath = join(targetDir, '.manifest.json');
|
|
475
475
|
|
|
476
|
+
// Check if manifest exists
|
|
476
477
|
if (!existsSync(manifestPath)) {
|
|
477
|
-
//
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
478
|
+
// No manifest - check if there are actual skill files (SKILL.md in subdirectories)
|
|
479
|
+
try {
|
|
480
|
+
const entries = readdirSync(targetDir, { withFileTypes: true });
|
|
481
|
+
const skillDirs = entries.filter(e => e.isDirectory() && !e.name.startsWith('.'));
|
|
482
|
+
|
|
483
|
+
// Check if any subdirectory contains a SKILL.md file
|
|
484
|
+
const hasSkillFiles = skillDirs.some(dir => {
|
|
485
|
+
const skillFile = join(targetDir, dir.name, 'SKILL.md');
|
|
486
|
+
return existsSync(skillFile);
|
|
487
|
+
});
|
|
488
|
+
|
|
489
|
+
if (!hasSkillFiles) {
|
|
490
|
+
// Empty directory or no valid skills - not installed
|
|
491
|
+
return null;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
// Has skill files but no manifest
|
|
495
|
+
return {
|
|
496
|
+
installed: true,
|
|
497
|
+
version: null,
|
|
498
|
+
source: 'unknown',
|
|
499
|
+
agent,
|
|
500
|
+
level,
|
|
501
|
+
path: targetDir
|
|
502
|
+
};
|
|
503
|
+
} catch {
|
|
504
|
+
// Error reading directory - assume not installed
|
|
505
|
+
return null;
|
|
506
|
+
}
|
|
486
507
|
}
|
|
487
508
|
|
|
488
509
|
try {
|
package/standards-registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "3.5.1-beta.
|
|
3
|
+
"version": "3.5.1-beta.8",
|
|
4
4
|
"lastUpdated": "2026-01-15",
|
|
5
5
|
"description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
|
|
6
6
|
"formats": {
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"standards": {
|
|
49
49
|
"name": "universal-dev-standards",
|
|
50
50
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
51
|
-
"version": "3.5.1-beta.
|
|
51
|
+
"version": "3.5.1-beta.8"
|
|
52
52
|
},
|
|
53
53
|
"skills": {
|
|
54
54
|
"name": "universal-dev-standards",
|
|
55
55
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
56
56
|
"localPath": "skills/claude-code",
|
|
57
57
|
"rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills/claude-code",
|
|
58
|
-
"version": "3.5.1-beta.
|
|
58
|
+
"version": "3.5.1-beta.8",
|
|
59
59
|
"note": "Skills are now included in the main repository under skills/"
|
|
60
60
|
}
|
|
61
61
|
},
|