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 +20 -20
- package/{skills/pup/config/SKILL.md → commands/pup/config.md} +0 -6
- package/{skills/pup/eval/SKILL.md → commands/pup/eval.md} +0 -6
- package/{skills/pup/pr-report/SKILL.md → commands/pup/pr-report.md} +0 -6
- package/{skills/pup/status/SKILL.md → commands/pup/status.md} +0 -5
- package/{skills/pup/update/SKILL.md → commands/pup/update.md} +0 -5
- package/package.json +2 -2
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
|
|
44
|
-
const
|
|
45
|
-
if (fs.existsSync(
|
|
46
|
-
fs.rmSync(
|
|
47
|
-
console.log(` ${red}✗${reset} Removed
|
|
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
|
|
50
|
-
for (const
|
|
51
|
-
const dest = path.join(CLAUDE_DIR,
|
|
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
|
|
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
|
|
191
|
-
copyDirSync(path.join(packageRoot, '
|
|
192
|
-
console.log(` ${green}✓${reset} Installed
|
|
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
|
|
225
|
+
// ─── Step 3: Install commands to ~/.claude/commands/pup/ ─────────────────────
|
|
226
226
|
|
|
227
|
-
const
|
|
228
|
-
fs.mkdirSync(
|
|
227
|
+
const pupCmdsDir = path.join(CLAUDE_DIR, 'commands', 'pup');
|
|
228
|
+
fs.mkdirSync(pupCmdsDir, { recursive: true });
|
|
229
229
|
|
|
230
|
-
for (const
|
|
231
|
-
const src = path.join(PLUGIN_DIR, '
|
|
232
|
-
const dest = path.join(
|
|
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
|
-
|
|
235
|
-
console.log(` ${green}✓${reset}
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promptup-plugin",
|
|
3
|
-
"version": "0.1.
|
|
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
|
-
"
|
|
14
|
+
"commands",
|
|
15
15
|
"statusline.sh"
|
|
16
16
|
],
|
|
17
17
|
"engines": {
|