prompt-master
Skill này làm gì
Cho phép trợ lý biến một ý tưởng sơ sài thành một prompt rõ ràng, được điều chỉnh cho công cụ AI bạn định dùng. Dành cho người muốn kết quả tốt hơn từ công cụ AI mà không cần học lý thuyết prompt.
Khi nào nên dùng
- ✓Khi bạn muốn viết một prompt cho một công cụ AI cụ thể như Midjourney hoặc Cursor.
- ✓Khi bạn có một prompt không hiệu quả và muốn sửa nó.
- ✓Khi bạn muốn điều chỉnh một prompt có sẵn cho một công cụ AI khác.
Liên kết skill
https://github.com/nidhinjs/prompt-master/blob/main/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi viết một prompt cho Midjourney để tạo ảnh sản phẩm một chiếc cốc gốm trên bàn gỗ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trợ lý trước tiên xác nhận bạn định dùng công cụ AI nào, rồi tìm ra mục tiêu thật của bạn và viết một prompt duy nhất sẵn sàng để dán. Nó không giải thích lý thuyết prompt trừ khi bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 **
Câu hỏi thường gặp
Nó có viết prompt mà không biết công cụ không?
Không. Nếu chưa rõ, nó hỏi bạn định dùng công cụ nào để prompt phù hợp với công cụ đó.
Nó có giúp trò chuyện thông thường hoặc lập trình không?
Không. Nó chỉ dành cho viết hoặc cải thiện prompt, không dành cho trò chuyện thông thường hay tác vụ lập trình.
Nó có giải thích các kỹ thuật đã dùng không?
Không trừ khi bạn yêu cầu. Nó đưa ra prompt hoàn chỉnh, từng cái một.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 15k
- Vị trí xếp hạng
- #10912
- Giấy phép
- MIT
- Cập nhật
- 22/10/2026
Bình luận
- …
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.