@dzhechkov/skills-feature-adr 1.2.0 → 1.3.0
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/package.json +1 -1
- package/src/utils.js +16 -1
- package/templates/.claude/skills/explore/SKILL.md +218 -0
- package/templates/.claude/skills/explore/references/questioning-techniques.md +151 -0
- package/templates/.claude/skills/explore/references/task-brief-templates.md +355 -0
- package/templates/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/templates/.claude/skills/frontend-design/SKILL.md +45 -0
- package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +565 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzhechkov/skills-feature-adr",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Adaptive Feature Development skill pack for Claude Code — 11-step pipeline with Complexity Router (S/M/L/XL), ADR-driven architecture, 15 agentic-qe skills, multi-agent fleet QE. Supports --full-qe, --full-qe-extended, --with-learning, and --knowledge-extractor modes.",
|
|
5
5
|
"main": "src/cli.js",
|
|
6
6
|
"bin": {
|
package/src/utils.js
CHANGED
|
@@ -247,9 +247,24 @@ function getTemplatesDir() {
|
|
|
247
247
|
const COMPONENTS = {
|
|
248
248
|
skill: {
|
|
249
249
|
src: '.claude/skills/feature-adr',
|
|
250
|
-
label: 'Feature ADR Skill (
|
|
250
|
+
label: 'Feature ADR Skill (11 modules + references + agentic-qe)',
|
|
251
251
|
group: 'core',
|
|
252
252
|
},
|
|
253
|
+
skill_explore: {
|
|
254
|
+
src: '.claude/skills/explore',
|
|
255
|
+
label: 'Explore Skill (task clarification)',
|
|
256
|
+
group: 'deps',
|
|
257
|
+
},
|
|
258
|
+
skill_solver: {
|
|
259
|
+
src: '.claude/skills/problem-solver-enhanced',
|
|
260
|
+
label: 'Problem Solver Enhanced (TRIZ + Game Theory)',
|
|
261
|
+
group: 'deps',
|
|
262
|
+
},
|
|
263
|
+
skill_frontend: {
|
|
264
|
+
src: '.claude/skills/frontend-design',
|
|
265
|
+
label: 'Frontend Design Skill (UI implementation)',
|
|
266
|
+
group: 'deps',
|
|
267
|
+
},
|
|
253
268
|
commands: {
|
|
254
269
|
src: '.claude/commands',
|
|
255
270
|
label: 'Feature ADR Command (1 command)',
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explore
|
|
3
|
+
description: >
|
|
4
|
+
Adaptive task exploration and clarification skill for transforming vague
|
|
5
|
+
requests into actionable specifications. Use when a user presents any task,
|
|
6
|
+
problem, or goal that requires clarification before execution. Triggers on
|
|
7
|
+
ambiguous requests, complex multi-part tasks, "I want to...", "help me with...",
|
|
8
|
+
strategic decisions, product ideas, creative briefs, and any situation where
|
|
9
|
+
understanding the real need is essential before proposing solutions. Does NOT
|
|
10
|
+
provide solutions until task is fully explored.
|
|
11
|
+
trust_tier: 1
|
|
12
|
+
trust_tier_label: "Structured"
|
|
13
|
+
trust_tier_path: "Run /bto-test to promote to Tier 2"
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Explore: Adaptive Task Clarification
|
|
17
|
+
|
|
18
|
+
Transform vague requests into crystal-clear, actionable task specifications through systematic Socratic questioning.
|
|
19
|
+
|
|
20
|
+
## Core Philosophy
|
|
21
|
+
|
|
22
|
+
**Never solve before you understand.** Most failed solutions solve the wrong problem. This skill ensures the real problem is understood before any solution is proposed.
|
|
23
|
+
|
|
24
|
+
Key principles:
|
|
25
|
+
- Questions unlock understanding; answers often hide assumptions
|
|
26
|
+
- The stated goal is rarely the real goal
|
|
27
|
+
- Constraints reveal opportunities
|
|
28
|
+
- Success criteria prevent scope creep
|
|
29
|
+
|
|
30
|
+
## Task Classification
|
|
31
|
+
|
|
32
|
+
Before asking questions, classify the task type to select appropriate exploration dimensions:
|
|
33
|
+
|
|
34
|
+
| Task Type | Indicators | Primary Dimensions |
|
|
35
|
+
|-----------|------------|-------------------|
|
|
36
|
+
| **Product/Feature** | "build", "create app", "develop" | Outcome, Users, Constraints, Success |
|
|
37
|
+
| **Problem Solving** | "fix", "solve", "issue with" | Root Cause, Constraints, Attempted Solutions |
|
|
38
|
+
| **Decision Making** | "should I", "choose between", "evaluate" | Criteria, Tradeoffs, Timeline, Reversibility |
|
|
39
|
+
| **Creative** | "write", "design", "make content" | Audience, Tone, Format, Examples |
|
|
40
|
+
| **Research** | "find out", "analyze", "understand" | Scope, Depth, Sources, Deliverable |
|
|
41
|
+
| **Process/Workflow** | "how to", "improve process" | Current State, Desired State, Blockers |
|
|
42
|
+
|
|
43
|
+
## Exploration Dimensions
|
|
44
|
+
|
|
45
|
+
Select 3-5 dimensions based on task type. Each dimension has multiple question variants—choose the most natural for context.
|
|
46
|
+
|
|
47
|
+
### 1. The Real Objective
|
|
48
|
+
Uncover what success truly looks like, beyond the stated request.
|
|
49
|
+
|
|
50
|
+
**Questions:**
|
|
51
|
+
- "If this worked perfectly, what would be different in your [work/life/business]?"
|
|
52
|
+
- "What outcome would make you say 'this was absolutely worth it'?"
|
|
53
|
+
- "Is this goal a means to something else, or the end itself?"
|
|
54
|
+
- "If you could wave a magic wand and have any result, what would you choose?"
|
|
55
|
+
|
|
56
|
+
**Red flags to probe:** Generic goals ("make it better"), proxy metrics, solutions presented as requirements.
|
|
57
|
+
|
|
58
|
+
### 2. Constraints & Boundaries
|
|
59
|
+
Identify hard limits that shape the solution space.
|
|
60
|
+
|
|
61
|
+
**Questions:**
|
|
62
|
+
- "What's absolutely off the table—budget, time, technology, or approach-wise?"
|
|
63
|
+
- "What existing systems, processes, or decisions must this work with?"
|
|
64
|
+
- "Who needs to approve this, and what are their non-negotiables?"
|
|
65
|
+
- "What would disqualify a solution, even if it technically works?"
|
|
66
|
+
|
|
67
|
+
**Red flags to probe:** No constraints mentioned (usually means hidden ones), unrealistic expectations.
|
|
68
|
+
|
|
69
|
+
### 3. Available Resources
|
|
70
|
+
Understand leverage points and existing assets.
|
|
71
|
+
|
|
72
|
+
**Questions:**
|
|
73
|
+
- "What do you already have that we could build on—data, tools, people, prior work?"
|
|
74
|
+
- "Who else is involved, and what can they contribute?"
|
|
75
|
+
- "What similar problems have you solved before, and what worked?"
|
|
76
|
+
- "What's your actual capacity to implement this?"
|
|
77
|
+
|
|
78
|
+
**Red flags to probe:** Overestimated capabilities, unacknowledged dependencies.
|
|
79
|
+
|
|
80
|
+
### 4. Timeline & Urgency
|
|
81
|
+
Distinguish real deadlines from arbitrary ones.
|
|
82
|
+
|
|
83
|
+
**Questions:**
|
|
84
|
+
- "What happens if this takes 2x longer than expected?"
|
|
85
|
+
- "Is there a hard deadline, and what's driving it?"
|
|
86
|
+
- "Would you prefer a quick 80% solution or a slower 100% solution?"
|
|
87
|
+
- "What's the cost of delay vs. the cost of getting it wrong?"
|
|
88
|
+
|
|
89
|
+
**Red flags to probe:** Artificial urgency, no clear driver for deadline.
|
|
90
|
+
|
|
91
|
+
### 5. Success Criteria
|
|
92
|
+
Define what "done" actually means.
|
|
93
|
+
|
|
94
|
+
**Questions:**
|
|
95
|
+
- "How will you know this is successful? What will you measure?"
|
|
96
|
+
- "Who decides if this is good enough, and what will they look for?"
|
|
97
|
+
- "What's the minimum viable outcome that would still be valuable?"
|
|
98
|
+
- "In 6 months, what would make you regret the approach we took?"
|
|
99
|
+
|
|
100
|
+
**Red flags to probe:** Vague criteria ("stakeholders will be happy"), moving targets.
|
|
101
|
+
|
|
102
|
+
### 6. Attempted Solutions (for problems)
|
|
103
|
+
Learn from what hasn't worked.
|
|
104
|
+
|
|
105
|
+
**Questions:**
|
|
106
|
+
- "What have you already tried, and why didn't it work?"
|
|
107
|
+
- "What solutions have you considered but rejected?"
|
|
108
|
+
- "What would the obvious solution be, and why isn't that good enough?"
|
|
109
|
+
|
|
110
|
+
### 7. Audience & Stakeholders (for products/content)
|
|
111
|
+
Understand who this serves.
|
|
112
|
+
|
|
113
|
+
**Questions:**
|
|
114
|
+
- "Who specifically will use this, and what's their context when they do?"
|
|
115
|
+
- "What does your audience already know or believe about this?"
|
|
116
|
+
- "Who might be negatively affected, and does that matter?"
|
|
117
|
+
|
|
118
|
+
## Execution Protocol
|
|
119
|
+
|
|
120
|
+
### Phase 1: Initial Assessment (1 turn)
|
|
121
|
+
|
|
122
|
+
1. Parse the user's request
|
|
123
|
+
2. Identify what's already clear from context
|
|
124
|
+
3. Classify task type
|
|
125
|
+
4. Select 3-5 most critical dimensions
|
|
126
|
+
5. Note any immediate red flags or assumptions
|
|
127
|
+
|
|
128
|
+
### Phase 2: Adaptive Questioning (3-7 turns)
|
|
129
|
+
|
|
130
|
+
**Rules:**
|
|
131
|
+
- Ask ONE question at a time
|
|
132
|
+
- Make questions specific and decision-shaping, not generic
|
|
133
|
+
- Challenge vague answers: "Can you be more specific about...?"
|
|
134
|
+
- Acknowledge answers before next question
|
|
135
|
+
- Skip dimensions already clarified
|
|
136
|
+
- Stop when you have enough to create a clear brief
|
|
137
|
+
|
|
138
|
+
**Question Sequencing:**
|
|
139
|
+
1. Start with Real Objective (reveals the most)
|
|
140
|
+
2. Follow with Constraints (narrows solution space)
|
|
141
|
+
3. Then Success Criteria (defines done)
|
|
142
|
+
4. Fill gaps with other dimensions as needed
|
|
143
|
+
|
|
144
|
+
**Adaptive behavior:**
|
|
145
|
+
- If user gives detailed answer → compress follow-ups
|
|
146
|
+
- If user seems frustrated → summarize and ask if they want to continue
|
|
147
|
+
- If contradiction detected → gently probe: "Earlier you mentioned X, but now Y—help me understand?"
|
|
148
|
+
|
|
149
|
+
### Phase 3: Task Brief Synthesis (1 turn)
|
|
150
|
+
|
|
151
|
+
After sufficient exploration, synthesize into a **Task Brief**:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
## Task Brief
|
|
155
|
+
|
|
156
|
+
**Objective:** [Clear statement of what we're actually solving]
|
|
157
|
+
|
|
158
|
+
**Context:** [Relevant background and constraints]
|
|
159
|
+
|
|
160
|
+
**Success Criteria:**
|
|
161
|
+
- [Measurable criterion 1]
|
|
162
|
+
- [Measurable criterion 2]
|
|
163
|
+
|
|
164
|
+
**Constraints:**
|
|
165
|
+
- [Hard constraint 1]
|
|
166
|
+
- [Hard constraint 2]
|
|
167
|
+
|
|
168
|
+
**Resources Available:** [What we can leverage]
|
|
169
|
+
|
|
170
|
+
**Timeline:** [Deadline and urgency level]
|
|
171
|
+
|
|
172
|
+
**Key Assumptions:** [Things we're assuming that could change the approach]
|
|
173
|
+
|
|
174
|
+
**Out of Scope:** [Explicitly excluded items]
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Ask user: "Does this capture what you need? Anything to add or correct?"
|
|
178
|
+
|
|
179
|
+
### Phase 4: Handoff
|
|
180
|
+
|
|
181
|
+
Once validated, either:
|
|
182
|
+
- Proceed to solution (if user wants immediate help)
|
|
183
|
+
- Export brief for later use
|
|
184
|
+
- Suggest appropriate next steps/skills
|
|
185
|
+
|
|
186
|
+
## Anti-Patterns to Avoid
|
|
187
|
+
|
|
188
|
+
❌ **Interrogation mode:** Don't fire questions robotically
|
|
189
|
+
❌ **Assuming context:** Don't skip clarification because you "think" you understand
|
|
190
|
+
❌ **Premature solutions:** Don't hint at solutions before exploration is complete
|
|
191
|
+
❌ **Over-questioning:** Stop when you have enough clarity
|
|
192
|
+
❌ **Generic questions:** Each question should be tailored to this specific task
|
|
193
|
+
❌ **Ignoring signals:** If user provides info proactively, don't re-ask
|
|
194
|
+
|
|
195
|
+
## Example Flow
|
|
196
|
+
|
|
197
|
+
**User:** "I want to create a dashboard for my team"
|
|
198
|
+
|
|
199
|
+
**Claude (Phase 1 assessment):**
|
|
200
|
+
- Task type: Product/Feature
|
|
201
|
+
- Unclear: Who uses it, what data, what decisions it enables, timeline
|
|
202
|
+
- Dimensions needed: Real Objective, Audience, Constraints, Success Criteria
|
|
203
|
+
|
|
204
|
+
**Claude:** "Before we dive in—what decisions will your team make differently once they have this dashboard? What's the main insight they're missing today?"
|
|
205
|
+
|
|
206
|
+
*[User answers about tracking project delays]*
|
|
207
|
+
|
|
208
|
+
**Claude:** "Got it—so the core need is visibility into project health to catch delays early. How do you know a project is delayed today? What's the current process for catching these issues?"
|
|
209
|
+
|
|
210
|
+
*[Continues adaptively based on answers...]*
|
|
211
|
+
|
|
212
|
+
## Integration Notes
|
|
213
|
+
|
|
214
|
+
After exploration, this skill can hand off to:
|
|
215
|
+
- problem-solver-enhanced (for complex problems)
|
|
216
|
+
- goap-research (for research tasks)
|
|
217
|
+
- frontend-design (for UI/product tasks)
|
|
218
|
+
- Any implementation skill with the structured Task Brief
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Advanced Questioning Techniques
|
|
2
|
+
|
|
3
|
+
Reference for sophisticated question patterns when standard approaches don't yield clarity.
|
|
4
|
+
|
|
5
|
+
## Socratic Techniques
|
|
6
|
+
|
|
7
|
+
### Clarifying Questions
|
|
8
|
+
When answers are vague or use undefined terms:
|
|
9
|
+
- "What do you mean by [term]?"
|
|
10
|
+
- "Can you give me a specific example of [concept]?"
|
|
11
|
+
- "How would you explain this to someone unfamiliar with your context?"
|
|
12
|
+
|
|
13
|
+
### Assumption Probing
|
|
14
|
+
When hidden assumptions might be distorting the problem:
|
|
15
|
+
- "What would have to be true for this approach to work?"
|
|
16
|
+
- "What are you taking for granted here that might not be true?"
|
|
17
|
+
- "If you were wrong about [assumption], how would that change things?"
|
|
18
|
+
|
|
19
|
+
### Consequence Exploration
|
|
20
|
+
When second-order effects matter:
|
|
21
|
+
- "If this succeeds, what problems might it create?"
|
|
22
|
+
- "Who might be affected that we haven't considered?"
|
|
23
|
+
- "What's the worst realistic outcome if this goes wrong?"
|
|
24
|
+
|
|
25
|
+
### Perspective Shifting
|
|
26
|
+
When stuck in one frame:
|
|
27
|
+
- "How would [competitor/user/skeptic] view this?"
|
|
28
|
+
- "If you had to argue against this approach, what would you say?"
|
|
29
|
+
- "What would you advise someone else in this situation?"
|
|
30
|
+
|
|
31
|
+
## Techniques for Specific Blockers
|
|
32
|
+
|
|
33
|
+
### When user presents solution as requirement
|
|
34
|
+
"I need a mobile app for X"
|
|
35
|
+
|
|
36
|
+
**Approach:** Trace back to underlying need
|
|
37
|
+
- "What problem would the mobile app solve?"
|
|
38
|
+
- "How do users handle this today without the app?"
|
|
39
|
+
- "If a mobile app wasn't an option, how else might you solve this?"
|
|
40
|
+
|
|
41
|
+
### When user can't articulate success
|
|
42
|
+
"I'll know it when I see it"
|
|
43
|
+
|
|
44
|
+
**Approach:** Use concrete scenarios
|
|
45
|
+
- "Imagine it's 6 months from now and this was a huge success—describe what's happening"
|
|
46
|
+
- "If you had to bet money on one metric improving, what would it be?"
|
|
47
|
+
- "What would your boss/customer/user say that would prove this worked?"
|
|
48
|
+
|
|
49
|
+
### When constraints seem impossible
|
|
50
|
+
"We need enterprise features but have startup budget"
|
|
51
|
+
|
|
52
|
+
**Approach:** Separate hard from soft constraints
|
|
53
|
+
- "If you had to prioritize: which constraint is truly immovable?"
|
|
54
|
+
- "What's the minimum viable version that would still be valuable?"
|
|
55
|
+
- "What could you trade off to make this feasible?"
|
|
56
|
+
|
|
57
|
+
### When user is emotionally invested
|
|
58
|
+
User seems attached to a specific solution
|
|
59
|
+
|
|
60
|
+
**Approach:** Validate, then explore
|
|
61
|
+
- "It sounds like you've thought about this a lot. What led you to this approach?"
|
|
62
|
+
- "What would make you reconsider this direction?"
|
|
63
|
+
- "What's the strongest argument against this that you've heard?"
|
|
64
|
+
|
|
65
|
+
### When multiple stakeholders with conflicting needs
|
|
66
|
+
"My boss wants X but users want Y"
|
|
67
|
+
|
|
68
|
+
**Approach:** Map the conflict explicitly
|
|
69
|
+
- "Let's map out who wants what. What does your boss's ideal outcome look like?"
|
|
70
|
+
- "Where exactly do these needs conflict?"
|
|
71
|
+
- "Is there a version that gives each party their most important thing?"
|
|
72
|
+
|
|
73
|
+
## Question Formulation Patterns
|
|
74
|
+
|
|
75
|
+
### The Magic Wand
|
|
76
|
+
Removes artificial constraints to reveal true desires:
|
|
77
|
+
"If you could wave a magic wand and have any outcome, what would you choose?"
|
|
78
|
+
|
|
79
|
+
### The Premortem
|
|
80
|
+
Surfaces hidden risks:
|
|
81
|
+
"Imagine this failed spectacularly—what went wrong?"
|
|
82
|
+
|
|
83
|
+
### The Constraint Inversion
|
|
84
|
+
Challenges assumptions about limitations:
|
|
85
|
+
"What if [constraint] wasn't a factor—would you approach this differently?"
|
|
86
|
+
|
|
87
|
+
### The Minimum Viable Success
|
|
88
|
+
Defines the essential core:
|
|
89
|
+
"What's the smallest version of this that would still be valuable?"
|
|
90
|
+
|
|
91
|
+
### The Regret Test
|
|
92
|
+
Clarifies priorities over time:
|
|
93
|
+
"In a year, what would you regret not having done?"
|
|
94
|
+
|
|
95
|
+
### The Opportunity Cost
|
|
96
|
+
Reveals trade-offs:
|
|
97
|
+
"What else could you do with the time/money/effort this would require?"
|
|
98
|
+
|
|
99
|
+
### The Outsider View
|
|
100
|
+
Escapes insider bias:
|
|
101
|
+
"How would you explain this problem to someone completely outside your industry?"
|
|
102
|
+
|
|
103
|
+
## Red Flags and Responses
|
|
104
|
+
|
|
105
|
+
| Red Flag | What It Might Mean | How to Probe |
|
|
106
|
+
|----------|-------------------|--------------|
|
|
107
|
+
| "Everyone knows..." | Unexamined assumption | "Help me understand—what's the evidence for this?" |
|
|
108
|
+
| "We've always done it this way" | Inertia, not strategy | "What originally drove this approach? Is that still true?" |
|
|
109
|
+
| "It's obvious that..." | Blind spot | "Walk me through why this is obvious—I want to make sure I understand" |
|
|
110
|
+
| "We just need to..." | Oversimplification | "What could go wrong with this approach?" |
|
|
111
|
+
| "ASAP" | Artificial urgency | "What specifically happens if this takes longer?" |
|
|
112
|
+
| No constraints mentioned | Hidden constraints | "What would disqualify a solution even if it technically works?" |
|
|
113
|
+
| Very specific solution stated | Solution fixation | "What problem does this solve? Are there other ways to solve it?" |
|
|
114
|
+
|
|
115
|
+
## Calibrating Question Depth
|
|
116
|
+
|
|
117
|
+
### Light Touch (1-2 questions per dimension)
|
|
118
|
+
Use when:
|
|
119
|
+
- User is experienced and already has clarity
|
|
120
|
+
- Task is straightforward
|
|
121
|
+
- Time is genuinely constrained
|
|
122
|
+
- User shows frustration
|
|
123
|
+
|
|
124
|
+
### Deep Exploration (3-5 questions per dimension)
|
|
125
|
+
Use when:
|
|
126
|
+
- High stakes decision
|
|
127
|
+
- Multiple stakeholders
|
|
128
|
+
- Technical complexity
|
|
129
|
+
- User seems uncertain
|
|
130
|
+
- Contradictions in answers
|
|
131
|
+
|
|
132
|
+
### Signs to Stop Questioning
|
|
133
|
+
- User is repeating themselves
|
|
134
|
+
- Answers are becoming terse
|
|
135
|
+
- You have enough for a clear brief
|
|
136
|
+
- User explicitly says "that's enough"
|
|
137
|
+
- Remaining questions are nice-to-know, not need-to-know
|
|
138
|
+
|
|
139
|
+
## Cultural Considerations
|
|
140
|
+
|
|
141
|
+
Some users may:
|
|
142
|
+
- View detailed questions as distrust
|
|
143
|
+
- Expect to define solutions themselves
|
|
144
|
+
- Be uncomfortable with "why" questions
|
|
145
|
+
- Prefer to give context incrementally
|
|
146
|
+
|
|
147
|
+
**Adaptive responses:**
|
|
148
|
+
- Frame questions as "helping me help you better"
|
|
149
|
+
- Acknowledge their expertise: "You know this space—help me understand..."
|
|
150
|
+
- Use "what" instead of "why" when appropriate
|
|
151
|
+
- Offer to explain why you're asking
|