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.
What it is
Prompt Architect is a Claude Code skill that systematically transforms vague prompts into structured, expert-level prompts using 27 research-backed frameworks organized across 7 intent categories. It scores every prompt on 5 dimensions: clarity, specificity, context, completeness, and structure, then recommends and applies the optimal framework.
Prompt Architect is designed for developers and prompt engineers who want consistent, high-quality prompts across AI coding tools like Claude Code, Cursor, ChatGPT, and Gemini CLI.
How it saves time or tokens
Manually optimizing prompts requires trial and error across multiple iterations. Prompt Architect eliminates this by analyzing your intent and applying a proven framework in one step. Better-structured prompts produce more accurate outputs on the first attempt, reducing the back-and-forth that wastes tokens. The 5-dimension scoring gives immediate feedback on prompt quality before sending to the model.
How to use
- Install via npx:
npx @ckelsoe/prompt-architect
- The interactive installer auto-detects your AI agents (Claude Code, Cursor, etc.).
- Select installation targets and the skill is ready to use.
- In your AI tool, describe any task and the skill analyzes, scores, and optimizes your prompt automatically.
Example
Using the CO-STAR framework for content creation:
Original prompt:
'Write a blog post about RAG'
Optimized with CO-STAR:
Context: Technical blog for AI engineers building production systems
Objective: Explain RAG architecture with practical implementation steps
Style: Tutorial with code examples, authoritative but accessible
Tone: Professional, direct, no marketing language
Audience: Mid-level developers familiar with Python and LLMs
Response: 1500-word article with architecture diagram and code samples
The RISEN framework for research tasks:
Role: Senior ML engineer reviewing embedding strategies
Instructions: Compare dense vs sparse embeddings for e-commerce search
Steps: 1) Define metrics 2) Benchmark on sample data 3) Recommend
End goal: Decision document with quantitative comparison
Narrowing: Focus on latency under 100ms, catalog size 1M+ items
Related on TokRepo
- Prompt library — curated prompts for various AI tools
- Coding tools — AI-assisted development tooling
Common pitfalls
- Installing without a GitHub token with
read:packagesscope causes npm authentication errors - Applying high-complexity frameworks like CO-STAR to simple one-shot questions adds unnecessary overhead
- The skill requires
.npmrcconfiguration for the GitHub package registry; ensure this is set before running npx
Frequently Asked Questions
Prompt Architect works with Claude Code, ChatGPT, Gemini CLI, Cursor, GitHub Copilot, Windsurf, OpenAI Codex, and any tool that supports the Agent Skills format. The interactive installer auto-detects which tools you have installed.
The frameworks are organized by intent: high-complexity tasks, content creation, research and analysis, code generation, debugging, data processing, and creative tasks. Each category contains frameworks optimized for that specific type of work.
Every prompt is scored on clarity (is the request unambiguous), specificity (are details provided), context (is background included), completeness (are all requirements stated), and structure (is the prompt well-organized). Each dimension gets a score, and the overall rating guides optimization.
The skill is installed as a local file. You can edit the SKILL.md to add custom frameworks. The framework format follows a consistent pattern: each framework defines named fields that the prompt must fill, making it straightforward to create new ones.
Yes, it restructures your prompt using the recommended framework. The original intent is preserved, but the format changes to include all required dimensions of the selected framework. You can review and adjust the optimized prompt before sending it to the model.
Citations (3)
- Prompt Architect GitHub— Prompt Architect uses 27 research-backed frameworks
- Anthropic Docs— Claude Code supports installable skills
- Anthropic Prompt Engineering Guide— Prompt engineering improves LLM output quality
Related on TokRepo
Source & Thanks
Created by ckelsoe. Licensed under MIT.
prompt-architect — ⭐ 96+
Thanks to ckelsoe for building a comprehensive prompt engineering toolkit that makes expert-level prompting accessible to all developers.