promptup-plugin 0.1.2 → 0.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.
package/bin/install.cjs CHANGED
@@ -40,12 +40,18 @@ ${bold}${cyan} └────────────────────
40
40
  if (hasUninstall) {
41
41
  console.log(`${yellow}Uninstalling PromptUp...${reset}\n`);
42
42
 
43
- // Remove skills
43
+ // Remove skills (pup namespace)
44
+ const pupDir = path.join(CLAUDE_DIR, 'skills', 'pup');
45
+ if (fs.existsSync(pupDir)) {
46
+ fs.rmSync(pupDir, { recursive: true });
47
+ console.log(` ${red}✗${reset} Removed skills: /pup:eval, /pup:pr-report, /pup:status`);
48
+ }
49
+ // Also clean up old non-namespaced skills from previous versions
44
50
  for (const skill of ['eval', 'pr-report', 'status']) {
45
51
  const dest = path.join(CLAUDE_DIR, 'skills', skill);
46
52
  if (fs.existsSync(dest)) {
47
53
  fs.rmSync(dest, { recursive: true });
48
- console.log(` ${red}✗${reset} Removed skill: ${skill}`);
54
+ console.log(` ${red}✗${reset} Removed legacy skill: ${skill}`);
49
55
  }
50
56
  }
51
57
 
@@ -216,17 +222,17 @@ try {
216
222
  console.log(` ${yellow}Try manually: cd ${PLUGIN_DIR} && npm install --production${reset}`);
217
223
  }
218
224
 
219
- // ─── Step 3: Install skills to ~/.claude/skills/ ────────────────────────────
225
+ // ─── Step 3: Install skills to ~/.claude/skills/pup/ ────────────────────────
220
226
 
221
- const skillsDir = path.join(CLAUDE_DIR, 'skills');
222
- fs.mkdirSync(skillsDir, { recursive: true });
227
+ const pupSkillsDir = path.join(CLAUDE_DIR, 'skills', 'pup');
228
+ fs.mkdirSync(pupSkillsDir, { recursive: true });
223
229
 
224
230
  for (const skill of ['eval', 'pr-report', 'status']) {
225
- const src = path.join(PLUGIN_DIR, 'skills', skill);
226
- const dest = path.join(skillsDir, skill);
231
+ const src = path.join(PLUGIN_DIR, 'skills', 'pup', skill);
232
+ const dest = path.join(pupSkillsDir, skill);
227
233
  if (fs.existsSync(src)) {
228
234
  copyDirSync(src, dest);
229
- console.log(` ${green}✓${reset} Skill: /${skill}`);
235
+ console.log(` ${green}✓${reset} Skill: /pup:${skill}`);
230
236
  }
231
237
  }
232
238
 
@@ -368,9 +374,9 @@ ${bold}${green}PromptUp installed!${reset}
368
374
  configure — View/modify settings
369
375
 
370
376
  ${bold}Skills:${reset}
371
- /eval — Run an evaluation
372
- /pr-report — Generate PR report
373
- /status — Check status
377
+ /pup:eval — Run an evaluation
378
+ /pup:pr-report — Generate PR report
379
+ /pup:status — Check status
374
380
 
375
381
  ${bold}Statusline:${reset}
376
382
  pupmeter shows your latest score in the status bar
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptup-plugin",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "AI coding skill evaluator for Claude Code — 11-dimension scoring, decision intelligence, PR reports",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
File without changes
File without changes
File without changes