antfu-query
Skill này làm gì
Skill này để AI phỏng vấn bạn về một kế hoạch, quyết định hoặc ý tưởng bằng các câu hỏi có trọng tâm. Skill dành cho người muốn suy nghĩ của mình được kiểm tra kỹ trước khi hành động.
Khi nào nên dùng
- ✓Khi bạn có một kế hoạch và muốn nó được thử thách bằng những câu hỏi khó.
- ✓Khi yêu cầu của bạn còn mơ hồ và bạn muốn làm rõ chúng.
- ✓Khi bạn muốn kiểm tra áp lực một quyết định trước khi cam kết.
Liên kết skill
https://github.com/antfu/skills/blob/main/skills/antfu-query/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
“Hỏi tôi về kế hoạch mở một cửa hàng trực tuyến nhỏ, và tiếp tục hỏi cho đến khi chúng ta thống nhất các chi tiết.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent vẽ ra các quyết định trong ý tưởng của bạn và hỏi theo từng vòng, với các lựa chọn rõ ràng và câu trả lời mà agent đề xuất. Khi các câu trả lời của bạn làm rõ từng phần, agent chuyển sang phần tiếp theo.
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.
Query
Interview the user relentlessly until you reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.
Ask With the Question Tool
Put every question to the user through the agent's interactive question tool (for example AskUserQuestion in Claude Code, or the equivalent in other agents; load it first if it is deferred). Do not write questions as plain text in the reply.
- Give each question 2-4 distinct, concrete options with a short description of the trade-off.
- Put your recommended answer first and mark it
(Recommended), so picking it accepts your recommendation. The tool adds an "Other" option for free-form answers; do not add one. - Keep headers short. Use multi-select only when the options are not mutually exclusive.
- Batch the whole frontier into one call, up to the tool's limit per call (4 in Claude Code). If the frontier is larger, ask the most blocking questions first and the rest next round.
- If the agent has no question tool, fall back to plain text: number the questions, list the options, and state your recommended answer for each.
Rounds
Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask now without guessing at answers you have not heard yet. Ask the whole frontier in one round, then wait for the answers before the next round.
- Each answered round reshapes the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round.
- A question whose answer depends on another question still open in this round belongs to a later round.
- Word each question so the recommended option is the natural "yes".
- Use the user's free-form "Other" answers and notes as new input: they may add or remove branches.
Facts vs Decisions
Finding facts is your job, never the user's. When a question needs a fact from the environment (files, code, tools, docs), look it up yourself or dispatch a sub-agent with a fresh context window. Do not ask the user for anything you could look up.
Do not block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait. Ask the rest of the frontier now. The decisions are the user's: put each to them and wait.
Done
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Summarize the settled decisions in a short list and do not act on them until the user confirms you have reached a shared understanding.
Câu hỏi thường gặp
Các câu hỏi có được đưa ra dưới dạng văn bản thuần không?
Agent hỏi qua công cụ hỏi đáp khi có, với các lựa chọn ngắn để bạn chọn.
Tôi có thể đưa ra câu trả lời riêng không?
Có. Mỗi câu hỏi cũng cho phép bạn trả lời tự do thay vì chọn một trong các lựa chọn.
Skill có hữu ích với các quyết định nhỏ không?
Skill hoạt động tốt nhất với các kế hoạch có nhiều phần liên quan, nơi một lựa chọn ảnh hưởng đến các lựa chọn khác.
Chi tiết
Mô tả gốc của tác giả
Interview the user relentlessly about a plan, decision, or idea until reaching a shared understanding, using the agent's interactive question tool (not plain text). Use when the user wants to stress-test their thinking, clarify requirements, or says "grill me" or "query me".
repo: antfu/skills
Độ phổ biến
- Sao GitHub
- 6.0k
- Vị trí xếp hạng
- #14437
- Giấy phép
- MIT
- Cập nhật
- 30/10/2026
Bình luận
- …
Thêm skill từ kho mã này
antfu-create-pr
6.0kGiúp agent của bạn mở một pull request GitHub rõ ràng từ nhánh của bạn, với bản tóm tắt đơn giản về những gì đã thay đổi và lý do.
antfu-issue-triage
6.0kGiúp agent của bạn rà soát các issue và pull request GitHub đang mở, phát hiện trùng lặp và mục đã sửa, rồi hỏi bạn trước khi hành động.
antfu-simplify
6.0kGiúp agent của bạn rút gọn các thay đổi code về phiên bản nhỏ nhất nhưng vẫn đúng, bằng cách bỏ những phần không cần thiết.
antfu
6.0kDạy agent của bạn các thói quen ưa thích của Anthony Fu cho dự án JavaScript và TypeScript, từ cách bố trí file đến lựa chọn công cụ.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.