antfu-query
Fungsinya
Skill ini meminta AI Anda mewawancarai Anda tentang sebuah rencana, keputusan, atau ide dengan pertanyaan yang terfokus. Skill ini untuk orang yang ingin pemikirannya diuji sebelum bertindak.
Kapan dipakai
- ✓Saat Anda punya rencana dan ingin rencana itu ditantang dengan pertanyaan sulit.
- ✓Saat kebutuhan Anda terasa samar dan ingin dibuat jelas.
- ✓Saat Anda ingin menguji sebuah keputusan sebelum berkomitmen padanya.
Link skill
https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Uji rencana saya untuk meluncurkan toko daring kecil, dan ajukan pertanyaan kepada saya sampai kita sepakat tentang detailnya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memetakan keputusan dalam ide Anda dan mengajukan pertanyaan dalam beberapa putaran, dengan pilihan yang jelas dan jawaban yang direkomendasikannya. Agent melanjutkan ke bagian berikutnya saat jawaban Anda menyelesaikan setiap bagian.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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.
Pertanyaan umum
Apakah pertanyaannya berupa teks biasa?
Agent mengajukan pertanyaan lewat alat pertanyaannya jika ada, dengan pilihan singkat untuk dipilih.
Bisakah saya memberi jawaban sendiri?
Bisa. Setiap pertanyaan juga memungkinkan balasan bebas selain pilihan yang tersedia.
Apakah ini berguna untuk keputusan kecil?
Paling cocok untuk rencana dengan beberapa bagian yang saling terkait, di mana satu pilihan memengaruhi yang lain.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 6.0k
- Peringkat
- #14437
- Lisensi
- MIT
- Diperbarui
- 30/10/2026
Komentar
- …
Skill lain dari repositori ini
antfu-create-pr
6.0kMembantu agent Anda membuka pull request GitHub yang jelas dari cabang Anda, dengan ringkasan sederhana tentang apa yang berubah dan mengapa.
antfu-issue-triage
6.0kMembantu agent Anda memilah isu dan pull request GitHub yang terbuka, menemukan duplikat dan yang sudah diperbaiki, lalu bertanya kepada Anda sebelum bertindak.
antfu-simplify
6.0kMembantu agent Anda memangkas perubahan kode menjadi versi terkecil yang tetap benar, dengan membuang bagian yang tidak diperlukan.
antfu
6.0kMengajarkan agent Anda kebiasaan yang disukai Anthony Fu untuk proyek JavaScript dan TypeScript, dari tata letak file hingga pilihan alat.
Skill serupa
knowledge-capture
394kMengajari agent Anda menyimpan keputusan, preferensi, dan fakta penting ke Knowledge vault sebagai catatan singkat dengan atribusi sumber.
knowledge-claim-consolidation
394kMembantu agent Anda merapikan Knowledge vault dengan menggabungkan klaim duplikat, memindahkannya ke halaman subjek yang tepat, dan menonaktifkan klaim yang sudah usang.
knowledge-correct
394kMemungkinkan agent Anda memperbaiki atau menarik kembali klaim atau halaman Knowledge tertentu atas permintaan Anda, dengan menyimpan catatan perubahan.