ai-agent-skills 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  </p>
11
11
 
12
12
  <p align="center">
13
- <img src="https://img.shields.io/badge/skills-39-blue?style=flat-square" alt="Skills" />
13
+ <img src="https://img.shields.io/badge/skills-40-blue?style=flat-square" alt="Skills" />
14
14
  <img src="https://img.shields.io/badge/agents-10+-green?style=flat-square" alt="Compatible Agents" />
15
15
  <img src="https://img.shields.io/badge/license-MIT-brightgreen?style=flat-square" alt="License" />
16
16
  <img src="https://img.shields.io/npm/v/ai-agent-skills?style=flat-square&color=red" alt="npm" />
@@ -109,6 +109,7 @@ Works with **Claude Code**, **Cursor**, **Amp**, **VS Code**, **GitHub Copilot**
109
109
  ### Productivity
110
110
  | Skill | Description |
111
111
  |-------|-------------|
112
+ | `ask-questions-if-underspecified` | Clarify requirements before implementing |
112
113
  | `doc-coauthoring` | Co-author docs, proposals, specs with structured workflow |
113
114
  | `job-application` | Cover letters and applications using your CV |
114
115
  | `qa-regression` | Automated regression testing with Playwright |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-agent-skills",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Install curated AI agent skills with one command. Works with Claude Code, Cursor, Amp, VS Code, and all Agent Skills compatible tools.",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: ask-questions-if-underspecified
3
+ description: Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
4
+ ---
5
+
6
+ # Ask Questions If Underspecified
7
+
8
+ ## Goal
9
+
10
+ Ask the minimum set of clarifying questions needed to avoid wrong work; do not start implementing until the must-have questions are answered (or the user explicitly approves proceeding with stated assumptions).
11
+
12
+ ## Workflow
13
+
14
+ ### 1) Decide whether the request is underspecified
15
+
16
+ Treat a request as underspecified if after exploring how to perform the work, some or all of the following are not clear:
17
+ - Define the objective (what should change vs stay the same)
18
+ - Define "done" (acceptance criteria, examples, edge cases)
19
+ - Define scope (which files/components/users are in/out)
20
+ - Define constraints (compatibility, performance, style, deps, time)
21
+ - Identify environment (language/runtime versions, OS, build/test runner)
22
+ - Clarify safety/reversibility (data migration, rollout/rollback, risk)
23
+
24
+ If multiple plausible interpretations exist, assume it is underspecified.
25
+
26
+ ### 2) Ask must-have questions first (keep it small)
27
+
28
+ Ask 1-5 questions in the first pass. Prefer questions that eliminate whole branches of work.
29
+
30
+ Make questions easy to answer:
31
+ - Optimize for scannability (short, numbered questions; avoid paragraphs)
32
+ - Offer multiple-choice options when possible
33
+ - Suggest reasonable defaults when appropriate (mark them clearly as the default/recommended choice; bold the recommended choice in the list, or if you present options in a code block, put a bold "Recommended" line immediately above the block and also tag defaults inside the block)
34
+ - Include a fast-path response (e.g., reply `defaults` to accept all recommended/default choices)
35
+ - Include a low-friction "not sure" option when helpful (e.g., "Not sure - use default")
36
+ - Separate "Need to know" from "Nice to know" if that reduces friction
37
+ - Structure options so the user can respond with compact decisions (e.g., `1b 2a 3c`); restate the chosen options in plain language to confirm
38
+
39
+ ### 3) Pause before acting
40
+
41
+ Until must-have answers arrive:
42
+ - Do not run commands, edit files, or produce a detailed plan that depends on unknowns
43
+ - Do perform a clearly labeled, low-risk discovery step only if it does not commit you to a direction (e.g., inspect repo structure, read relevant config files)
44
+
45
+ If the user explicitly asks you to proceed without answers:
46
+ - State your assumptions as a short numbered list
47
+ - Ask for confirmation; proceed only after they confirm or correct them
48
+
49
+ ### 4) Confirm interpretation, then proceed
50
+
51
+ Once you have answers, restate the requirements in 1-3 sentences (including key constraints and what success looks like), then start work.
52
+
53
+ ## Question templates
54
+
55
+ - "Before I start, I need: (1) ..., (2) ..., (3) .... If you don't care about (2), I will assume ...."
56
+ - "Which of these should it be? A) ... B) ... C) ... (pick one)"
57
+ - "What would you consider 'done'? For example: ..."
58
+ - "Any constraints I must follow (versions, performance, style, deps)? If none, I will target the existing project defaults."
59
+ - Use numbered questions with lettered options and a clear reply format
60
+
61
+ ```text
62
+ 1) Scope?
63
+ a) Minimal change (default)
64
+ b) Refactor while touching the area
65
+ c) Not sure - use default
66
+ 2) Compatibility target?
67
+ a) Current project defaults (default)
68
+ b) Also support older versions: <specify>
69
+ c) Not sure - use default
70
+
71
+ Reply with: defaults (or 1a 2a)
72
+ ```
73
+
74
+ ## Anti-patterns
75
+
76
+ - Don't ask questions you can answer with a quick, low-risk discovery read (e.g., configs, existing patterns, docs).
77
+ - Don't ask open-ended questions if a tight multiple-choice or yes/no would eliminate ambiguity faster.
78
+
79
+ ---
80
+
81
+ *Originally created by [@thsottiaux](https://x.com/thsottiaux)*
package/skills.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "1.2.2",
3
- "updated": "2025-12-25T00:00:00Z",
4
- "total": 39,
3
+ "updated": "2026-01-01T00:00:00Z",
4
+ "total": 40,
5
5
  "skills": [
6
6
  {
7
7
  "name": "frontend-design",
@@ -315,6 +315,20 @@
315
315
  "featured": true,
316
316
  "verified": true
317
317
  },
318
+ {
319
+ "name": "ask-questions-if-underspecified",
320
+ "description": "Clarify requirements before implementing. Ask 1-5 must-have questions to avoid wrong work. Use when requests are ambiguous, have multiple valid interpretations, or lack key details like scope, constraints, or acceptance criteria.",
321
+ "category": "productivity",
322
+ "author": "thsottiaux",
323
+ "source": "skillcreatorai/Ai-Agent-Skills",
324
+ "license": "MIT",
325
+ "path": "skills/ask-questions-if-underspecified",
326
+ "tags": ["clarification", "requirements", "workflow", "codex"],
327
+ "stars": 100,
328
+ "downloads": 0,
329
+ "featured": true,
330
+ "verified": true
331
+ },
318
332
  {
319
333
  "name": "artifacts-builder",
320
334
  "description": "Create elaborate HTML artifacts using React, Tailwind CSS, and shadcn/ui. Use for building interactive web components and demos.",
@@ -540,7 +554,7 @@
540
554
  "id": "productivity",
541
555
  "name": "Productivity",
542
556
  "description": "Productivity and workflow skills",
543
- "count": 11
557
+ "count": 12
544
558
  }
545
559
  ]
546
560
  }