promptup-plugin 0.1.4 → 0.1.5

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,18 +40,18 @@ ${bold}${cyan} └────────────────────
40
40
  if (hasUninstall) {
41
41
  console.log(`${yellow}Uninstalling PromptUp...${reset}\n`);
42
42
 
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`);
43
+ // Remove commands (pup namespace)
44
+ const pupCmdsDir = path.join(CLAUDE_DIR, 'commands', 'pup');
45
+ if (fs.existsSync(pupCmdsDir)) {
46
+ fs.rmSync(pupCmdsDir, { recursive: true });
47
+ console.log(` ${red}✗${reset} Removed commands: /pup:eval, /pup:pr-report, /pup:status, /pup:config, /pup:update`);
48
48
  }
49
- // Also clean up old non-namespaced skills from previous versions
50
- for (const skill of ['eval', 'pr-report', 'status']) {
51
- const dest = path.join(CLAUDE_DIR, 'skills', skill);
49
+ // Also clean up old skill-based installs from previous versions
50
+ for (const loc of ['skills/pup', 'skills/pup-eval', 'skills/pup-pr-report', 'skills/pup-status', 'skills/pup-config', 'skills/pup-update', 'skills/eval', 'skills/pr-report', 'skills/status']) {
51
+ const dest = path.join(CLAUDE_DIR, loc);
52
52
  if (fs.existsSync(dest)) {
53
53
  fs.rmSync(dest, { recursive: true });
54
- console.log(` ${red}✗${reset} Removed legacy skill: ${skill}`);
54
+ console.log(` ${red}✗${reset} Removed legacy: ${loc}`);
55
55
  }
56
56
  }
57
57
 
@@ -187,9 +187,9 @@ for (const f of fs.readdirSync(path.join(PLUGIN_DIR, 'hooks'))) {
187
187
  }
188
188
  console.log(` ${green}✓${reset} Installed hooks`);
189
189
 
190
- // Copy skills/
191
- copyDirSync(path.join(packageRoot, 'skills'), path.join(PLUGIN_DIR, 'skills'));
192
- console.log(` ${green}✓${reset} Installed skills`);
190
+ // Copy commands/
191
+ copyDirSync(path.join(packageRoot, 'commands'), path.join(PLUGIN_DIR, 'commands'));
192
+ console.log(` ${green}✓${reset} Installed commands`);
193
193
 
194
194
  // Copy statusline
195
195
  if (fs.existsSync(path.join(packageRoot, 'statusline.sh'))) {
@@ -222,17 +222,17 @@ try {
222
222
  console.log(` ${yellow}Try manually: cd ${PLUGIN_DIR} && npm install --production${reset}`);
223
223
  }
224
224
 
225
- // ─── Step 3: Install skills to ~/.claude/skills/pup/ ────────────────────────
225
+ // ─── Step 3: Install commands to ~/.claude/commands/pup/ ─────────────────────
226
226
 
227
- const pupSkillsDir = path.join(CLAUDE_DIR, 'skills', 'pup');
228
- fs.mkdirSync(pupSkillsDir, { recursive: true });
227
+ const pupCmdsDir = path.join(CLAUDE_DIR, 'commands', 'pup');
228
+ fs.mkdirSync(pupCmdsDir, { recursive: true });
229
229
 
230
- for (const skill of ['eval', 'pr-report', 'status', 'config', 'update']) {
231
- const src = path.join(PLUGIN_DIR, 'skills', 'pup', skill);
232
- const dest = path.join(pupSkillsDir, skill);
230
+ for (const cmd of ['eval', 'pr-report', 'status', 'config', 'update']) {
231
+ const src = path.join(PLUGIN_DIR, 'commands', 'pup', `${cmd}.md`);
232
+ const dest = path.join(pupCmdsDir, `${cmd}.md`);
233
233
  if (fs.existsSync(src)) {
234
- copyDirSync(src, dest);
235
- console.log(` ${green}✓${reset} Skill: /pup:${skill}`);
234
+ fs.copyFileSync(src, dest);
235
+ console.log(` ${green}✓${reset} Command: /pup:${cmd}`);
236
236
  }
237
237
  }
238
238
 
@@ -1,9 +1,3 @@
1
- ---
2
- name: config
3
- description: Show or modify PromptUp configuration. View all settings, get a specific value, or update settings.
4
- user-invocable: true
5
- argument-hint: [key=value ...]
6
- ---
7
1
 
8
2
  Parse `$ARGUMENTS`:
9
3
  - No args → call `mcp__promptup__configure` with no parameters to show all settings
@@ -1,9 +1,3 @@
1
- ---
2
- name: eval
3
- description: Evaluate the current coding session across 11 dimensions. Spawns an independent Claude analysis of your session transcript for unbiased scoring.
4
- user-invocable: true
5
- argument-hint: [session-id]
6
- ---
7
1
 
8
2
  Call `mcp__promptup__evaluate_session` with the session ID from `$ARGUMENTS` if provided, otherwise no arguments.
9
3
 
@@ -1,9 +1,3 @@
1
- ---
2
- name: pr-report
3
- description: Generate a Decision Quality Score (DQS) report for the current branch. Shows developer decisions made during AI-assisted coding, optionally posts to GitHub PR.
4
- user-invocable: true
5
- argument-hint: [--post] [--branch name]
6
- ---
7
1
 
8
2
  # /pr-report — PR Decision Report
9
3
 
@@ -1,8 +1,3 @@
1
- ---
2
- name: status
3
- description: Show PromptUp tracking status — recent sessions, evaluations, and decision counts.
4
- user-invocable: true
5
- ---
6
1
 
7
2
  # /status — PromptUp Status
8
3
 
@@ -1,8 +1,3 @@
1
- ---
2
- name: update
3
- description: Check for and install PromptUp plugin updates from npm.
4
- user-invocable: true
5
- ---
6
1
 
7
2
  1. Check the current installed version:
8
3
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptup-plugin",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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",
@@ -11,7 +11,7 @@
11
11
  "bin",
12
12
  "dist",
13
13
  "hooks",
14
- "skills",
14
+ "commands",
15
15
  "statusline.sh"
16
16
  ],
17
17
  "engines": {