pikakit 1.0.6 → 1.0.8

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
@@ -12,7 +12,7 @@
12
12
  ## ⚡ Installation
13
13
 
14
14
  ```bash
15
- npx pikakit add pikakit/agent-skills
15
+ npx pikakit add pikakit-agent-skills
16
16
  ```
17
17
 
18
18
  **That's it!** One command installs everything:
@@ -37,7 +37,7 @@ npx pikakit add pikakit/agent-skills
37
37
  npx pikakit add <owner>/<repo>
38
38
 
39
39
  # Examples:
40
- npx pikakit add pikakit/agent-skills # Official skills
40
+ npx pikakit add pikakit-agent-skills # Official skills
41
41
  npx pikakit add myteam/company-skills # Custom skills
42
42
  ```
43
43
 
@@ -126,19 +126,19 @@ agent watch # Real-time monitor
126
126
  ### Install Official Skills
127
127
 
128
128
  ```bash
129
- npx pikakit add pikakit/agent-skills
129
+ npx pikakit add pikakit-agent-skills
130
130
  ```
131
131
 
132
132
  ### Install to Global Location
133
133
 
134
134
  ```bash
135
- npx pikakit add pikakit/agent-skills --global
135
+ npx pikakit add pikakit-agent-skills --global
136
136
  ```
137
137
 
138
138
  ### Force Reinstall
139
139
 
140
140
  ```bash
141
- npx pikakit add pikakit/agent-skills --force
141
+ npx pikakit add pikakit-agent-skills --force
142
142
  ```
143
143
 
144
144
  ---
@@ -193,7 +193,7 @@ npm install # Node.js dependencies
193
193
 
194
194
  | Package | Purpose |
195
195
  |---------|---------|
196
- | [agent-skills](https://github.com/pikakit/agent-skills) | Main skills repository |
196
+ | [pikakit-agent-skills](https://www.npmjs.com/package/pikakit-agent-skills) | Main skills repository |
197
197
  | [pikakit](https://www.npmjs.com/package/pikakit) | This CLI installer |
198
198
 
199
199
  ---
@@ -220,7 +220,7 @@ cd pikakit
220
220
  npm install
221
221
 
222
222
  # Run locally
223
- node bin/cli.mjs add pikakit/agent-skills
223
+ node bin/cli.mjs add pikakit-agent-skills
224
224
  ```
225
225
 
226
226
  ---
package/bin/kit.mjs CHANGED
@@ -1,10 +1,10 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
3
  * Install Agent Skill CLI
4
4
  * @description Package manager for AI Agent Skills
5
5
  */
6
6
  import { c, brandedIntro } from "./lib/ui.js";
7
- import { command, params, VERSION } from "./lib/config.js";
7
+ import { command, params, VERSION, DEFAULT_REPO } from "./lib/config.js";
8
8
 
9
9
  // --- Command Registry ---
10
10
  const COMMANDS = {
@@ -67,6 +67,10 @@ async function main() {
67
67
  if (found) {
68
68
  const cmdModule = await import(found.config.module);
69
69
  await cmdModule.run(found.config.hasParam ? params[0] : undefined);
70
+ } else if (command === "" || command === undefined) {
71
+ // NEW: No command = default install from pikakit/agent-skills
72
+ const cmdModule = await import("./lib/commands/install.js");
73
+ await cmdModule.run(DEFAULT_REPO);
70
74
  } else if (command.includes("/")) {
71
75
  // Direct install via org/repo syntax
72
76
  const cmdModule = await import("./lib/commands/install.js");
@@ -137,19 +137,24 @@ function showQuickStart() {
137
137
  step(c.bold("Quick Start Guide"), S.diamondFilled, "cyan");
138
138
  stepLine();
139
139
 
140
- step(c.bold("1. Install skills"));
141
- step(" " + c.cyan("kit pikakit/agent-skills"));
140
+ step(c.bold("1. Install PikaKit (Recommended)"));
141
+ step(" " + c.cyan("npx pikakit"));
142
+ step(" " + c.dim("→ Installs all skills from pikakit/agent-skills"));
142
143
  stepLine();
143
144
 
144
- step(c.bold("2. Choose scope"));
145
- step(" " + c.dim(" Current Project (local .agent/)"));
146
- step(" " + c.dim(" Global System (available everywhere)"));
145
+ step(c.bold("2. Or install from specific repo"));
146
+ step(" " + c.cyan("npx pikakit add <org/repo>"));
147
+ step(" " + c.dim("Example: npx pikakit add pikakit/agent-skills"));
147
148
  stepLine();
148
149
 
149
- step(c.bold("3. Check installation"));
150
- step(" " + c.cyan("kit doctor"));
150
+ step(c.bold("3. Initialize directory only"));
151
+ step(" " + c.cyan("npx pikakit init"));
151
152
  stepLine();
152
153
 
153
- step(c.bold("4. Use in your AI"));
154
+ step(c.bold("4. Check installation"));
155
+ step(" " + c.cyan("npx pikakit doctor"));
156
+ stepLine();
157
+
158
+ step(c.bold("5. Use in your AI"));
154
159
  step(" " + c.dim("Skills are now available in .agent/skills/"));
155
160
  }
@@ -628,42 +628,42 @@ export async function run(spec) {
628
628
  // Skills summary
629
629
  for (const sn of selectedSkills) {
630
630
  const mockPath = `.agent/skills/${sn}`;
631
- successContent += `${c.cyan("✓")} ${c.dim(mockPath)}\n`;
631
+ successContent += `${c.cyan("")} ${c.dim(mockPath)}\n`;
632
632
  }
633
633
 
634
634
  // Workflows summary
635
635
  if (workflowsInstalled > 0) {
636
- successContent += `${c.cyan("✓")} ${c.dim(`.agent/workflows/ (${workflowsInstalled} files)`)}\n`;
636
+ successContent += `${c.cyan("")} ${c.dim(`.agent/workflows/ (${workflowsInstalled} files)`)}\n`;
637
637
  }
638
638
 
639
639
  // Agents summary
640
640
  if (agentsInstalled > 0) {
641
- successContent += `${c.cyan("✓")} ${c.dim(`.agent/agents/ (${agentsInstalled} files)`)}\n`;
641
+ successContent += `${c.cyan("")} ${c.dim(`.agent/agents/ (${agentsInstalled} files)`)}\n`;
642
642
  }
643
643
 
644
644
  // GEMINI.md summary
645
645
  if (geminiInstalled) {
646
- successContent += `${c.cyan("✓")} ${c.dim(".agent/GEMINI.md (Agent Rules)")}\n`;
646
+ successContent += `${c.cyan("")} ${c.dim(".agent/GEMINI.md (Agent Rules)")}\n`;
647
647
  }
648
648
 
649
649
  // ARCHITECTURE.md summary
650
650
  if (archInstalled) {
651
- successContent += `${c.cyan("✓")} ${c.dim(".agent/ARCHITECTURE.md")}\n`;
651
+ successContent += `${c.cyan("")} ${c.dim(".agent/ARCHITECTURE.md")}\n`;
652
652
  }
653
653
 
654
654
  // Knowledge summary
655
655
  if (knowledgeInstalled) {
656
- successContent += `${c.cyan("✓")} ${c.dim(".agent/knowledge/")}\n`;
656
+ successContent += `${c.cyan("")} ${c.dim(".agent/knowledge/")}\n`;
657
657
  }
658
658
 
659
659
  // Rules summary
660
660
  if (rulesInstalled > 0) {
661
- successContent += `${c.cyan("✓")} ${c.dim(`.agent/rules/ (${rulesInstalled} files)`)}\n`;
661
+ successContent += `${c.cyan("")} ${c.dim(`.agent/rules/ (${rulesInstalled} files)`)}\n`;
662
662
  }
663
663
 
664
664
  // Shared resources summary
665
665
  if (sharedInstalled) {
666
- successContent += `${c.cyan("✓")} ${c.dim(".agent/.shared/ (ui-ux-pro-max data)")}\n`;
666
+ successContent += `${c.cyan("")} ${c.dim(".agent/.shared/ (ui-ux-pro-max data)")}\n`;
667
667
  }
668
668
 
669
669
  // Build title
@@ -742,9 +742,9 @@ export async function run(spec) {
742
742
 
743
743
  fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + "\n");
744
744
  if (installAutoLearn) {
745
- step(c.green("✓ Added npm scripts: 'agent', 'kit'"));
745
+ step(c.green(" Added npm scripts: 'agent', 'kit'"));
746
746
  } else {
747
- step(c.green("✓ Added npm script: 'kit'"));
747
+ step(c.green(" Added npm script: 'kit'"));
748
748
  }
749
749
  }
750
750
  } catch (scriptErr) {
package/bin/lib/config.js CHANGED
@@ -30,8 +30,8 @@ export const BACKUP_DIR = path.join(CACHE_ROOT, "backups");
30
30
 
31
31
  const args = process.argv.slice(2);
32
32
 
33
- /** Command name (first non-flag argument) */
34
- export const command = args[0] || "help";
33
+ /** Command name (first non-flag argument, empty string if none) */
34
+ export const command = args[0] || "";
35
35
 
36
36
  /** All flags (starting with --) */
37
37
  export const flags = new Set(args.filter((a) => a.startsWith("--")));
@@ -79,3 +79,5 @@ export const VERSION = (() => {
79
79
  catch { return "1.2.0"; }
80
80
  })();
81
81
 
82
+ /** Default skills repository for npx pikakit shorthand */
83
+ export const DEFAULT_REPO = "pikakit/agent-skills";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
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": "pikakit <pikakit@gmail.com>",
@@ -60,14 +60,16 @@
60
60
  "boxen": "^8.0.1",
61
61
  "chalk": "^5.4.1",
62
62
  "clipboardy": "^5.1.0",
63
- "csv-parse": "^6.1.0",
64
63
  "css-tree": "^3.1.0",
64
+ "csv-parse": "^6.1.0",
65
65
  "dotenv": "^16.4.5",
66
66
  "gradient-string": "^2.0.2",
67
67
  "js-yaml": "^4.1.0",
68
68
  "kleur": "^4.1.5",
69
69
  "ora": "^9.1.0",
70
70
  "picocolors": "^1.1.1",
71
+ "pikakit": "^1.0.7",
72
+ "pikakit-agent-skills": "^3.2.8",
71
73
  "prompts": "^2.4.2"
72
74
  },
73
75
  "devDependencies": {
@@ -76,4 +78,4 @@
76
78
  "prettier": "^3.2.5",
77
79
  "vitest": "^4.0.18"
78
80
  }
79
- }
81
+ }