@hasnatools/skills 0.1.4 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/index.js +40 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21948,6 +21948,36 @@ 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 GITHUB_ISSUES_URL = "https://github.com/skillsmd/skills-md/issues";
21953
+ var DISCORD_URL = "https://discord.gg/skillsmd";
21954
+ var EMAIL = "feedback@skills.md";
21955
+ async function feedbackCommand(options = {}) {
21956
+ console.log();
21957
+ console.log(source_default.bold("We'd love to hear from you!"));
21958
+ console.log();
21959
+ if (options.bug || options.github) {
21960
+ console.log(source_default.dim("Opening GitHub Issues..."));
21961
+ await open_default(GITHUB_ISSUES_URL);
21962
+ console.log(source_default.green("✓") + " Opened: " + source_default.cyan(GITHUB_ISSUES_URL));
21963
+ } else {
21964
+ console.log(source_default.dim("How to reach us:"));
21965
+ console.log();
21966
+ console.log(" " + source_default.bold("GitHub Issues") + source_default.dim(" (bugs & features)"));
21967
+ console.log(" " + source_default.cyan(GITHUB_ISSUES_URL));
21968
+ console.log();
21969
+ console.log(" " + source_default.bold("Email"));
21970
+ console.log(" " + source_default.cyan(EMAIL));
21971
+ console.log();
21972
+ console.log(" " + source_default.bold("Discord"));
21973
+ console.log(" " + source_default.cyan(DISCORD_URL));
21974
+ console.log();
21975
+ console.log(source_default.dim("─".repeat(40)));
21976
+ console.log(source_default.dim("Run ") + source_default.cyan("skills feedback --github") + source_default.dim(" to open GitHub Issues"));
21977
+ }
21978
+ console.log();
21979
+ }
21980
+
21951
21981
  // src/index.ts
21952
21982
  var program2 = new Command;
21953
21983
  program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.0");
@@ -22023,6 +22053,12 @@ program2.command("logs <skill>").description("View execution logs for a skill").
22023
22053
  tail: parseInt(options.tail, 10)
22024
22054
  });
22025
22055
  });
22056
+ program2.command("feedback").description("Send feedback or report issues").option("-g, --github", "Open GitHub Issues in browser").option("-b, --bug", "Open GitHub Issues (alias for --github)").action((options) => {
22057
+ feedbackCommand({
22058
+ github: options.github,
22059
+ bug: options.bug
22060
+ });
22061
+ });
22026
22062
  program2.addHelpText("after", `
22027
22063
  ${source_default.bold("Examples:")}
22028
22064
  ${source_default.dim("# Initialize in current project")}
@@ -22059,6 +22095,10 @@ ${source_default.bold("Examples:")}
22059
22095
  ${source_default.dim("# View logs for a skill")}
22060
22096
  $ skills logs code-review
22061
22097
 
22098
+ ${source_default.dim("# Send feedback or report bugs")}
22099
+ $ skills feedback
22100
+ $ skills feedback --bug
22101
+
22062
22102
  ${source_default.bold("Documentation:")}
22063
22103
  https://skills.md/docs
22064
22104
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasnatools/skills",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "CLI for skills.md - AI Agent Skills Marketplace",
5
5
  "type": "module",
6
6
  "bin": {