/ 目錄 / 演練場 / prompt-architect
● 社群 ckelsoe ⚡ 即開即用

prompt-architect

作者 ckelsoe · ckelsoe/prompt-architect

使用 7 種經研究驗證的框架——CO-STAR、RISEN、RISE、TIDD-EC、RTF、CoT、CoD——將模糊的提示詞轉化為結構化、專家級的提示詞。

Prompt Architect 透過 7 種命名框架,將簡短、模糊的提示詞轉化為結構化版本。適合用於統一團隊提示詞風格,以及在複雜任務中獲得更穩定的 Claude 輸出。可在 Claude Code 中使用,輸出結果可儲存為可重複使用的範本。

為什麼要用

核心特性

即時演示

實際使用效果

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

如何將模糊的提示詞轉化為結構化提示詞

👤 對 Claude 輸出品質不穩定感到困擾的任何人 ⏱ ~10 min beginner

何時使用: 你一直在向 Claude 詢問相同類型的問題,卻得到品質參差不齊的回答。

前置條件
  • Skill installed — git clone https://github.com/ckelsoe/prompt-architect ~/.claude/skills/prompt-architect
步驟
  1. 提交模糊的提示詞
    Use prompt-architect. My current prompt: 'write something for our launch email'. Make this structured.✓ 已複製
    → 框架建議 + 結構化版本
  2. 選擇並精修
    Use CO-STAR. Tone: confident but human; audience: B2B SaaS founders; objective: drive webinar signups.✓ 已複製
    → 所有欄位皆填寫完整的 CO-STAR 結構化提示詞
  3. 儲存為範本
    Save this as template 'launch-email-costar'.✓ 已複製
    → 範本已儲存

結果: 一個可重複使用的結構化提示詞,能產出一致的輸出結果。

注意事項
  • 簡單任務卻套用框架增加不必要的負擔 — 對於簡短的一次性任務,Prompt Architect 會建議保持簡單,而非強制套用框架

針對特定任務類型選擇合適的框架

👤 正在評估要用 CoT、CO-STAR 還是 RISEN 的實務工作者 ⏱ ~15 min intermediate

何時使用: 你不確定哪個框架最適合當前的任務。

步驟
  1. 描述任務
    Task: synthesize 20 customer interview notes into themes. Which framework, and why?✓ 已複製
    → 框架建議及其理由
  2. 嘗試另一種替代方案
    Now show the same task structured with CoT vs CO-STAR; compare.✓ 已複製
    → 並排比較及取捨說明

結果: 針對該任務類型,做出有把握的框架選擇。

建立團隊共用的提示詞包

👤 為團隊撰寫標準提示詞的提示詞工程師 ⏱ ~60 min intermediate

何時使用: 你希望每位團隊成員在相同任務上都能獲得一致的 Claude 行為。

步驟
  1. 開始一個工作階段
    I need 8 team prompts: lead-qualification, onboarding-email, refund-decision, ... Walk me through each with the right framework.✓ 已複製
    → 每項任務對應的框架 + 草稿
  2. 匯出為 skill
    Export the 8 prompts as a skill pack.✓ 已複製
    → 可透過 git clone 分享的 skill 目錄已就緒

結果: 一個有版本控管、可分享的提示詞包。

組合

與其他 MCP 搭配,撬動十倍槓桿

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

先用 Architect 設計提示詞,再由 Factory 將其打包為 skill

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

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
Transform prompt vague prompt, framework? 需要升級提示詞時 Claude tokens
Recommend framework task description 不確定要選哪個框架時 Claude tokens
Save template name, prompt 提示詞運作良好時 0
Export pack templates[] 與團隊共用時 0

成本與限制

運行它的成本

API 配額
None
每次呼叫 Token 數
2-5k per prompt transformation
費用
Free
提示
一旦某個範本運作良好,請重複使用它——不要每次都重新設計。

安全

權限、密鑰、影響範圍

憑證儲存: 無需憑證
資料出站: 提示詞草稿會傳送至 Claude

故障排查

常見錯誤與修復

Framework feels like overkill for simple tasks

Prompt Architect 應建議使用最精簡的結構;若未如此,請明確要求「minimal structure」

Output more verbose than original prompt

結構化提示詞可能較長,但應產出更一致的輸出結果;請以一致性而非長度作為評量標準

替代方案

prompt-architect 對比其他方案

替代方案何時用它替代權衡
Anthropic's prompt generator你想要 Anthropic 官方針對 Claude 提示詞的建議所呈現的具名框架較少

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills