Browse Source

v0.1.0: scoped to @fmode, version rule fixed

liuyuyang 2 days ago
parent
commit
207fc23b38
5 changed files with 12 additions and 9 deletions
  1. 1 1
      README.md
  2. 1 1
      SKILL.md
  3. 2 2
      bin/skill-core.mjs
  4. 1 1
      lib/index.mjs
  5. 7 4
      package.json

+ 1 - 1
README.md

@@ -139,7 +139,7 @@ cp -r skill-core-guide/skills/skill-core-guide <你的工具技能目录>/skill-
 
 ### npm / skillhub
 ```bash
-npm install skill-core-guide
+npm install @fmode/skill-core-guide
 skillhub install fmode-skill-core-guide   # ⚠️ 待 key 补发,见下方渠道现状
 ```
 

+ 1 - 1
SKILL.md

@@ -1,7 +1,7 @@
 ---
 slug: fmode-skill-core-guide
 displayName: skill-core-guide
-version: 1.0.1
+version: 0.1.0
 summary: Fmode Harness 平台母技能标准指南 —— 平台端点真值表、ESM-first 四端标准、四渠道分发、六项自动质检、一键凭证供给、新技能脚手架。
 license: MIT
 author: Yuyang001 (FmodeAgent)

+ 2 - 2
bin/skill-core.mjs

@@ -218,7 +218,7 @@ async function cmdInit(flags, positional) {
 
   if (!fs.existsSync(TEMPLATE_DIR)) {
     console.error(c(C.red, `✗ 脚手架模板缺失:${TEMPLATE_DIR}`));
-    console.error('  请重新安装:npm install skill-core-guide@latest');
+    console.error('  请重新安装:npm install @fmode/skill-core-guide@latest');
     process.exit(2);
   }
 
@@ -234,7 +234,7 @@ async function cmdInit(flags, positional) {
     skillName,
     cliName,
     displayName: flags.display || skillName,
-    summary: flags.summary || `${skillName} —— 由 skill-core-guide 脚手架生成`,
+    summary: flags.summary || `${skillName} —— 由 @fmode/skill-core-guide 脚手架生成`,
   });
 
   const rel = written.map((f) => path.relative(abs, f)).sort();

+ 1 - 1
lib/index.mjs

@@ -14,7 +14,7 @@
  *   console.log(r.ok, r.errors);
  */
 
-export const VERSION = '1.0.1';
+export const VERSION = '0.1.0';
 export const SKILL_NAME = 'skill-core-guide';
 
 // 本地绑定:供本文件内的 CHANNELS / publishPlan 等使用

+ 7 - 4
package.json

@@ -1,6 +1,6 @@
 {
-  "name": "skill-core-guide",
-  "version": "1.0.1",
+  "name": "@fmode/skill-core-guide",
+  "version": "0.1.0",
   "description": "Fmode Harness 平台母技能标准指南:平台端点真值表、ESM-first 四端标准、四渠道分发、六项自动质检、一键凭证供给、新技能脚手架。",
   "type": "module",
   "main": "./lib/index.mjs",
@@ -77,5 +77,8 @@
   "bugs": {
     "url": "https://github.com/fmodecn/skill-core-guide/issues"
   },
-  "dependencies": {}
-}
+  "dependencies": {},
+  "publishConfig": {
+    "access": "public"
+  }
+}