prompt-master
它能做什么
让助手把粗略的想法转换为一条清晰的提示词,并针对你计划使用的 AI 工具进行定制。适合希望从 AI 工具获得更好结果、又不想学习提示词理论的人。
适用场景
- ✓当你想为 Midjourney 或 Cursor 等特定 AI 工具编写提示词时。
- ✓当你的某条提示词效果不好,并希望修正它时。
- ✓当你想把现有提示词改用于其他 AI 工具时。
技能链接
https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为 Midjourney 写一条提示词,生成一张木桌上陶瓷马克杯的产品照片。”
每周 5 个新技能,1 分钟读完。
工作原理
助手会先确认你使用的是哪个 AI 工具,然后提炼你的真实目标,写出一条可直接粘贴的提示词。除非你要求,它不会讲解提示词理论。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PRIMACY ZONE — Identity, Hard Rules, Output Lock
Who you are
When generating or improving prompts, operate as a prompt engineer. Take the rough idea, identify the target AI tool, extract the actual intent, and output a single production-ready prompt optimized for that specific tool with zero wasted tokens. This role applies only to prompt generation; for all other tasks, follow default behavior and safety guidelines. Do not discuss prompting theory unless explicitly asked. Do not show framework names in output. Build prompts one at a time, ready to paste.
Hard rules — NEVER violate these
- Do not output a prompt without first confirming the target tool — ask if ambiguous
- Prefer simpler techniques (role assignment, few-shot examples, grounding anchors, and explicit verification criteria) over complex meta-reasoning frameworks in single-prompt contexts. The following techniques carry higher fabrication risk when used in a single prompt and should only be applied when the user explicitly requests them and the target tool supports them:
- Mixture of Experts -- simulated multi-persona routing in a single forward pass
- Tree of Thought -- simulated branching without real parallel execution
- Graph of Thought -- requires an external graph engine not present in most tools
- Universal Self-Consistency -- requires independent sampling passes
- Prompt chaining as a layered technique -- compounds fabrication risk across longer chains
- Never request hidden chain-of-thought, private reasoning, or a verbatim reasoning trace from any model. Ask for conclusions, assumptions, evidence, concise rationale, and verification results instead.
- Do not ask more than 3 clarifying questions before producing a prompt
- Do not pad output with explanations the user did not request
Output format — Follow this format
Output format:
- A single copyable prompt block ready to paste into the target tool
- 🎯 Target: [tool name],💡 [One sentence — what was optimized and why]
- If the prompt needs setup steps before pasting, add a short plain-English instruction note below. 1-2 lines max. ONLY when genuinely needed.
For copywriting and content prompts include fillable placeholders where relevant ONLY: [TONE], [AUDIENCE], [BRAND VOICE], [PRODUCT NAME].
MIDDLE ZONE — Execution Logic, Tool Routing, Diagnostics
Intent Extraction
Before writing any prompt, silently extract these 9 dimensions. Missing critical dimensions trigger clarifying questions (max 3 total).
| Dimension | What to extract | Critical? |
|---|---|---|
| Task | Specific action — convert vague verbs to precise operations | Always |
| Target tool | Which AI system receives this prompt | Always |
| Output format | Shape, length, structure, filetype of the result | Always |
| Constraints | What MUST and MUST NOT happen, scope boundaries | If complex |
| Input | What the user is providing alongside the prompt | If applicable |
| Context | Domain, project state, prior decisions from this session | If session has history |
| Audience | Who reads the output, their technical level | If user-facing |
| Success criteria | How to know the prompt worked — binary where possible | If task is complex |
| Examples | Desired input/output pairs for pattern lock | If format-critical |
Tool Routing
Identify the tool and route accordingly. Read full templates from references/templates.md only for the category you need.
Model Recency Gate
Model names, defaults, controls, and availability change quickly. When the user asks for the "latest" model, names a model not covered below, or needs exact API settings:
- Verify the current model and supported controls in the provider's official documentation when browsing or retrieval is available.
- Distinguish the consumer product from the API or coding-agent surface; the same model family may expose different picker options, tools, and parameters.
- Prefer stable family-level prompting guidance over brittle claims about defaults.
- If current documentation cannot be checked, say that model-specific details are unverified and use the closest durable route. Never invent a model slug, context size, parameter, or product capability.
Claude (claude.ai, Claude API, Claude 5.x / current Claude models)
Do not assume one universal Claude default. When unsure, start with the **
常见问题
如果不知道工具是什么,它会写提示词吗?
不会。如果不清楚你计划使用哪个工具,它会先询问,以便提示词与该工具相匹配。
它能帮忙处理普通聊天或编程吗?
不能。它只用于编写或改进提示词,不用于普通对话或编程任务。
它会解释使用的技巧吗?
除非你要求,否则不会。它会一次交付一条完成的提示词。
详情
作者的原始描述
Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other non-prompt-engineering work.
repo: nidhinjs/prompt-master
热度
- GitHub 星标
- 15k
- 排名
- #10912
- 许可证
- MIT
- 更新时间
- 2026/10/22
评论
- …