跳到正文
cccskills
免费在 GitHub 公开

asking-questions

Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md4.3 KB
  • CHANGELOG.md468 B
  • README.md238 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Asking Questions

Purpose

Ask clarifying questions when the answer materially changes what you'll build. This skill helps identify when to ask, how to structure questions effectively, and when to proceed autonomously.

When to Use

Ask questions for:

  1. Ambiguous implementation choices - Multiple valid technical approaches (middleware vs wrapper functions, library selection, architectural patterns)
  2. Missing critical context - Specific information needed (database type, deployment platform, credential management)
  3. Potentially destructive actions - Requests that could be interpreted dangerously ("clean up files" = delete vs archive)
  4. Scope clarification - Vague terms like "refactor," "optimize," or "improve"
  5. Conflicting requirements - Goals that may work against each other ("make it faster" + "add extensive logging")
  6. Technical trade-offs - Solutions with different costs/benefits depending on priorities

When NOT to Use

Don't ask when:

  • Request is clear and unambiguous - One obvious implementation path
  • You can determine the answer from context - Codebase patterns, project structure, existing conventions
  • Over-clarification - Questions that don't materially affect implementation
  • Standard engineering practices - Established patterns already in the codebase

Question Structure

Template

[Context: What you found/analyzed]

[Present 2-5 specific options with brief trade-offs]

[Direct question asking for preference]

[Optional: Offer to make reasonable default choice]

Guidelines

  1. Acknowledge understanding first - Show you've analyzed the situation

    • "I found your API endpoints and see you're using Express..."
  2. Present clear options - Offer 2-5 specific choices with brief context

    I can implement this in several ways:
    1. **Global middleware** - Catches all errors centrally (simplest)
    2. **Wrapper functions** - More granular control per endpoint
    3. **Custom error classes** - Typed errors with status codes
    
  3. Ask directly - Clear question that guides decision

    • "Which approach fits your needs?"
  4. Offer autonomy (optional) - For less critical decisions

    • "I can implement option 2 as it's the safest, or let me know if you prefer something else."

Progressive Disclosure

Layer questions instead of asking everything upfront:

Good ✓

  • First: "For real-time updates, should I use WebSockets, Server-Sent Events, or polling?"
  • Then: "For WebSockets, do you want Socket.io (easier) or native (lighter)?"

Bad ✗

  • "For real-time updates should I use WebSockets or SSE or polling and if WebSockets should I use Socket.io or native and should I implement reconnection and what about authentication and..."

Examples

Good ✓

"I see you're using JWT authentication. To add refresh tokens, I can:

  1. httpOnly cookies - More secure, harder to XSS
  2. localStorage - Simpler, works with mobile apps
  3. In-memory only - Most secure, lost on refresh

What works best for your use case?"

Bad ✗

"How should I implement the authentication refresh token storage mechanism considering security implications, XSS vulnerabilities, mobile compatibility, UX impacts, and compliance considerations?"

Too verbose, no clear options, asks everything at once


Good ✓

"You mentioned 'clean up migrations.' Do you want me to archive them to /old-migrations or delete them entirely? (Note: deletion can break databases that haven't run them yet)"

Bad ✗

"What do you mean by clean up?"

Too vague, doesn't guide the decision

After Receiving an Answer

  1. Acknowledge - Confirm you understood their choice
  2. Proceed immediately - Don't ask if they want you to continue
  3. Apply preferences - If they chose "security first" once, lean that direction for similar future choices

Key Principle

Ask only when the answer materially changes what you'll build. Avoid building the wrong thing, not asking questions for the sake of asking.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

GitHub repository access in containerized environments using REST API and credential detection. Use when git clone fails, or when accessing private repos/writing files via API.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

Decide which model, effort level, and cascade shape each subagent gets, and how to keep improvement loops safe (evaluator-as-selector, stop on regression). Routes on measured cost-per-completed-task rather than per-token price, because a tier's token count varies more by task shape than price varies across tiers. Covers per-model effort semantics, the concision lever, cascade preconditions, context handoff, and watching a subagent fan-out live. Use when choosing a subagent's model or effort, when choosing how to escalate a failed attempt, or when asked which model or effort a task should get. Grounded in a 2026-07 calibration, a 2026-08 coding-cost study, a 2026-09 seeded-bug repair battery, a 2026-10 Haiku 5.5 ladder priced per spawn, and a 2026-10 retry-versus-escalation ladder on 295 SWE-bench Verified tasks; Managed Agents API specifics are operational, not calibrated.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

Securely manages API credentials for multiple providers (Anthropic Claude, Google Gemini, GitHub). Use when skills need to access stored API keys for external service invocations.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

Pre-change blast-radius report for a symbol or file. Walks tree-sitting references, augments with a plain-text scan over non-parsed files (configs, plain docs), and clusters affected sites by feature (`_FEATURES.md`) or top-level package. Use when about to refactor, rename, or delete something in a repo you don't own — "what breaks if I change `validateUser`", "who calls this", "is this safe to remove", "where is this used", "blast radius", "impact analysis". This is the CONVERGENT pre-change risk skill — for "what is this repo?" use exploring-codebases; for "where is X?" use searching-codebases.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

Read Bluesky/ATProto without depending on Bluesky's AppView — interactions on a user's posts, thread replies, any repo's records, network-wide backlinks across every lexicon, an account's handle and PDS history, which collections are active network-wide, and layer-by-layer outage diagnosis. Use when bsky.app or the AppView is down or slow, when a Bluesky read returns timeouts or 5xx, when asked who liked/replied/quoted/reposted something, when pulling live Bluesky context cheaply, when reading records straight from a PDS, when asked who references a record or account anywhere on the network, whether an account has changed handle or migrated servers, or which lexicons and non-Bluesky apps are active on atproto. Complements browsing-bluesky, which routes everything through the AppView and fails when it does.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

bm25

免费

Ranked content search over a text corpus you point it at, using BM25 (via xhluca/bm25s). Corpus-agnostic: cloned repos, project knowledge stores, uploaded files and archives, any local directory. In-memory BM25 index per invocation, with a session-local disk cache for repeat runs against the same corpus. Use for "rank these documents", "search this corpus", "which files are most about X", "find content about Y", or any multi-word concept query against a known body of text where grep would return everything or nothing. Needs a corpus on disk. Not for searching stored memories or prior-session decisions (remembering), not for a named symbol or a file's structure (tree-sitting), and not for a literal string you could grep.

中文简介正在准备中。当前显示原文说明。

oaustegard/claude-skills1542026年10月21日 更新

查看 oaustegard 的全部技能

报告此技能的问题