/ 目錄 / 演練場 / prompt-master
● 社群 nidhinjs ⚡ 即開即用

prompt-master

作者 nidhinjs · nidhinjs/prompt-master

一個將模糊需求轉化為精準、有效提示詞的元技能,適用於 Claude、ChatGPT、Midjourney、Cursor 及 30 多種 AI 工具。

Prompt Master 對你的需求執行 6 步流程:偵測目標工具、從 9 個維度萃取意圖、必要時提問釐清、從 12 種提示詞範本中挑選最適合的、審查冗餘、最終輸出乾淨可直接複製的提示詞。它會將先前的決策保存在 Memory Block 中,確保後續的追問不會與初始設定相矛盾。

為什麼要用

核心特性

即時演示

實際使用效果

prompt-master-skill.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

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

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

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

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

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

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

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

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

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

Continue 使用伺服器物件陣列,而非映射。

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

加入 context_servers。Zed 儲存後熱重載。

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

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: prompt-master

打造一個真正符合腦中畫面的 Midjourney 提示詞

👤 使用圖像模型的設計師與行銷人員 ⏱ ~5 min beginner

何時使用: 前 3 次 Midjourney 生成結果都不對,而你正在快速消耗快速生成次數。

步驟
  1. 用白話文描述你想要的內容
    Use prompt-master. I want a hero image for a fintech landing page — serious, warm, not boring.✓ 已複製
    → Claude 針對長寬比和風格參考提出 1-2 個釐清問題
  2. 取得優化後的提示詞
    Yes — 16:9, inspired by Monocle magazine.✓ 已複製
    → 一個包含權重、--ar、--style、--s 參數的 Midjourney 可用提示詞

結果: 一個可以稍作變化、用於整個行銷活動的可重複使用提示詞。

注意事項
  • 技能對簡單需求過度追問釐清 — 說「skip clarification, one-shot it」

為重複性重構任務撰寫精準的 Cursor 系統提示詞

👤 使用 Cursor 進行全程式碼庫變更的開發者 ⏱ ~10 min intermediate

何時使用: 你即將對 20 個檔案執行相同的重構,並希望提示詞能真正約束模型的行為。

步驟
  1. 說明重構內容
    prompt-master — write a Cursor prompt: convert all React class components in src/legacy to functional components with hooks, preserve prop types, no behavioral changes.✓ 已複製
    → 包含明確限制、反例與輸出格式的結構化提示詞
  2. 先在單一檔案上測試
    Apply the prompt to src/legacy/UserList.tsx and show the diff. Does it hold?✓ 已複製
    → 符合既定限制的乾淨 diff

結果: 一個可以直接貼入 Cursor、並信任其在整個目錄中執行的提示詞。

注意事項
  • 提示詞過於籠統,導致模型自由發揮 — 要求 prompt-master 加入至少一個具體的修改前後對比範例

組合

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

使用 prompt-master 整理意圖結構,再透過 Nano Banana 技能挑選經過驗證的圖像提示詞模式

Use prompt-master to nail down what I want, then hand off to nano-banana-pro-prompts for the final image prompt.✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
Tool detection user request 流程的第一階段 0
Intent extraction request + context 工具偵測完成後執行 0
Clarification missing-critical-info flags 僅在成功標準不明確時使用 0
Framework selection task type 在組合提示詞之前執行 0
Efficiency audit draft prompt 最終潤飾步驟 0

成本與限制

運行它的成本

API 配額
每次呼叫 Token 數
每次提示詞優化消耗 1-3k tokens,非常少
費用
免費——技能使用本地提示詞
提示
這個技能的核心價值就在於減少後續流程中浪費的 tokens;前期成本微乎其微。

安全

權限、密鑰、影響範圍

憑證儲存: 無需憑證——技能為純提示詞操作
資料出站:

故障排查

常見錯誤與修復

Skill over-asks clarifying questions

在你的需求中加入「make reasonable assumptions, don't ask more than 1 question」。

Output prompt is too long

明確要求「efficient mode」——審查步驟將會更嚴格地刪減冗餘內容。

Memory Block loses context between sessions

Memory 是以工作目錄為單位;請在相同的資料夾中執行後續追問。

替代方案

prompt-master 對比其他方案

替代方案何時用它替代權衡
Manual prompting with a template library你已熟悉相關模式,只需要一個參考資源對專家來說更快;在不直觀的情境下 prompt-master 更具優勢

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

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