skills/prompt-generator/SKILL.md
Tạo meta-prompt rõ cấu trúc, kiểm chứng được, giảm hallucination.
npx skillsauth add hoangvantuan/claude-plugin prompt-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create high-quality, structured prompts using meta-prompting best practices: task decomposition, expert personas, iterative verification, and hallucination minimization.
| User cung cấp | Mode | Hành động | |---|---|---| | Mô tả yêu cầu (chưa có prompt) | Create | Chạy Phase 1 → 2 → 3 → 4 | | Prompt có sẵn cần cải tiến | Refine | Chạy checklist Phase 4 trước → xác định điểm yếu → sửa theo kết quả |
Ask the user (one at a time, maximum 4 questions). Skip when answers are obvious from context.
Type: Detect or ask — what type of prompt?
Goal: "What is the primary goal or role of the system you want to create?"
Output: "What specific outputs do you expect? (format, length, style)"
Accuracy: "How should it handle uncertainty? (disclaim, ask for sources, or best-effort)"
Minimize friction — 1-2 questions usually suffice when context is clear.
| Tín hiệu | Decompose? | |---|---| | Prompt yêu cầu >= 3 expert domains khác nhau | Yes | | Output cần cả phân tích + sáng tạo + validation | Yes | | Single domain, straightforward input → output | No — skip to Phase 3 |
Khi decompose, assign expert personas — mỗi expert nhận instructions riêng, không shared memory:
"Fresh eyes" — không assign cùng expert cho cả create AND validate.
Consolidate vào 1 prompt cohesive. Dùng prompt-template — chỉ include sections phù hợp, omit phần không relevant.
Lưu ý khi generate:
Self-review checklist trước khi deliver:
Then:
When reviewing or generating prompts, flag these issues:
tools
Viết/rà soát/tách user story, acceptance criteria, INVEST, epic, backlog từ requirement/PRD/bug/feature.
tools
Phân tích quyết định/vấn đề bằng Thu Giang Nguyễn Duy Cần: Thuật Tư Tưởng, Dịch Lý, Lão Trang, quân bình.
tools
Phân tích tình huống bằng Kinh Dịch: 64 quẻ, Âm Dương, Ngũ Hành, thời, biến, quân tử.
research
Tạo proposal/đề án có research, business case, technical solution. Trigger: RFP, bid, draft proposal, đề xuất dự án.