@hasnatools/skills 0.1.17 → 0.1.18
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/index.js +26 -26
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17809,10 +17809,10 @@ var applyOptions = (object, options = {}) => {
|
|
|
17809
17809
|
object.level = options.level === undefined ? colorLevel : options.level;
|
|
17810
17810
|
};
|
|
17811
17811
|
var chalkFactory = (options) => {
|
|
17812
|
-
const
|
|
17813
|
-
applyOptions(
|
|
17814
|
-
Object.setPrototypeOf(
|
|
17815
|
-
return
|
|
17812
|
+
const chalk = (...strings) => strings.join(" ");
|
|
17813
|
+
applyOptions(chalk, options);
|
|
17814
|
+
Object.setPrototypeOf(chalk, createChalk.prototype);
|
|
17815
|
+
return chalk;
|
|
17816
17816
|
};
|
|
17817
17817
|
function createChalk(options) {
|
|
17818
17818
|
return chalkFactory(options);
|
|
@@ -17932,9 +17932,9 @@ var applyStyle = (self, string) => {
|
|
|
17932
17932
|
return openAll + string + closeAll;
|
|
17933
17933
|
};
|
|
17934
17934
|
Object.defineProperties(createChalk.prototype, styles2);
|
|
17935
|
-
var
|
|
17935
|
+
var chalk = createChalk();
|
|
17936
17936
|
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
17937
|
-
var source_default =
|
|
17937
|
+
var source_default = chalk;
|
|
17938
17938
|
|
|
17939
17939
|
// ../../node_modules/.bun/ora@8.2.0/node_modules/ora/index.js
|
|
17940
17940
|
import process9 from "node:process";
|
|
@@ -23137,7 +23137,7 @@ async function doctorCommand() {
|
|
|
23137
23137
|
// src/index.ts
|
|
23138
23138
|
var indigo12 = colors.primary;
|
|
23139
23139
|
var program2 = new Command;
|
|
23140
|
-
program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.
|
|
23140
|
+
program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.18");
|
|
23141
23141
|
program2.command("init").description("Initialize skills.md in current project").option("-f, --force", "Force re-initialization (removes existing .skills/)").action((options) => {
|
|
23142
23142
|
initCommand({ force: options.force });
|
|
23143
23143
|
});
|
|
@@ -23239,64 +23239,64 @@ program2.command("upgrade").description("Upgrade the Skills CLI to the latest ve
|
|
|
23239
23239
|
program2.command("doctor").description("Check your environment and diagnose issues").action(doctorCommand);
|
|
23240
23240
|
program2.addHelpText("after", `
|
|
23241
23241
|
${indigo12.bold("Examples:")}
|
|
23242
|
-
${
|
|
23242
|
+
${source_default.dim("# Initialize in current project")}
|
|
23243
23243
|
$ skills init
|
|
23244
23244
|
|
|
23245
|
-
${
|
|
23245
|
+
${source_default.dim("# Login to your account")}
|
|
23246
23246
|
$ skills login
|
|
23247
23247
|
|
|
23248
|
-
${
|
|
23248
|
+
${source_default.dim("# Browse the marketplace")}
|
|
23249
23249
|
$ skills marketplace
|
|
23250
23250
|
|
|
23251
|
-
${
|
|
23251
|
+
${source_default.dim("# Search for skills")}
|
|
23252
23252
|
$ skills search code review
|
|
23253
23253
|
|
|
23254
|
-
${
|
|
23254
|
+
${source_default.dim("# Install a skill")}
|
|
23255
23255
|
$ skills install code-review
|
|
23256
23256
|
|
|
23257
|
-
${
|
|
23257
|
+
${source_default.dim("# Install globally for Claude Code")}
|
|
23258
23258
|
$ skills install code-review -g -t claude
|
|
23259
23259
|
|
|
23260
|
-
${
|
|
23260
|
+
${source_default.dim("# List installed skills")}
|
|
23261
23261
|
$ skills list
|
|
23262
23262
|
|
|
23263
|
-
${
|
|
23263
|
+
${source_default.dim("# Generate content using a skill")}
|
|
23264
23264
|
$ skills generate image "a sunset over mountains"
|
|
23265
23265
|
|
|
23266
|
-
${
|
|
23266
|
+
${source_default.dim("# View execution history")}
|
|
23267
23267
|
$ skills history
|
|
23268
23268
|
$ skills history --skill image-generator
|
|
23269
23269
|
$ skills history --status completed
|
|
23270
23270
|
$ skills history --local
|
|
23271
23271
|
|
|
23272
|
-
${
|
|
23272
|
+
${source_default.dim("# View exports for a skill")}
|
|
23273
23273
|
$ skills exports image-generator
|
|
23274
23274
|
|
|
23275
|
-
${
|
|
23275
|
+
${source_default.dim("# View logs for a skill")}
|
|
23276
23276
|
$ skills logs code-review
|
|
23277
23277
|
|
|
23278
|
-
${
|
|
23278
|
+
${source_default.dim("# Submit feedback")}
|
|
23279
23279
|
$ skills feedback
|
|
23280
23280
|
|
|
23281
|
-
${
|
|
23281
|
+
${source_default.dim("# Get skill info")}
|
|
23282
23282
|
$ skills info code-review
|
|
23283
23283
|
|
|
23284
|
-
${
|
|
23284
|
+
${source_default.dim("# Check credits balance")}
|
|
23285
23285
|
$ skills credits
|
|
23286
23286
|
|
|
23287
|
-
${
|
|
23287
|
+
${source_default.dim("# Purchase credits")}
|
|
23288
23288
|
$ skills credits buy 25
|
|
23289
23289
|
|
|
23290
|
-
${
|
|
23290
|
+
${source_default.dim("# Enable 2FA for CLI purchases")}
|
|
23291
23291
|
$ skills config cli-2fa on
|
|
23292
23292
|
|
|
23293
|
-
${
|
|
23293
|
+
${source_default.dim("# Update installed skills")}
|
|
23294
23294
|
$ skills update
|
|
23295
23295
|
|
|
23296
|
-
${
|
|
23296
|
+
${source_default.dim("# Upgrade CLI")}
|
|
23297
23297
|
$ skills upgrade
|
|
23298
23298
|
|
|
23299
|
-
${
|
|
23299
|
+
${source_default.dim("# Check environment")}
|
|
23300
23300
|
$ skills doctor
|
|
23301
23301
|
|
|
23302
23302
|
${indigo12.bold("Documentation:")}
|