bf-skills 1.1.2 → 1.1.3

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/cli.mjs +28 -2
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -31,6 +31,32 @@ Expected a full GitHub URL (https://github.com/owner/repo) or a local path.`
31
31
  import fs from "fs";
32
32
  import path from "path";
33
33
  import { parse as parseYaml } from "yaml";
34
+ var SKILL_EMOJIS = {
35
+ "api-and-integrations": "\u{1F50C}",
36
+ "browser-boss": "\u{1F310}",
37
+ "cyber-security": "\u{1F510}",
38
+ "database-indexing-strategy": "\u{1F5C2}\uFE0F",
39
+ "deployment-architect": "\u{1F680}",
40
+ "document-manager": "\u{1F4C4}",
41
+ "email-specialist": "\u{1F4E7}",
42
+ "full-stack-marketer": "\u{1F4C8}",
43
+ "fusion-skills": "\u2697\uFE0F",
44
+ "github-ops": "\u{1F419}",
45
+ "hook-development": "\u{1FA9D}",
46
+ "networks-and-proxy-expert": "\u{1F500}",
47
+ "nextjs-fullstack": "\u26A1",
48
+ "open-router-master": "\u{1F916}",
49
+ "rtk-optimizer": "\u26A1",
50
+ "skill-creator": "\u{1F6E0}\uFE0F",
51
+ "stripe-manager": "\u{1F4B3}",
52
+ "supabase-developer": "\u{1F5C4}\uFE0F",
53
+ "uazapi-whatsapp-expert": "\u{1F4AC}",
54
+ "webdesign-pro-max": "\u{1F3A8}",
55
+ "websocket-manager": "\u{1F517}"
56
+ };
57
+ function skillEmoji(name) {
58
+ return SKILL_EMOJIS[name] ?? "\u2726";
59
+ }
34
60
  function readFrontmatter(filePath) {
35
61
  const content = fs.readFileSync(filePath, "utf-8");
36
62
  const match = content.match(/^---\r?\n([\s\S]*?)\r?\n---/);
@@ -309,7 +335,7 @@ async function runInstall(source, opts) {
309
335
  message: `Pick skills to install (${allSkills.length} available \u2014 type to search)`,
310
336
  options: allSkills.map((s) => ({
311
337
  value: s.name,
312
- label: pc.blue(s.name),
338
+ label: `${skillEmoji(s.name)} ${pc.blue(s.name)}`,
313
339
  hint: s.description
314
340
  })),
315
341
  required: true
@@ -328,7 +354,7 @@ async function runInstall(source, opts) {
328
354
  p.note(
329
355
  [
330
356
  `${pc.bold("Skills:")}`,
331
- ...selectedSkills.map((s) => ` ${pc.cyan("\u2022")} ${s.name} ${pc.dim(s.description)}`),
357
+ ...selectedSkills.map((s) => ` ${skillEmoji(s.name)} ${pc.blue(s.name)} ${pc.dim(s.description)}`),
332
358
  "",
333
359
  `${pc.bold("Install to:")}`,
334
360
  ...targetLines
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bf-skills",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "BF Skills installer — Building the Future of Business with AI",
5
5
  "type": "module",
6
6
  "engines": {