left-skills 0.1.0 → 0.1.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/dist/cli.js +44 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -3198,9 +3198,52 @@ function relativeTime(iso) {
|
|
|
3198
3198
|
return `${days} \u5929\u524D`;
|
|
3199
3199
|
}
|
|
3200
3200
|
|
|
3201
|
+
// package.json
|
|
3202
|
+
var package_default = {
|
|
3203
|
+
name: "left-skills",
|
|
3204
|
+
version: "0.1.8",
|
|
3205
|
+
description: "\u7ED9 AI \u7528\u7684 skill \u751F\u547D\u5468\u671F\u7BA1\u7406\u5DE5\u5177 \u2014 MVP: skill \u8C03\u7528\u4F7F\u7528\u7EDF\u8BA1",
|
|
3206
|
+
bin: {
|
|
3207
|
+
"left-skills": "./dist/cli.js"
|
|
3208
|
+
},
|
|
3209
|
+
scripts: {
|
|
3210
|
+
build: "tsup",
|
|
3211
|
+
dev: "tsup --watch"
|
|
3212
|
+
},
|
|
3213
|
+
dependencies: {
|
|
3214
|
+
commander: "^12.0.0",
|
|
3215
|
+
"gray-matter": "^4.0.3"
|
|
3216
|
+
},
|
|
3217
|
+
devDependencies: {
|
|
3218
|
+
typescript: "^5.4.0",
|
|
3219
|
+
tsup: "^8.0.0",
|
|
3220
|
+
"@types/node": "^20.0.0"
|
|
3221
|
+
},
|
|
3222
|
+
author: "cuikexi",
|
|
3223
|
+
license: "MIT",
|
|
3224
|
+
repository: {
|
|
3225
|
+
type: "git",
|
|
3226
|
+
url: "git+https://github.com/cuikexi/left-skills.git"
|
|
3227
|
+
},
|
|
3228
|
+
keywords: [
|
|
3229
|
+
"claude-code",
|
|
3230
|
+
"skill",
|
|
3231
|
+
"agent-skills",
|
|
3232
|
+
"usage",
|
|
3233
|
+
"cli",
|
|
3234
|
+
"shift-left"
|
|
3235
|
+
],
|
|
3236
|
+
files: [
|
|
3237
|
+
"dist"
|
|
3238
|
+
],
|
|
3239
|
+
engines: {
|
|
3240
|
+
node: ">=18"
|
|
3241
|
+
}
|
|
3242
|
+
};
|
|
3243
|
+
|
|
3201
3244
|
// src/cli.ts
|
|
3202
3245
|
var program2 = new Command();
|
|
3203
|
-
program2.name("left-skills").description("\u7ED9 AI \u7528\u7684 skill \u751F\u547D\u5468\u671F\u7BA1\u7406\u5DE5\u5177 \u2014 MVP: skill \u8C03\u7528\u4F7F\u7528\u7EDF\u8BA1").version(
|
|
3246
|
+
program2.name("left-skills").description("\u7ED9 AI \u7528\u7684 skill \u751F\u547D\u5468\u671F\u7BA1\u7406\u5DE5\u5177 \u2014 MVP: skill \u8C03\u7528\u4F7F\u7528\u7EDF\u8BA1").version(package_default.version);
|
|
3204
3247
|
program2.command("usage").description("skill \u8C03\u7528\u4F7F\u7528\u62A5\u544A").option("--json", "\u8F93\u51FA JSON(AI \u7528)").option("--since <days>", "\u65F6\u95F4\u7A97\u53E3(\u5929,\u9ED8\u8BA4 30)", "30").action((opts) => {
|
|
3205
3248
|
const since = parseInt(opts.since, 10) || 30;
|
|
3206
3249
|
const report = buildReport(since);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "left-skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "给 AI 用的 skill 生命周期管理工具 — MVP: skill 调用使用统计",
|
|
5
5
|
"bin": {
|
|
6
6
|
"left-skills": "./dist/cli.js"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/cuikexi/left-skills"
|
|
25
|
+
"url": "git+https://github.com/cuikexi/left-skills.git"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
28
|
"claude-code",
|