add-skill-kit 1.4.0 → 1.5.0

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/README.md CHANGED
@@ -128,6 +128,21 @@ Một lệnh cài đặt tất cả:
128
128
  └── ARCHITECTURE.md
129
129
  ```
130
130
 
131
+ ### ⚡ 11 Slash Commands Có Sẵn
132
+ | Command | Chức năng |
133
+ |---------|-----------|
134
+ | `/brainstorm` | Khám phá options trước khi code |
135
+ | `/create` | Tạo features/apps mới |
136
+ | `/debug` | Debug có hệ thống |
137
+ | `/deploy` | Deploy production |
138
+ | `/enhance` | Thêm/cập nhật features |
139
+ | `/orchestrate` | Điều phối multi-agents |
140
+ | `/plan` | Lập kế hoạch task |
141
+ | `/preview` | Quản lý dev server |
142
+ | `/status` | Xem tiến độ project |
143
+ | `/test` | Tạo và chạy tests |
144
+ | `/ui-ux-pro-max` | Thiết kế UI chuyên sâu |
145
+
131
146
  ---
132
147
 
133
148
  ## 🛠️ Development
package/bin/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Install Agent Skill CLI
4
4
  * @description Package manager for AI Agent Skills
5
5
  */
6
- import { c, intro } from "./lib/ui.js";
6
+ import { c, brandedIntro } from "./lib/ui.js";
7
7
  import { command, params, VERSION } from "./lib/config.js";
8
8
 
9
9
  // --- Command Registry ---
@@ -52,7 +52,7 @@ function findCommand(cmd) {
52
52
 
53
53
  // --- MAIN ---
54
54
  async function main() {
55
- intro(c.bgBlue(c.white(` Add Skill Kit v${VERSION} `)));
55
+ brandedIntro(VERSION);
56
56
 
57
57
  try {
58
58
  // Handle version flag
@@ -543,6 +543,20 @@ export async function run(spec) {
543
543
 
544
544
  fs.rmSync(tmp, { recursive: true, force: true });
545
545
 
546
+ // Install CLI package as devDependency
547
+ stepLine();
548
+ const cliSpinner = spinner();
549
+ cliSpinner.start("Installing Agent CLI");
550
+
551
+ try {
552
+ await execAsync("npm install -D @agent-skill-kit/cli", { timeout: 120000 });
553
+ cliSpinner.stop("Agent CLI installed");
554
+ step(c.dim("Run: npx agent"));
555
+ } catch (e) {
556
+ cliSpinner.stop(c.yellow("CLI installation skipped"));
557
+ step(c.dim("Run manually: npm i -D @agent-skill-kit/cli"));
558
+ }
559
+
546
560
  stepLine();
547
561
  console.log(` ${c.cyan("Done!")}`);
548
562
  console.log();
package/bin/lib/ui.js CHANGED
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import kleur from "kleur";
6
+ import boxen from "boxen";
6
7
  import { intro, outro, multiselect, select, confirm, isCancel, cancel, text } from "@clack/prompts";
7
8
  import ora from "ora";
8
9
 
@@ -130,3 +131,32 @@ export function success(msg) {
130
131
  export function outputJSON(data, jsonMode) {
131
132
  if (jsonMode) console.log(JSON.stringify(data, null, 2));
132
133
  }
134
+
135
+ /**
136
+ * Create a nice box message
137
+ * @param {string} message - Message content
138
+ * @param {object} options - Box options
139
+ */
140
+ export function box(message, options = {}) {
141
+ return "\n" + boxen(message, {
142
+ padding: { top: 0, bottom: 0, left: 1, right: 1 },
143
+ margin: { top: 0, bottom: 0, left: 0, right: 0 },
144
+ borderStyle: "round",
145
+ borderColor: "blue",
146
+ ...options
147
+ });
148
+ }
149
+
150
+ /**
151
+ * Show branded intro with version
152
+ * @param {string} version - Package version
153
+ * @param {string} [status] - Optional status text
154
+ */
155
+ export function brandedIntro(version, status = "") {
156
+ const statusLine = status ? `\n\n ${c.dim(status)}` : "";
157
+ console.log(box(
158
+ `📦 Add Skill Kit v${version}${statusLine}`,
159
+ { borderColor: status.includes("✓") ? "green" : "blue" }
160
+ ));
161
+ }
162
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-skill-kit",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Enterprise-grade Agent Skill Manager with Antigravity Skills support, Progressive Disclosure detection, and semantic routing validation",
5
5
  "license": "MIT",
6
6
  "author": "agentskillkit <agentskillkit@gmail.com>",