mdk-skills 2.2.24 → 2.2.25

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.
@@ -1,5 +1,9 @@
1
1
  {
2
- "skills": {},
2
+ "skills": {
3
+ "template": {
4
+ "enabled": false
5
+ }
6
+ },
3
7
  "always_apply_skills": [
4
8
  "vue",
5
9
  "frontend-design",
@@ -8,4 +12,4 @@
8
12
  ],
9
13
  "_active_profile": "vue3-frontend",
10
14
  "_skill_source": "D:\\软件\\test-skills"
11
- }
15
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "description": "Replace with description of the skill and when Claude should use it.",
4
+ "tags": []
5
+ }
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: template-skill
3
+ description: Replace with description of the skill and when Claude should use it.
4
+ ---
5
+
6
+ # Insert instructions below
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdk-skills",
3
- "version": "2.2.24",
3
+ "version": "2.2.25",
4
4
  "description": "mdk-engineer - 沉稳靠谱的前端开发助手 Claude Skills 配置包,一键注入 .claude/ 技能目录和 CLAUDE.md 人设配置",
5
5
  "author": "XiaoMa",
6
6
  "license": "MIT",
@@ -327,7 +327,7 @@ async function handleApi(req, res) {
327
327
  if (fs.existsSync(dest)) {
328
328
  fs.rmSync(dest, { recursive: true, force: true });
329
329
  }
330
- fs.cpSync(skillPath, dest, { recursive: true });
330
+ copyDirSync(skillPath, dest);
331
331
  const fm = core.parseFrontmatter(dest);
332
332
  if (fm) {
333
333
  fs.writeFileSync(path.join(dest, ".meta.json"), JSON.stringify({