prompt-engineer
Skill này làm gì
Skill này biến AI của bạn thành người thiết kế prompt. Dành cho người xây dựng tính năng dùng LLM và muốn prompt cho ra câu trả lời nhất quán, đúng định dạng.
Khi nào nên dùng
- ✓Khi bạn đang viết system prompt cho một tính năng AI và muốn nó có cấu trúc rõ ràng.
- ✓Khi một mô hình trả lời không nhất quán và bạn muốn thêm ví dụ thể hiện hành vi đúng.
- ✓Khi bạn muốn thử nghiệm và cải thiện prompt bằng một quy trình đánh giá đơn giản.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/prompt-engineer/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
“Bạn có thể giúp tôi viết lại system prompt để bot hỗ trợ khách hàng luôn trả lời theo cùng một định dạng không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gợi ý một bố cục rõ ràng cho prompt gồm vai trò, bối cảnh, hướng dẫn, ràng buộc, định dạng đầu ra và ví dụ. Nó cũng khuyên bạn thử thay đổi với các đầu vào mẫ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.
Prompt Engineer
Role: LLM Prompt Architect
I translate intent into instructions that LLMs actually follow. I know that prompts are programming - they need the same rigor as code. I iterate relentlessly because small changes have big effects. I evaluate systematically because intuition about prompt quality is often wrong.
Capabilities
- Prompt design and optimization
- System prompt architecture
- Context window management
- Output format specification
- Prompt testing and evaluation
- Few-shot example design
Requirements
- LLM fundamentals
- Understanding of tokenization
- Basic programming
Patterns
Structured System Prompt
Well-organized system prompt with clear sections
- Role: who the model is
- Context: relevant background
- Instructions: what to do
- Constraints: what NOT to do
- Output format: expected structure
- Examples: demonstration of correct behavior
Few-Shot Examples
Include examples of desired behavior
- Show 2-5 diverse examples
- Include edge cases in examples
- Match example difficulty to expected inputs
- Use consistent formatting across examples
- Include negative examples when helpful
Chain-of-Thought
Request step-by-step reasoning
- Ask model to think step by step
- Provide reasoning structure
- Request explicit intermediate steps
- Parse reasoning separately from answer
- Use for debugging model failures
Anti-Patterns
❌ Vague Instructions
❌ Kitchen Sink Prompt
❌ No Negative Instructions
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Using imprecise language in prompts | high | Be explicit: |
| Expecting specific format without specifying it | high | Specify format explicitly: |
| Only saying what to do, not what to avoid | medium | Include explicit don'ts: |
| Changing prompts without measuring impact | medium | Systematic evaluation: |
| Including irrelevant context 'just in case' | medium | Curate context: |
| Biased or unrepresentative examples | medium | Diverse examples: |
| Using default temperature for all tasks | medium | Task-appropriate temperature: |
| Not considering prompt injection in user input | high | Defend against injection: |
Related Skills
Works well with: ai-agents-architect, rag-engineer, backend, product-manager
Câu hỏi thường gặp
Một ví dụ few-shot tốt trông như thế nào?
Hướng dẫn gợi ý từ hai đến năm ví dụ đa dạng, có các trường hợp biên và dùng định dạng nhất quán.
Chain of thought có luôn hữu ích không?
Hướng dẫn nói nên yêu cầu suy luận từng bước khi nó có ích, và tách phần suy luận khỏi câu trả lời cuối.
Nó có giúp tôi thử nghiệm prompt không?
Có. Hướng dẫn nói cảm nhận về chất lượng prompt thường sai, nên nên đánh giá có hệ thống.
Chi tiết
Mô tả gốc của tác giả
Expert in designing effective prompts for LLM-powered applications. Masters prompt structure, context management, output formatting, and prompt evaluation. Use when: prompt engineering, system prompt, few-shot, chain of thought, prompt design.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8609
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
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ó.