PromptsApr 9, 2026·3 min read

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.

TL;DR
Prompt Architect scores prompts on 5 dimensions and applies the optimal framework from 27 research-backed options.
§01

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.

§02

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.

§03

How to use

  1. Install via npx:
npx @ckelsoe/prompt-architect
  1. The interactive installer auto-detects your AI agents (Claude Code, Cursor, etc.).
  1. Select installation targets and the skill is ready to use.
  1. In your AI tool, describe any task and the skill analyzes, scores, and optimizes your prompt automatically.
§04

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
§05

Related on TokRepo

§06

Common pitfalls

  • Installing without a GitHub token with read:packages scope causes npm authentication errors
  • Applying high-complexity frameworks like CO-STAR to simple one-shot questions adds unnecessary overhead
  • The skill requires .npmrc configuration for the GitHub package registry; ensure this is set before running npx

Frequently Asked Questions

What AI tools does Prompt Architect work with?+

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.

What are the 7 intent categories?+

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.

How does the 5-dimension scoring 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.

Can I add my own frameworks?+

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.

Does Prompt Architect modify my original prompt?+

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)
🙏

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.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.