# Prompt Architect — 27 Frameworks for Expert Prompts > Transform vague prompts into structured, expert-level prompts using 27 research-backed frameworks across 7 intent categories. Works with Claude Code, ChatGPT, Cursor, and 30+ AI tools. ## Install Paste the prompt below into your AI tool: ## Quick Use 1. Install via npx: ```bash npx @ckelsoe/prompt-architect ``` 2. The interactive installer auto-detects your AI agents (Claude Code, Cursor, etc.) 3. Select installation targets and the skill is ready to use 4. In your AI tool, describe any task — the skill will analyze and optimize your prompt > **Note**: Requires `.npmrc` with `@ckelsoe:registry=https://npm.pkg.github.com` and a GitHub token with `read:packages` scope. --- ## Intro Prompt Architect is a Claude Code skill that systematically transforms vague prompts into structured, expert-level prompts using 27 research-backed frameworks across 7 intent categories. With 96+ GitHub stars and MIT license, it scores every prompt on 5 dimensions (clarity, specificity, context, completeness, structure) and recommends the optimal framework for your use case. Works with Claude Code, ChatGPT, Gemini CLI, Cursor, GitHub Copilot, Windsurf, OpenAI Codex, and 30+ Agent Skills compatible tools. Setup time: under 2 minutes. Best for: developers and prompt engineers who want consistent, high-quality prompts across AI coding tools. Works with: Claude Code, Cursor, ChatGPT, Gemini CLI, Windsurf, Copilot. --- ## 27 Research-Backed Prompt Frameworks Prompt Architect organizes 27 frameworks into 7 intent categories, automatically recommending the best match for your task: ### High Complexity Frameworks - **CO-STAR** — Best for content creation: Context, Objective, Style, Tone, Audience, Response - **RISEN** — Optimized for multi-step processes: Role, Instructions, Steps, End goal, Narrowing - **CRISPE** — For detailed creative work - **BROKE** — For constraint-heavy tasks ### Medium Complexity Frameworks - **TIDD-EC** — Precision work balancing Task, Instructions, Do/Don't, Examples, Context - **Chain of Thought** — Step-by-step reasoning for logic tasks - **Tree of Thought** — Branching exploration for complex decisions - **ReAct** — Reasoning + Acting for agentic workflows - **Chain of Density** — Progressive summarization - **Self-Refine** — Iterative self-improvement - Plus 11 more: RISE-IE, RISE-IX, RACE, CARE, Skeleton of Thought, Step-Back, Least-to-Most, Plan-and-Solve (PS+), RCoT, RePEF, CAI Critique-Revise ### Low Complexity Frameworks - **RTF** — Quick tasks: Role, Task, Format - **BAB** — Transformations: Before, After, Bridge - **APE** — Automated prompt engineering - **CTF** — Context, Task, Format - Plus: Devil's Advocate, Pre-Mortem, Reverse Role Prompting ### How It Works — 5-Stage Pipeline 1. **Analysis** — Evaluates your prompt across 5 dimensions (clarity, specificity, context, completeness, structure), each scored 1-10 2. **Recommendation** — Proposes the optimal framework with reasoning specific to your use case 3. **Dialogue** — Asks 3-5 targeted clarifying questions progressively 4. **Application** — Applies the selected framework to transform your prompt 5. **Refinement** — Iterates until satisfaction, with option to switch frameworks ### Quality Scoring Every prompt receives a composite score across: | Dimension | What It Measures | |-----------|-----------------| | Clarity | Goal clarity, lack of ambiguity | | Specificity | Detail level in requirements | | Context | Background information provided | | Completeness | All necessary elements present | | Structure | Organization and formatting | ### FAQ **Q: What is Prompt Architect?** A: A Claude Code skill that uses 27 research-backed frameworks to transform vague prompts into structured, expert-level prompts with quality scoring across 5 dimensions. **Q: Is Prompt Architect free?** A: Yes, it is open source under the MIT license and free to use. **Q: How do I install Prompt Architect?** A: Run `npx @ckelsoe/prompt-architect` — the interactive installer auto-detects your AI agents and guides the setup. --- ## Source & Thanks > Created by [ckelsoe](https://github.com/ckelsoe). Licensed under MIT. > > [prompt-architect](https://github.com/ckelsoe/claude-skill-prompt-architect) — ⭐ 96+ Thanks to ckelsoe for building a comprehensive prompt engineering toolkit that makes expert-level prompting accessible to all developers. --- ## 快速使用 1. 通过 npx 安装: ```bash npx @ckelsoe/prompt-architect ``` 2. 交互式安装器自动检测已安装的 AI 工具(Claude Code、Cursor 等) 3. 选择安装目标,技能即刻生效 4. 在 AI 工具中描述任务,技能会自动分析并优化你的提示词 > **注意**:需要配置 `.npmrc`,设置 `@ckelsoe:registry=https://npm.pkg.github.com` 并提供 GitHub token。 --- ## 简介 Prompt Architect 是一款 Claude Code 技能,使用 27 个经过研究验证的框架,将模糊的提示词系统性地转化为结构化的专家级提示词。它在 5 个维度(清晰度、具体性、上下文、完整性、结构)对每个提示词评分,并推荐最适合你用例的框架。支持 Claude Code、ChatGPT、Cursor、Gemini CLI 等 30+ 工具。GitHub 96+ stars,MIT 开源。 --- ## 27 个研究驱动的提示词框架 按复杂度分为高、中、低三类共 27 个框架: **高复杂度**:CO-STAR(内容创作)、RISEN(多步流程)、CRISPE(创意写作)、BROKE(约束任务) **中复杂度**:TIDD-EC(精确任务)、Chain of Thought(逐步推理)、Tree of Thought(分支探索)、ReAct(推理+行动)等 17 个 **低复杂度**:RTF(快速任务)、BAB(转换任务)、APE(自动提示工程)等 7 个 ### 工作流程 — 5 阶段管道 1. **分析** — 在 5 个维度评估提示词,每项 1-10 分 2. **推荐** — 提出最佳框架及推理 3. **对话** — 提出 3-5 个澄清问题 4. **应用** — 用选定框架重构提示词 5. **优化** — 迭代直到满意 --- ## 来源与感谢 > Created by [ckelsoe](https://github.com/ckelsoe). Licensed under MIT. > > [prompt-architect](https://github.com/ckelsoe/claude-skill-prompt-architect) — ⭐ 96+ --- Source: https://tokrepo.com/en/workflows/08f51e3b-33aa-11f1-9bc6-00163e2b0d79 Author: Prompt Lab