@ckelsoe/prompt-architect 3.2.2 → 3.4.0
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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/CHANGELOG.md +135 -5
- package/MIGRATION.md +1 -1
- package/README.md +32 -47
- package/adapters/README.md +1 -1
- package/adapters/system-prompt.md +115 -59
- package/package.json +5 -4
- package/scripts/install.js +52 -22
- package/scripts/test.js +88 -40
- package/scripts/validate-skill.js +184 -56
- package/skills/prompt-architect/SKILL.md +94 -79
- package/skills/prompt-architect/assets/templates/ape_template.txt +14 -3
- package/skills/prompt-architect/assets/templates/bab_template.txt +23 -10
- package/skills/prompt-architect/assets/templates/broke_template.txt +31 -6
- package/skills/prompt-architect/assets/templates/cai-critique-revise_template.txt +16 -8
- package/skills/prompt-architect/assets/templates/care_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/chain-of-density_template.txt +64 -35
- package/skills/prompt-architect/assets/templates/chain-of-thought_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/co-star_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/crispe_template.txt +6 -0
- package/skills/prompt-architect/assets/templates/ctf_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/devils-advocate_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/hybrid_template.txt +44 -24
- package/skills/prompt-architect/assets/templates/iterative-compression_template.txt +74 -0
- package/skills/prompt-architect/assets/templates/least-to-most_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/plan-and-solve_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/pre-mortem_template.txt +24 -14
- package/skills/prompt-architect/assets/templates/race_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/rcot_template.txt +8 -0
- package/skills/prompt-architect/assets/templates/react_template.txt +38 -16
- package/skills/prompt-architect/assets/templates/rise-ie_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/rise-ix_template.txt +3 -3
- package/skills/prompt-architect/assets/templates/risen_template.txt +7 -0
- package/skills/prompt-architect/assets/templates/rpef_template.txt +16 -11
- package/skills/prompt-architect/assets/templates/rtf_template.txt +9 -0
- package/skills/prompt-architect/assets/templates/skeleton-of-thought_template.txt +18 -10
- package/skills/prompt-architect/assets/templates/step-back_template.txt +4 -0
- package/skills/prompt-architect/assets/templates/tidd-ec_template.txt +54 -31
- package/skills/prompt-architect/assets/templates/tree-of-thought_template.txt +37 -21
- package/skills/prompt-architect/references/frameworks/ape.md +145 -57
- package/skills/prompt-architect/references/frameworks/bab.md +139 -58
- package/skills/prompt-architect/references/frameworks/broke.md +157 -57
- package/skills/prompt-architect/references/frameworks/cai-critique-revise.md +184 -76
- package/skills/prompt-architect/references/frameworks/care.md +67 -36
- package/skills/prompt-architect/references/frameworks/chain-of-density.md +111 -417
- package/skills/prompt-architect/references/frameworks/chain-of-thought.md +45 -19
- package/skills/prompt-architect/references/frameworks/co-star.md +102 -44
- package/skills/prompt-architect/references/frameworks/crispe.md +7 -5
- package/skills/prompt-architect/references/frameworks/ctf.md +75 -37
- package/skills/prompt-architect/references/frameworks/devils-advocate.md +105 -58
- package/skills/prompt-architect/references/frameworks/iterative-compression.md +448 -0
- package/skills/prompt-architect/references/frameworks/least-to-most.md +35 -13
- package/skills/prompt-architect/references/frameworks/plan-and-solve.md +38 -9
- package/skills/prompt-architect/references/frameworks/pre-mortem.md +182 -72
- package/skills/prompt-architect/references/frameworks/race.md +93 -38
- package/skills/prompt-architect/references/frameworks/rcot.md +1 -1
- package/skills/prompt-architect/references/frameworks/react.md +230 -97
- package/skills/prompt-architect/references/frameworks/reverse-role.md +23 -16
- package/skills/prompt-architect/references/frameworks/rise.md +120 -77
- package/skills/prompt-architect/references/frameworks/risen.md +82 -28
- package/skills/prompt-architect/references/frameworks/rpef.md +227 -58
- package/skills/prompt-architect/references/frameworks/rtf.md +4 -2
- package/skills/prompt-architect/references/frameworks/self-refine.md +4 -2
- package/skills/prompt-architect/references/frameworks/skeleton-of-thought.md +68 -22
- package/skills/prompt-architect/references/frameworks/step-back.md +48 -16
- package/skills/prompt-architect/references/frameworks/tidd-ec.md +129 -51
- package/skills/prompt-architect/references/frameworks/tree-of-thought.md +112 -37
- package/skills/prompt-architect/scripts/framework_analyzer.py +0 -807
- package/skills/prompt-architect/scripts/prompt_evaluator.py +0 -336
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"email": "charles@kelsoe.com"
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
|
-
"description": "Prompt engineering skill using
|
|
8
|
+
"description": "Prompt engineering skill using 29 frameworks across 7 intent categories"
|
|
9
9
|
},
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "prompt-architect",
|
|
13
13
|
"source": "./",
|
|
14
|
-
"description": "Analyzes and improves prompts using
|
|
15
|
-
"version": "3.
|
|
14
|
+
"description": "Analyzes and improves prompts using 29 frameworks. Intent-based selection routes to the right framework — from ultra-minimal (APE) to agentic (ReAct).",
|
|
15
|
+
"version": "3.4.0",
|
|
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
|
-
"description": "
|
|
4
|
-
"version": "3.
|
|
3
|
+
"description": "29-framework prompt engineering skill for analyzing and improving prompts across 7 intent categories",
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Charles Kelsoe",
|
|
7
7
|
"email": "charles@kelsoe.com"
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,136 @@ All notable changes to the Prompt Architect Claude Code skill will be documented
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.4.0] - 2026-07-22
|
|
9
|
+
|
|
10
|
+
This release makes the **emission contract** explicit and consistent across the whole skill. When Prompt Architect delivers the final prompt, framework section headers (`CONTEXT:`, `ROLE:`, `BEFORE:`, …) are stripped — the user pastes a flat block of prose with no labels. Previously the framework docs and templates were written as if those headers would survive, so slots that were bare fragments ("meeting summary", "busy professionals") lost their meaning once the header was removed. Every framework now carries its own meaning in prose.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Optional `SOURCE MATERIAL` block on every template that operates on an artifact.** It names the artifact concretely (never a generic "content"), ties it to the task with one carrier sentence, and self-deletes for from-scratch tasks. Three frameworks are deliberately exempt because they have no pasted-material slot: **ReAct** (material arrives as live tool output), **Reverse Role** (everything is gathered through the interview), and **RISE-IX** (its samples land in the EXAMPLES slot).
|
|
14
|
+
- **Emission-contract test guard.** `scripts/test.js` now fails if the load-bearing output-delivery rules (no section headers in the deliverable, paste-verbatim, "revised prompt is last element", the negation-survival and no-defaulting rules, and the worked example obeying them) diverge between `SKILL.md` and `adapters/system-prompt.md`. The prior drift checks compared only step headings and framework names, so prose drift — like the adapter shipping a BAB example *with* `BEFORE:/AFTER:/BRIDGE:` headers — passed silently.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **All 28 framework reference docs rewritten for the emission contract.** Each Overview now states how the framework emits; each component's guidance says whether its slot must be a complete sentence or ships inside a carrier sentence; and every Complete Example is shown in emitted form — with the `SOURCE MATERIAL` block, "the … above" references, and at least one from-scratch variant showing the block deleted. Origin/citation facts were preserved verbatim throughout.
|
|
18
|
+
- **Elicitation questions in `SKILL.md` and the adapter now ask for the user's own material** ("Paste the Q3 revenue report here", "paste 2-3 actual samples whose style should be matched") instead of one-word checklists ("Context, audience, tone?"). A framework that operates on an artifact and never asks for it will otherwise invent one. The material-question exemptions above are documented inline.
|
|
19
|
+
- **APE loses its collapsed single-sentence form.** The two inconsistent inline syntaxes it advertised were never implemented by the template and break when source material or multi-clause expectations are present; the doc now explains why. A complete APE prompt is still three sentences.
|
|
20
|
+
- **`RISE` → `RISE-IE` in cross-references.** Docs that pointed to RISE as the input-transformation framework now use the skill's `RISE-IE` shorthand consistently. `RISEN` references are unchanged.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- **`RACE` examples no longer dangle.** Two examples referenced material "described below" when the `SOURCE MATERIAL` block places it above; they now say "above", matching the template's positioning rule.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## [3.3.1] - 2026-07-19
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- **Publishing was broken before this release and would have failed for any version.** `.github/workflows/publish.yml` pinned Node 20 while running `npm install -g npm@latest`; once npm 12 shipped (requiring `^22.22.2 || ^24.15.0 || >=26`), that step failed with `EBADENGINE` before the publish ran. The workflow now uses Node 24. This is why 3.3.0 has no published artifact — its tag exists, but the release never completed.
|
|
31
|
+
|
|
32
|
+
*All 3.3.0 changes below are included in this release.*
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [3.3.0] - 2026-07-19
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
- **Chain of Density is now the real method.** `chain-of-density.md` was rewritten around entity densification at *fixed* length, scoped to summarization, and cited to Adams et al., "From Sparse to Dense" (arXiv 2309.04269, NewSum @ EMNLP 2023). The previous content described generic progressive shortening — the opposite of the published technique, which holds length constant.
|
|
40
|
+
- **New framework: Iterative Compression.** The general multi-pass shortening technique that used to be filed under Chain of Density is preserved as its own framework, with its own reference doc and template, and is no longer attributed to CoD. Framework count is now 29.
|
|
41
|
+
- **Quality scoring is implemented.** `SKILL.md` and `adapters/system-prompt.md` now instruct the model to score prompts 1-10 on the five dimensions the README advertises — Clarity, Specificity, Context, Completeness, Structure — with rubric anchors defining the 1-3 / 4-6 / 7-8 / 9-10 bands. Previously this was advertised in three places and implemented in none, and the skill's dimension list disagreed with the README's.
|
|
42
|
+
- **Framework combination guidance.** A "Combining Frameworks" section with concrete pairings (CO-STAR + Self-Refine, RISEN + ReAct, BROKE + Devil's Advocate) that finally routes to `hybrid_template.txt`, previously the only template with no path leading to it.
|
|
43
|
+
- **Self-Consistency citation and a corrected template** in `chain-of-thought.md`, now citing Wang et al. (arXiv 2203.11171, ICLR 2023) and describing a real majority vote over independently sampled reasoning paths rather than asking the model to judge which of three different approaches it liked best.
|
|
44
|
+
- **Origin lines for 10 previously uncited frameworks**: CO-STAR, Chain-of-Thought, RISEN, APE, RTF, CTF, RACE, BAB, plus corrected provenance for RISE and TIDD-EC.
|
|
45
|
+
- **Acronym-collision disambiguation** for APE (vs. "Automatic Prompt Engineer," Zhou et al., arXiv 2211.01910) and RACE (vs. Dave Chaffey's 2010 Reach-Act-Convert-Engage marketing model).
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
- **Provenance is now stated honestly per framework.** Frameworks with peer-reviewed backing cite it; community conventions say so plainly rather than leaving a silent gap. CO-STAR is credited to GovTech Singapore's Data Science & AI team — as Sheila Teo's own article does — rather than to Teo, who popularized it.
|
|
49
|
+
- `rise.md`: "RISE-IE" and "RISE-IX" are now labeled as this skill's internal shorthand, not established terminology. RISE-IX is identified as our own composition; its three previously cited sources do not support it. `ctf.md` no longer propagates "RISE-IE" as if it were standard vocabulary.
|
|
50
|
+
- `tidd-ec.md`: dropped the "originally documented alongside CO-STAR" claim, which implied a shared provenance that does not exist, and reassessed its three "authoritative sources" as one origin post, one same-organization republication, and one passing mention.
|
|
51
|
+
- `SKILL.md` step numbering fixed — it had two sections numbered `### 4.` and now runs 1-7, matching the adapter.
|
|
52
|
+
- `SKILL.md` template section reduced from a 30-line filename listing to one line; filenames are mechanically derivable.
|
|
53
|
+
- Installer `--force` now does something: it is required to replace a **symlinked** install path, which previously was deleted without warning.
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
- **Installer no longer installs to Claude Code only.** Mode 5 (the `postinstall` path most users hit) and Mode 3 (`--yes`) now install to every detected agent, as documented. Mode 5 previously hard-skipped every agent but Claude and ignored `detect()` entirely.
|
|
57
|
+
- **Windsurf adapter no longer duplicates itself.** A fresh `.windsurfrules` was written without marker comments, so the next run could not find or remove it and appended a second copy; the marker-stripping regex also lacked the `g` flag. Verified stable across repeated installs.
|
|
58
|
+
- **`--project` is no longer ignored** for the Gemini and universal Agent Skills targets — only the Claude entry honored it.
|
|
59
|
+
- **`engines.node` raised to `>=20.19.0`.** It declared `>=14.0.0`, but `@clack/prompts@1.1.0` is ESM-only, so `require()` of it throws `ERR_REQUIRE_ESM` below 20.19 — the headline `npx` experience failed across most of the declared range with a bare "Installation error". The CI matrix floor was raised to match.
|
|
60
|
+
- **Step-Back statistic corrected**: MuSiQue is +7%, not +25% (a 3.5x overstatement); MMLU is +7% Physics / +11% Chemistry, not a "7-27% range."
|
|
61
|
+
- **Socratic Prompting citation corrected**: single author Edward Y. Chang, IEEE CCWC 2023 — not "Chang et al." and not EMNLP/NAACL.
|
|
62
|
+
- **Pre-Mortem attribution corrected**: the ~30% finding belongs to Mitchell, Russo & Pennington (1989), popularized by Gary Klein (HBR 2007); it measures identification of "reasons for future outcomes" against a might-happen framing, not "failure causes" against forward risk analysis. The unsupported "Brookings Institution" affiliation was removed.
|
|
63
|
+
- **Skeleton-of-Thought quality claim qualified**: parity in roughly 60% of cases, with degradation on writing, math, and coding — previously "maintained or improved quality."
|
|
64
|
+
- **Constitutional AI claim scoped**: the critique-before-revision effect is strongest for smaller models; the authors found no noticeable difference at 52B and kept critiques for transparency.
|
|
65
|
+
- README no longer instructs users to create an `.npmrc` and a GitHub token for a registry the package is not published to. It is on public npm and needs no authentication.
|
|
66
|
+
- README: duplicate `## Quick Start` heading renamed to `## Verifying Your Installation` (the table of contents anchor resolved to the wrong section), and the TOC completed.
|
|
67
|
+
|
|
68
|
+
### Removed
|
|
69
|
+
- `framework_analyzer.py` and `prompt_evaluator.py` (~50 KB). Nothing invoked them, they had no CLI, and `framework_analyzer.py` had already drifted — its header read "all 27" above a 28-entry dict. Their scoring dimensions were carried into the SKILL.md rubric before removal.
|
|
70
|
+
- `.github/workflows/version-bump.yml`. It ran `npm version`, which updates only `package.json`, then immediately pushed the tag — landing a broken release tag on the remote before anyone could intervene.
|
|
71
|
+
|
|
72
|
+
### Validation
|
|
73
|
+
- `validate-skill.js` now derives framework and template checks from the filesystem instead of a hardcoded 7-entry subset, cross-checks `claudeCode.frameworks` against what is on disk, and **asserts every advertised framework count agrees with reality**. This is the check whose absence let "27" ship while 28 frameworks existed.
|
|
74
|
+
- `validate-skill.js` now verifies **all five version sites** — `package.json`, `claudeCode.version`, `plugin.json`, `marketplace.json`, and `SKILL.md` frontmatter. It previously checked only `plugin.json`, and did not check SKILL.md's version at all, despite documentation claiming otherwise.
|
|
75
|
+
- `test.js` gained a **drift guard** asserting `SKILL.md` and `adapters/system-prompt.md` keep identical step headings, sequential numbering, and the same framework set. These two files are hand-maintained copies and had already diverged.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## [3.2.2] - 2026-03-30
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
- Prominent Quick Start at the top of the README with the `npx @ckelsoe/prompt-architect` command
|
|
83
|
+
- Codex CLI installation instructions via `$skill-installer install`
|
|
84
|
+
- `/install-skill` documented as the primary Claude Code installation method, with the plugin marketplace commands retained for update support
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
- README installation section consolidated: separate per-tool sections for Gemini CLI and for Cursor/Copilot/Windsurf/Codex were replaced by a single "Other Agents" section pointing at `~/.agents/skills/`
|
|
88
|
+
- npm demoted to an alternative installation method
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
- `.claude-plugin/plugin.json` and `.claude-plugin/marketplace.json` versions brought back in sync with `package.json`; both had been left behind at 3.2.1
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## [3.2.1] - 2026-03-24
|
|
96
|
+
|
|
97
|
+
### Fixed
|
|
98
|
+
- **Direct download link for ChatGPT**: the `.skill` link now points at `releases/latest/download/prompt-architect.skill` rather than the releases page, making it a one-click download
|
|
99
|
+
- **Nothing after the revised prompt**: SKILL.md now states explicitly that no text may follow the closing backticks — the revised prompt must be the last element of the response. The example interaction was updated to comply.
|
|
100
|
+
|
|
101
|
+
### Changed
|
|
102
|
+
- `prompt-architect.skill` removed from git tracking and added to a new `.gitignore` alongside `node_modules/`. It is a build artifact produced by `npm run build:skill` and attached to releases by CI.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## [3.2.0] - 2026-03-24
|
|
107
|
+
|
|
108
|
+
### Changed
|
|
109
|
+
- **SKILL.md "Present Improvements" restructured for copy-pasteable output.** Responses now follow a fixed order: (A) analysis — framework selected, changes made, components applied; (B) a usage-instructions block explaining how to use the prompt in a new chat or the same chat; (C) the revised prompt last, in a fenced code block.
|
|
110
|
+
- **The revised prompt is now clean flat text**: no framework section headers (`BEFORE:`, `BRIDGE:`, `CONTEXT:`), no gratuitous indentation, and no internal markdown unless the prompt genuinely requires it — so it can be copied verbatim with zero editing.
|
|
111
|
+
- Example interaction rewritten to model the new output structure
|
|
112
|
+
- Version synced across SKILL.md, `package.json`, `plugin.json`, and `marketplace.json`
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## [3.1.1] - 2026-03-24
|
|
117
|
+
|
|
118
|
+
### Fixed
|
|
119
|
+
- **CI pipeline**: committed `package-lock.json` so `npm ci` works, and removed the unreliable `npm ci || npm install` fallback
|
|
120
|
+
- Test matrix moved to Node 18/20/22; Node 14/16 dropped, as `@clack/prompts` requires a newer runtime
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## [3.1.0] - 2026-03-24
|
|
125
|
+
|
|
126
|
+
> The 3.x restructure described in the `[3.0.0]` entry below shipped across the 3.0.x line and landed in git under the `v3.1.0` tag. The items here are the parts of that work not already listed there.
|
|
127
|
+
|
|
128
|
+
### Added
|
|
129
|
+
- **`.skill` builder**: `scripts/build-skill.js` and `npm run build:skill` produce a ZIP for ChatGPT upload
|
|
130
|
+
- **`bin` entry**: `npx @ckelsoe/prompt-architect` runs the installer directly
|
|
131
|
+
|
|
132
|
+
### Changed
|
|
133
|
+
- `package.json` `files` array now ships `skills/`, `.claude-plugin/`, and `MIGRATION.md`
|
|
134
|
+
- Removed the obsolete adapters `for-cursor.mdc`, `for-github-copilot.md`, and `for-openai-codex-cli.md` — those tools read `SKILL.md` natively. Only `system-prompt.md` (universal) and `for-windsurf.md` remain.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
8
138
|
## [3.0.0] - 2026-03-24
|
|
9
139
|
|
|
10
140
|
### Breaking Changes
|
|
@@ -14,7 +144,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
144
|
### Added
|
|
15
145
|
- **Claude Code Plugin System support**: `.claude-plugin/plugin.json` and `marketplace.json` — install via `/plugin marketplace add` and `/plugin install`
|
|
16
146
|
- **Gemini CLI support**: Native Agent Skills compatibility. Install via `gemini skills install`
|
|
17
|
-
- **Agent Skills standard compliance** (agentskills.io): Added `license`, `compatibility`, and `metadata` fields to SKILL.md frontmatter. Works with 30+ compatible agents including Cursor, Copilot, Kiro,
|
|
147
|
+
- **Agent Skills standard compliance** (agentskills.io): Added `license`, `compatibility`, and `metadata` fields to SKILL.md frontmatter. Works with 30+ compatible agents including Cursor, Copilot, Kiro, Zoo Code, Amp, OpenHands, and more
|
|
18
148
|
- **Interactive multi-agent installer**: Detects installed AI agents (Claude Code, Gemini CLI, Cursor, Copilot, Windsurf, Codex) and presents a selection UI using @clack/prompts
|
|
19
149
|
- **Universal install path**: `~/.agents/skills/` for Agent Skills standard compatible tools
|
|
20
150
|
- **CLI flags**: `--all`, `--claude`, `--gemini`, `--agents`, `--cursor`, `--copilot`, `--windsurf`, `--codex`, `--yes`
|
|
@@ -258,7 +388,7 @@ The framework selection system in SKILL.md was completely restructured:
|
|
|
258
388
|
|
|
259
389
|
## Links
|
|
260
390
|
|
|
261
|
-
- [npm Package](https://www.npmjs.com/package/@ckelsoe/
|
|
262
|
-
- [GitHub Repository](https://github.com/ckelsoe/
|
|
263
|
-
- [Issue Tracker](https://github.com/ckelsoe/
|
|
264
|
-
- [Contributing Guidelines](https://github.com/ckelsoe/
|
|
391
|
+
- [npm Package](https://www.npmjs.com/package/@ckelsoe/prompt-architect)
|
|
392
|
+
- [GitHub Repository](https://github.com/ckelsoe/prompt-architect)
|
|
393
|
+
- [Issue Tracker](https://github.com/ckelsoe/prompt-architect/issues)
|
|
394
|
+
- [Contributing Guidelines](https://github.com/ckelsoe/prompt-architect/blob/main/README.md#contributing)
|
package/MIGRATION.md
CHANGED
|
@@ -54,7 +54,7 @@ skills/prompt-architect/SKILL.md
|
|
|
54
54
|
|
|
55
55
|
### The skill itself is unchanged
|
|
56
56
|
|
|
57
|
-
The `SKILL.md` content, all
|
|
57
|
+
The `SKILL.md` content, all framework reference docs, and all templates are identical. Only the packaging and distribution have changed.
|
|
58
58
|
|
|
59
59
|
## GitHub Repository
|
|
60
60
|
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Prompt Architect
|
|
2
2
|
|
|
3
|
-
Transform vague prompts into expert-level, structured prompts using
|
|
3
|
+
Transform vague prompts into expert-level, structured prompts using 29 frameworks across 7 intent categories.
|
|
4
4
|
|
|
5
5
|
Works with **Claude Code, ChatGPT, Gemini CLI, Cursor, GitHub Copilot, Windsurf, OpenAI Codex**, and [30+ Agent Skills compatible tools](https://agentskills.io).
|
|
6
6
|
|
|
7
|
-
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@ckelsoe/prompt-architect) [](https://agentskills.io)
|
|
7
|
+
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@ckelsoe/prompt-architect) [](https://agentskills.io) [](https://codeguilds.dev/packages/prompt-architect)
|
|
8
8
|
|
|
9
9
|
## Quick Start
|
|
10
10
|
|
|
@@ -14,9 +14,9 @@ npx @ckelsoe/prompt-architect
|
|
|
14
14
|
|
|
15
15
|
The interactive installer detects your AI agents (Claude Code, Gemini CLI, Cursor, Copilot, Codex, and more) and lets you choose where to install.
|
|
16
16
|
|
|
17
|
-
> **
|
|
17
|
+
> **Tip:** Use `npx` rather than `npm install`. Both work — `npm install` runs the same installer via the postinstall hook and installs to every agent it detects — but only `npx` gives you the interactive menu to choose specific targets.
|
|
18
18
|
|
|
19
|
-
>
|
|
19
|
+
> Published on the public npm registry. **No authentication required.**
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
@@ -28,11 +28,14 @@ The interactive installer detects your AI agents (Claude Code, Gemini CLI, Curso
|
|
|
28
28
|
- [Supported Frameworks](#supported-frameworks)
|
|
29
29
|
- [Quick Start](#quick-start)
|
|
30
30
|
- [Installation](#installation)
|
|
31
|
+
- [Verifying Your Installation](#verifying-your-installation)
|
|
32
|
+
- [Updating](#updating)
|
|
31
33
|
- [Usage](#usage)
|
|
32
34
|
- [Framework Selection Guide](#framework-selection-guide)
|
|
33
35
|
- [Project Structure](#project-structure)
|
|
34
36
|
- [Documentation](#documentation)
|
|
35
37
|
- [Contributing](#contributing)
|
|
38
|
+
- [Support](#support)
|
|
36
39
|
- [License](#license)
|
|
37
40
|
|
|
38
41
|
---
|
|
@@ -57,7 +60,7 @@ Prompt Architect is an [Agent Skills](https://agentskills.io) compatible skill t
|
|
|
57
60
|
|
|
58
61
|
## Key Features
|
|
59
62
|
|
|
60
|
-
###
|
|
63
|
+
### 29 Frameworks Across 7 Intent Categories
|
|
61
64
|
|
|
62
65
|
| Framework | Best For | Complexity |
|
|
63
66
|
|-----------|----------|------------|
|
|
@@ -81,7 +84,8 @@ Prompt Architect is an [Agent Skills](https://agentskills.io) compatible skill t
|
|
|
81
84
|
| **Least-to-Most** | Compositional multi-hop problems (simplest first) | Medium |
|
|
82
85
|
| **Plan-and-Solve (PS+)** | Zero-shot numerical/calculation reasoning | Low |
|
|
83
86
|
| **Chain of Thought** | Reasoning, problem-solving | Medium |
|
|
84
|
-
| **Chain of Density** |
|
|
87
|
+
| **Chain of Density** | Summarization at fixed length, maximum information density | Medium |
|
|
88
|
+
| **Iterative Compression** | Shortening text toward a target length | Low |
|
|
85
89
|
| **Self-Refine** | Iterative output quality improvement (any task) | Medium |
|
|
86
90
|
| **CAI Critique-Revise** | Principle-based critique and revision (Anthropic) | Medium |
|
|
87
91
|
| **Devil's Advocate** | Strongest opposing argument against a position | Low |
|
|
@@ -457,7 +461,7 @@ RESPONSE FORMAT:
|
|
|
457
461
|
**Best for:** Identifying specific failure causes before they happen
|
|
458
462
|
|
|
459
463
|
**Approach:** Assume the project has already failed → describe the failure → work backwards to specific causes with warning signs
|
|
460
|
-
**Research:** Gary Klein
|
|
464
|
+
**Research:** Mitchell, Russo & Pennington (1989), popularized by Gary Klein (HBR 2007) — prospective hindsight improves identification of reasons for future outcomes by ~30%; LLM application is practitioner-level, with no dedicated AI paper
|
|
461
465
|
|
|
462
466
|
**Example Use Cases:** Project kickoffs, product launches, technical migrations, high-stakes strategic decisions
|
|
463
467
|
|
|
@@ -558,23 +562,33 @@ Choose the method that matches your AI tool:
|
|
|
558
562
|
|
|
559
563
|
### Claude Code
|
|
560
564
|
|
|
561
|
-
|
|
565
|
+
```
|
|
566
|
+
/install-skill https://github.com/ckelsoe/prompt-architect/tree/main/skills/prompt-architect
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
**Plugin system (enables updates):**
|
|
562
570
|
```
|
|
563
571
|
/plugin marketplace add ckelsoe/prompt-architect
|
|
564
572
|
/plugin install prompt-architect@prompt-architect-marketplace
|
|
565
573
|
```
|
|
566
574
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
575
|
+
### Codex CLI
|
|
576
|
+
|
|
577
|
+
```
|
|
578
|
+
$skill-installer install https://github.com/ckelsoe/prompt-architect/tree/main/skills/prompt-architect
|
|
570
579
|
```
|
|
571
|
-
The installer runs automatically and copies the skill to `~/.claude/skills/`. Restart Claude Code to load it.
|
|
572
580
|
|
|
573
|
-
|
|
581
|
+
### Other Agents (Gemini, Cursor, Copilot, Cline, Zoo Code, etc.)
|
|
582
|
+
|
|
583
|
+
Copy `skills/prompt-architect/` from this repo to `~/.agents/skills/prompt-architect/`
|
|
584
|
+
|
|
585
|
+
### npm (alternative)
|
|
586
|
+
|
|
574
587
|
```bash
|
|
575
588
|
npx @ckelsoe/prompt-architect
|
|
576
589
|
```
|
|
577
|
-
|
|
590
|
+
|
|
591
|
+
Installs to both `.claude/skills/` and `.agents/skills/` in one step.
|
|
578
592
|
|
|
579
593
|
### ChatGPT
|
|
580
594
|
|
|
@@ -585,30 +599,6 @@ ChatGPT natively supports [Agent Skills](https://agentskills.io). Available on B
|
|
|
585
599
|
3. Click **New skill** → **Upload from your computer**
|
|
586
600
|
4. Upload the `.skill` file
|
|
587
601
|
|
|
588
|
-
### Gemini CLI
|
|
589
|
-
|
|
590
|
-
```bash
|
|
591
|
-
gemini skills install https://github.com/ckelsoe/prompt-architect.git
|
|
592
|
-
```
|
|
593
|
-
|
|
594
|
-
Or manually: copy `skills/prompt-architect/` to `~/.gemini/skills/prompt-architect/`
|
|
595
|
-
|
|
596
|
-
### Cursor, Copilot, Windsurf, Codex CLI
|
|
597
|
-
|
|
598
|
-
Use the interactive installer to auto-detect and install:
|
|
599
|
-
```bash
|
|
600
|
-
npx @ckelsoe/prompt-architect
|
|
601
|
-
```
|
|
602
|
-
|
|
603
|
-
Or copy `skills/prompt-architect/` to your tool's skills directory. All of these tools support the [Agent Skills standard](https://agentskills.io) natively:
|
|
604
|
-
|
|
605
|
-
| Tool | Skills directory |
|
|
606
|
-
|------|----------------|
|
|
607
|
-
| **Cursor** | `.agents/skills/` or `.cursor/skills/` (project) |
|
|
608
|
-
| **GitHub Copilot** | `.github/skills/` or `~/.copilot/skills/` |
|
|
609
|
-
| **OpenAI Codex** | `.agents/skills/` (project) or `~/.agents/skills/` |
|
|
610
|
-
| **VS Code, Roo Code, Kiro, Amp, Junie, Goose, 30+ others** | `~/.agents/skills/` (universal) |
|
|
611
|
-
|
|
612
602
|
### Windsurf
|
|
613
603
|
|
|
614
604
|
Windsurf does not yet support Agent Skills natively:
|
|
@@ -624,7 +614,7 @@ See [`adapters/README.md`](adapters/README.md) for detailed instructions for eac
|
|
|
624
614
|
|
|
625
615
|
---
|
|
626
616
|
|
|
627
|
-
##
|
|
617
|
+
## Verifying Your Installation
|
|
628
618
|
|
|
629
619
|
After installing, test with:
|
|
630
620
|
|
|
@@ -851,11 +841,7 @@ prompt-architect/
|
|
|
851
841
|
├── LICENSE # MIT License
|
|
852
842
|
│
|
|
853
843
|
└── prompt-architect/ # The skill
|
|
854
|
-
├── SKILL.md # Core skill instructions
|
|
855
|
-
│
|
|
856
|
-
├── scripts/ # Analysis Utilities
|
|
857
|
-
│ ├── framework_analyzer.py # Framework recommendation logic
|
|
858
|
-
│ └── prompt_evaluator.py # Quality scoring system
|
|
844
|
+
├── SKILL.md # Core skill instructions
|
|
859
845
|
│
|
|
860
846
|
├── references/ # Framework Documentation
|
|
861
847
|
│ └── frameworks/ # Loaded on-demand
|
|
@@ -922,9 +908,8 @@ prompt-architect/
|
|
|
922
908
|
|
|
923
909
|
**Core Components:**
|
|
924
910
|
- **SKILL.md** - Main skill logic and instructions (intent-based selection system)
|
|
925
|
-
- **
|
|
926
|
-
- **
|
|
927
|
-
- **2 Python Scripts** - Analysis and scoring utilities
|
|
911
|
+
- **Framework Reference Docs** - 28 files covering all 29 frameworks, with examples (RISE documents two variants)
|
|
912
|
+
- **Templates** - 30 ready-to-use structures: one per framework, plus `hybrid_template.txt` for combinations
|
|
928
913
|
|
|
929
914
|
---
|
|
930
915
|
|
package/adapters/README.md
CHANGED
|
@@ -19,7 +19,7 @@ These tools read `SKILL.md` natively. No adapter needed — just install to thei
|
|
|
19
19
|
| **GitHub Copilot** | Copy `skills/prompt-architect/` to `.github/skills/` or `~/.copilot/skills/` |
|
|
20
20
|
| **OpenAI Codex** | Copy `skills/prompt-architect/` to `.agents/skills/` in your project |
|
|
21
21
|
| **VS Code** | Copy `skills/prompt-architect/` to `.agents/skills/` in your project |
|
|
22
|
-
| **
|
|
22
|
+
| **Zoo Code** | Copy `skills/prompt-architect/` to `.agents/skills/` or `~/.agents/skills/` |
|
|
23
23
|
| **Kiro, Amp, Junie, Goose, OpenHands, etc.** | Copy to `~/.agents/skills/` (universal path) |
|
|
24
24
|
|
|
25
25
|
Or use the interactive installer to auto-detect and install:
|