@hasnatools/skills 0.1.4 → 0.1.5
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 +36 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21948,6 +21948,32 @@ async function marketplaceCommand(options = {}) {
|
|
|
21948
21948
|
console.log(source_default.dim(`Run ${source_default.cyan("skills search <query>")} to search for specific skills`));
|
|
21949
21949
|
}
|
|
21950
21950
|
|
|
21951
|
+
// src/commands/feedback.ts
|
|
21952
|
+
var FEEDBACK_URL = "https://skills.md/feedback";
|
|
21953
|
+
var GITHUB_ISSUES_URL = "https://github.com/skillsmd/skills-md/issues";
|
|
21954
|
+
async function feedbackCommand(options = {}) {
|
|
21955
|
+
console.log();
|
|
21956
|
+
console.log(source_default.bold("We'd love to hear from you!"));
|
|
21957
|
+
console.log();
|
|
21958
|
+
if (options.bug) {
|
|
21959
|
+
console.log(source_default.dim("Opening GitHub Issues for bug reports..."));
|
|
21960
|
+
await open_default(GITHUB_ISSUES_URL);
|
|
21961
|
+
console.log(source_default.green("✓") + " Opened: " + source_default.cyan(GITHUB_ISSUES_URL));
|
|
21962
|
+
} else if (options.feature) {
|
|
21963
|
+
console.log(source_default.dim("Opening feedback page for feature requests..."));
|
|
21964
|
+
await open_default(FEEDBACK_URL);
|
|
21965
|
+
console.log(source_default.green("✓") + " Opened: " + source_default.cyan(FEEDBACK_URL));
|
|
21966
|
+
} else {
|
|
21967
|
+
console.log(" " + source_default.cyan("skills feedback --bug") + source_default.dim(" Report a bug on GitHub"));
|
|
21968
|
+
console.log(" " + source_default.cyan("skills feedback --feature") + source_default.dim(" Request a feature"));
|
|
21969
|
+
console.log();
|
|
21970
|
+
console.log(source_default.dim("Or open directly:"));
|
|
21971
|
+
console.log(" " + source_default.dim("Bugs: ") + source_default.cyan(GITHUB_ISSUES_URL));
|
|
21972
|
+
console.log(" " + source_default.dim("Feedback: ") + source_default.cyan(FEEDBACK_URL));
|
|
21973
|
+
}
|
|
21974
|
+
console.log();
|
|
21975
|
+
}
|
|
21976
|
+
|
|
21951
21977
|
// src/index.ts
|
|
21952
21978
|
var program2 = new Command;
|
|
21953
21979
|
program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.0");
|
|
@@ -22023,6 +22049,12 @@ program2.command("logs <skill>").description("View execution logs for a skill").
|
|
|
22023
22049
|
tail: parseInt(options.tail, 10)
|
|
22024
22050
|
});
|
|
22025
22051
|
});
|
|
22052
|
+
program2.command("feedback").description("Send feedback or report issues").option("-b, --bug", "Report a bug on GitHub").option("-f, --feature", "Request a new feature").action((options) => {
|
|
22053
|
+
feedbackCommand({
|
|
22054
|
+
bug: options.bug,
|
|
22055
|
+
feature: options.feature
|
|
22056
|
+
});
|
|
22057
|
+
});
|
|
22026
22058
|
program2.addHelpText("after", `
|
|
22027
22059
|
${source_default.bold("Examples:")}
|
|
22028
22060
|
${source_default.dim("# Initialize in current project")}
|
|
@@ -22059,6 +22091,10 @@ ${source_default.bold("Examples:")}
|
|
|
22059
22091
|
${source_default.dim("# View logs for a skill")}
|
|
22060
22092
|
$ skills logs code-review
|
|
22061
22093
|
|
|
22094
|
+
${source_default.dim("# Send feedback or report bugs")}
|
|
22095
|
+
$ skills feedback
|
|
22096
|
+
$ skills feedback --bug
|
|
22097
|
+
|
|
22062
22098
|
${source_default.bold("Documentation:")}
|
|
22063
22099
|
https://skills.md/docs
|
|
22064
22100
|
`);
|