@ckelsoe/prompt-architect 3.0.0 → 3.0.2
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.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"name": "prompt-architect",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"description": "Analyzes and improves prompts using 27 research-backed frameworks. Intent-based selection routes to the right framework — from ultra-minimal (APE) to agentic (ReAct).",
|
|
15
|
-
"version": "3.0.
|
|
15
|
+
"version": "3.0.2",
|
|
16
16
|
"keywords": ["prompt-engineering", "prompt-frameworks", "agent-skills"],
|
|
17
17
|
"category": "productivity"
|
|
18
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prompt-architect",
|
|
3
3
|
"description": "27-framework prompt engineering skill for analyzing and improving prompts across 7 intent categories",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Charles Kelsoe",
|
|
7
7
|
"email": "charles@kelsoe.com"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckelsoe/prompt-architect",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Agent skill for analyzing and improving prompts using 27 research-backed frameworks across 7 intent categories. Works with Claude Code, Gemini CLI, Cursor, Copilot, and 30+ Agent Skills compatible tools.",
|
|
5
5
|
"main": "skills/prompt-architect/SKILL.md",
|
|
6
6
|
"keywords": [
|
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
"url": "https://github.com/ckelsoe/prompt-architect/issues"
|
|
53
53
|
},
|
|
54
54
|
"homepage": "https://github.com/ckelsoe/prompt-architect#readme",
|
|
55
|
+
"bin": {
|
|
56
|
+
"prompt-architect": "scripts/install.js"
|
|
57
|
+
},
|
|
55
58
|
"engines": {
|
|
56
59
|
"node": ">=14.0.0"
|
|
57
60
|
},
|
|
@@ -77,7 +80,7 @@
|
|
|
77
80
|
"type": "skill",
|
|
78
81
|
"skillName": "prompt-architect",
|
|
79
82
|
"skillPath": "skills/prompt-architect",
|
|
80
|
-
"version": "3.0.
|
|
83
|
+
"version": "3.0.2",
|
|
81
84
|
"compatibility": {
|
|
82
85
|
"claudeCode": ">=1.0.0"
|
|
83
86
|
},
|
package/scripts/install.js
CHANGED
|
@@ -480,8 +480,37 @@ async function main() {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
// Mode 5: Non-interactive fallback (postinstall, CI)
|
|
483
|
-
|
|
484
|
-
console.
|
|
483
|
+
// Use stderr for postinstall — npm suppresses stdout from lifecycle scripts
|
|
484
|
+
const log = console.error.bind(console);
|
|
485
|
+
const version = getVersion();
|
|
486
|
+
const results = [];
|
|
487
|
+
|
|
488
|
+
for (const agent of AGENTS) {
|
|
489
|
+
if (agent.id !== 'claude') continue;
|
|
490
|
+
const destPath = agent.installPath(isProject);
|
|
491
|
+
try {
|
|
492
|
+
if (agent.format === 'skill') {
|
|
493
|
+
installSkillDir(sourcePath, destPath);
|
|
494
|
+
}
|
|
495
|
+
results.push({ agent: agent.name, path: destPath, success: true });
|
|
496
|
+
} catch (err) {
|
|
497
|
+
results.push({ agent: agent.name, path: destPath, success: false, error: err.message });
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
log('');
|
|
502
|
+
log(` \x1b[36mPrompt Architect v${version}\x1b[0m`);
|
|
503
|
+
log('');
|
|
504
|
+
for (const r of results) {
|
|
505
|
+
if (r.success) {
|
|
506
|
+
log(` \x1b[32m✓\x1b[0m ${r.agent} → ${r.path}`);
|
|
507
|
+
} else {
|
|
508
|
+
log(` \x1b[31m✗\x1b[0m ${r.agent}: ${r.error}`);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
log('');
|
|
512
|
+
log(` For multi-agent install: \x1b[36mnpx ${PACKAGE_NAME}\x1b[0m`);
|
|
513
|
+
log('');
|
|
485
514
|
}
|
|
486
515
|
|
|
487
516
|
main().catch(err => {
|