/ 目录 / 演练场 / prompt-architect
● 社区 ckelsoe ⚡ 即开即用

prompt-architect

作者 ckelsoe · ckelsoe/prompt-architect

Turn vague prompts into structured, expert-level prompts using 7 research-backed frameworks — CO-STAR, RISEN, RISE, TIDD-EC, RTF, CoT, CoD.

Prompt Architect transforms short, ambiguous prompts into structured versions using 7 named frameworks. Good for team-wide prompt consistency and for getting more reliable Claude output on complex tasks. Works in Claude Code; outputs can be saved as reusable templates.

为什么要用

核心特性

实时演示

实际使用效果

prompt-architect-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "prompt-architect-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/ckelsoe/prompt-architect",
        "~/.claude/skills/prompt-architect"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "prompt-architect-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/ckelsoe/prompt-architect",
        "~/.claude/skills/prompt-architect"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "prompt-architect-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/ckelsoe/prompt-architect",
        "~/.claude/skills/prompt-architect"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "prompt-architect-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/ckelsoe/prompt-architect",
        "~/.claude/skills/prompt-architect"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "prompt-architect-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/ckelsoe/prompt-architect",
        "~/.claude/skills/prompt-architect"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "prompt-architect-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/ckelsoe/prompt-architect",
          "~/.claude/skills/prompt-architect"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add prompt-architect-skill -- git clone https://github.com/ckelsoe/prompt-architect ~/.claude/skills/prompt-architect

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: prompt-architect

How to turn a vague prompt into a structured one

👤 Anyone frustrated by inconsistent Claude output ⏱ ~10 min beginner

何时使用: You keep asking Claude the same kind of question and getting different-quality answers.

前置条件
  • Skill installed — git clone https://github.com/ckelsoe/prompt-architect ~/.claude/skills/prompt-architect
步骤
  1. Submit the vague prompt
    Use prompt-architect. My current prompt: 'write something for our launch email'. Make this structured.✓ 已复制
    → Framework recommendation + structured version
  2. Pick + refine
    Use CO-STAR. Tone: confident but human; audience: B2B SaaS founders; objective: drive webinar signups.✓ 已复制
    → CO-STAR structured prompt with all fields filled
  3. Save as template
    Save this as template 'launch-email-costar'.✓ 已复制
    → Template persisted

结果: A reusable structured prompt that produces consistent output.

注意事项
  • Framework overhead for simple tasks — For short, one-off tasks, Prompt Architect will recommend staying simple rather than forcing a framework

Pick the right framework for a specific task shape

👤 Practitioners deciding CoT vs CO-STAR vs RISEN ⏱ ~15 min intermediate

何时使用: You're not sure which framework fits.

步骤
  1. Describe the task
    Task: synthesize 20 customer interview notes into themes. Which framework, and why?✓ 已复制
    → Framework recommendation with reasoning
  2. Try an alternative
    Now show the same task structured with CoT vs CO-STAR; compare.✓ 已复制
    → Side-by-side with tradeoff notes

结果: Confident framework choice for the task shape.

Build a team-shared prompt pack

👤 Prompt engineers writing house prompts for a team ⏱ ~60 min intermediate

何时使用: You want every teammate to get consistent Claude behavior on the same tasks.

步骤
  1. Start a session
    I need 8 team prompts: lead-qualification, onboarding-email, refund-decision, ... Walk me through each with the right framework.✓ 已复制
    → Framework-per-task + drafts
  2. Export as skill
    Export the 8 prompts as a skill pack.✓ 已复制
    → Skill directory ready to git clone share

结果: A versioned, shareable prompt pack.

组合

与其他 MCP 搭配,撬动十倍杠杆

prompt-architect-skill + claude-code-skill-factory-skill

Architect prompts, then Factory packages them as a skill

Use prompt-architect for 5 prompts, then /build prompts with Factory to export them.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
Transform prompt vague prompt, framework? Upgrading a prompt Claude tokens
Recommend framework task description Unsure which to use Claude tokens
Save template name, prompt When the prompt works well 0
Export pack templates[] Team sharing 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
2-5k per prompt transformation
费用
Free
提示
Once a template works, reuse it — don't re-architect every time.

安全

权限、密钥、影响范围

凭据存储: No credentials
数据出站: Prompt drafts go to Claude

故障排查

常见错误与修复

Framework feels like overkill for simple tasks

Prompt Architect should recommend minimal structure; if it doesn't, explicitly request 'minimal structure'

Output more verbose than original prompt

Structured prompts can be longer but should produce more consistent output; measure consistency rather than length

替代方案

prompt-architect 对比其他方案

替代方案何时用它替代权衡
Anthropic's prompt generatorYou want Anthropic's own suggestions for Claude promptsFewer frameworks surfaced by name

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills