ai-developer-skill-os 6.0.2 → 6.0.3
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 +2 -2
- package/scratch_update.cjs +66 -0
- package/skills/qk-access-policy/SKILL.md +2 -1
- package/skills/qk-ai-builder/SKILL.md +2 -1
- package/skills/qk-api-lifecycle/SKILL.md +2 -1
- package/skills/qk-bug-resolution/SKILL.md +2 -1
- package/skills/qk-context-loader/SKILL.md +2 -1
- package/skills/qk-data-lifecycle/SKILL.md +2 -1
- package/skills/qk-db-optimizer/SKILL.md +2 -1
- package/skills/qk-design-to-code/SKILL.md +2 -1
- package/skills/qk-docs/SKILL.md +2 -1
- package/skills/qk-engineering-standard/SKILL.md +2 -1
- package/skills/qk-feature-delivery/SKILL.md +2 -1
- package/skills/qk-help/SKILL.md +2 -1
- package/skills/qk-orchestrator/SKILL.md +2 -1
- package/skills/qk-policy-engine/SKILL.md +2 -1
- package/skills/qk-production-release/SKILL.md +2 -1
- package/skills/qk-project-bootstrap/SKILL.md +2 -1
- package/skills/qk-project-health/SKILL.md +2 -1
- package/skills/qk-project-memory/SKILL.md +2 -1
- package/skills/qk-system-evolution/SKILL.md +2 -1
- package/skills/qk-ui-audit/SKILL.md +2 -1
- package/skills/qk-ui-system-builder/SKILL.md +2 -1
- package/skills/qk-validation-gate/SKILL.md +2 -1
- package/skills.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-developer-skill-os",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"description": "Behavior Specification Format Framework, AI coding agents (Claude, Cursor, Windsurf, Antigravity) với 23 skills chuyên nghiệp.",
|
|
5
5
|
"main": "bin/install.js",
|
|
6
6
|
"bin": {
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
"gray-matter": "^4.0.0",
|
|
42
42
|
"js-yaml": "^4.1.0"
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
const repoDir = 'd:\\ai-code-skin-mcp\\rules-skill';
|
|
5
|
+
const skillsJsonPath = path.join(repoDir, 'skills.json');
|
|
6
|
+
|
|
7
|
+
try {
|
|
8
|
+
const data = fs.readFileSync(skillsJsonPath, 'utf8');
|
|
9
|
+
const skillsConfig = JSON.parse(data);
|
|
10
|
+
|
|
11
|
+
skillsConfig.skills.forEach(skill => {
|
|
12
|
+
if (skill.path && skill.description) {
|
|
13
|
+
const skillMdPath = path.join(repoDir, skill.path);
|
|
14
|
+
if (fs.existsSync(skillMdPath)) {
|
|
15
|
+
let content = fs.readFileSync(skillMdPath, 'utf8');
|
|
16
|
+
const frontmatterRegex = /^---\r?\n([\s\S]*?)\r?\n---/;
|
|
17
|
+
const match = content.match(frontmatterRegex);
|
|
18
|
+
|
|
19
|
+
if (match) {
|
|
20
|
+
let frontmatter = match[1];
|
|
21
|
+
// Update version to 6.0.3 in frontmatter
|
|
22
|
+
if (/^version:/m.test(frontmatter)) {
|
|
23
|
+
frontmatter = frontmatter.replace(/^version:.*$/m, `version: 6.0.3`);
|
|
24
|
+
} else {
|
|
25
|
+
frontmatter += `\nversion: 6.0.3`;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Check if description already exists
|
|
29
|
+
if (/^description:/m.test(frontmatter)) {
|
|
30
|
+
frontmatter = frontmatter.replace(/^description:.*$/m, `description: "${skill.description}"`);
|
|
31
|
+
} else {
|
|
32
|
+
frontmatter += `\ndescription: "${skill.description}"`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const newContent = content.replace(frontmatterRegex, `---\n${frontmatter}\n---`);
|
|
36
|
+
fs.writeFileSync(skillMdPath, newContent, 'utf8');
|
|
37
|
+
console.log(`Updated ${skillMdPath}`);
|
|
38
|
+
} else {
|
|
39
|
+
console.log(`No frontmatter found in ${skillMdPath}`);
|
|
40
|
+
}
|
|
41
|
+
} else {
|
|
42
|
+
console.log(`File not found: ${skillMdPath}`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// Also update package.json version
|
|
48
|
+
const packageJsonPath = path.join(repoDir, 'package.json');
|
|
49
|
+
if (fs.existsSync(packageJsonPath)) {
|
|
50
|
+
const pkg = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
51
|
+
pkg.version = "6.0.3";
|
|
52
|
+
fs.writeFileSync(packageJsonPath, JSON.stringify(pkg, null, 2), 'utf8');
|
|
53
|
+
console.log('Updated package.json to 6.0.3');
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Also update skills.json version if needed
|
|
57
|
+
if (skillsConfig.version) {
|
|
58
|
+
skillsConfig.version = "6.0.3";
|
|
59
|
+
fs.writeFileSync(skillsJsonPath, JSON.stringify(skillsConfig, null, 2), 'utf8');
|
|
60
|
+
console.log('Updated skills.json version to 6.0.3');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
console.log('Done!');
|
|
64
|
+
} catch (err) {
|
|
65
|
+
console.error('Error:', err);
|
|
66
|
+
}
|
package/skills/qk-docs/SKILL.md
CHANGED
package/skills/qk-help/SKILL.md
CHANGED
package/skills.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ai-developer-skill-os.dev/schema/skills-registry.json",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"name": "AI Developer Skill OS",
|
|
5
5
|
"description": "Enterprise-ready Agentic Framework for AI Coding Agents — Engineering + Frontend + Backend",
|
|
6
6
|
"language": "en",
|