dualface

Ask User Question — Code Quality skill for Claude Code

Code Quality community

Agent skill: ask users to choose through the structured question tool, with a numbered text format as the fallback.

How to install Ask User Question

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dualface/ask-user-question and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ask User Question does

Agent skill: ask users to choose through the structured question tool, with a numbered text format as the fallback.

Alternatives in Code Quality

  • Import Drawio — Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level 27.2k ★
  • Job Stories — Create job stories with acceptance criteria in JTBD format 7.8k ★
  • Video Script: Claude SEO V1.7.2 — What's New — Duration: ~5 minutes Tone: Natural, conversational, like talking to a friend who knows Claude Code Format: Scr 5k ★

README

ask-user-question: Use the Structured Question Tool for User Decisions

English | [简体中文](README_CN.md)

When an agent needs the user to decide, it calls its built-in structured question tool so the user can pick an answer.

When that tool is unavailable, though, agents often bury the options in prose. The user has to read the whole paragraph to answer, and the answer may not map cleanly to an option.

This skill gives every question clear options, a recommendation, and consequences.

💡 This skill only governs how the agent asks the user questions. It does not affect project code, comments, commit messages, or generated files.


Why ask-user-question?

**Typical AI question (options buried in prose):**

"The change is done. The log cleanup was outside the original scope. Should I revert it or keep it? If we keep it, it could also go in a separate commit, or I could look for another approach."

**With a structured question tool (the user picks):**

Option Description
1. Revert (Recommended) This commit contains only the login fix.
2. Keep The log cleanup is committed with the login fix.

**Without the tool (numbered text, the user replies `1`):**

Keep the log cleanup change?
1. Revert (Recommended) — This commit contains only the login fix.
2. Keep — The log cleanup is committed with the login fix.

Features

  • Tool first: when the user can pick on the spot, the agent always calls the structured question tool and does not list text options in the reply.
  • Decision-ready options: labels are numbered, the recommended option comes first, and consequences go in the description field. When a rule fixes the options, their meaning, numbering, and order stay unchanged.
  • One question at a time: by default each reply asks one question; when a rule limits