@dzhechkov/keysarium 1.0.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/README.md +289 -0
- package/bin/cli.js +5 -0
- package/package.json +43 -0
- package/src/cli.js +157 -0
- package/src/commands/doctor.js +469 -0
- package/src/commands/init.js +171 -0
- package/src/commands/list.js +147 -0
- package/src/commands/remove.js +197 -0
- package/src/commands/update.js +191 -0
- package/src/utils.js +274 -0
- package/templates/.claude/agents/cjm-variant-worker.md +60 -0
- package/templates/.claude/agents/discovery-worker.md +45 -0
- package/templates/.claude/agents/parallel-research-orchestrator.md +70 -0
- package/templates/.claude/agents/presentation-worker.md +55 -0
- package/templates/.claude/agents/research-worker.md +43 -0
- package/templates/.claude/commands/architecture-phase.md +37 -0
- package/templates/.claude/commands/casarium.md +163 -0
- package/templates/.claude/commands/cjm-prototype.md +42 -0
- package/templates/.claude/commands/discovery.md +34 -0
- package/templates/.claude/commands/explore-case.md +22 -0
- package/templates/.claude/commands/harvest.md +67 -0
- package/templates/.claude/commands/new-research.md +69 -0
- package/templates/.claude/commands/parallel-research.md +45 -0
- package/templates/.claude/commands/presentation.md +49 -0
- package/templates/.claude/commands/research.md +32 -0
- package/templates/.claude/commands/solve.md +36 -0
- package/templates/.claude/rules/agent-swarm.md +31 -0
- package/templates/.claude/rules/anti-patterns.md +19 -0
- package/templates/.claude/rules/checkpoint-protocol.md +23 -0
- package/templates/.claude/rules/domain-specific.md +32 -0
- package/templates/.claude/rules/file-conventions.md +38 -0
- package/templates/.claude/rules/modular-reuse.md +35 -0
- package/templates/.claude/rules/research-quality.md +20 -0
- package/templates/.claude/settings.json +37 -0
- package/templates/.claude/skills/explore/SKILL.md +215 -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 +42 -0
- package/templates/.claude/skills/goap-research-ed25519/SKILL.md +415 -0
- package/templates/.claude/skills/goap-research-ed25519/references/ed25519-verification.md +658 -0
- package/templates/.claude/skills/goap-research-ed25519/references/research-actions.md +544 -0
- package/templates/.claude/skills/goap-research-ed25519/references/source-evaluation.md +560 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/ed25519_verifier.py +662 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/goap_planner.py +720 -0
- package/templates/.claude/skills/presentation-storyteller/SKILL.md +371 -0
- package/templates/.claude/skills/presentation-storyteller/references/example-presentation.md +273 -0
- package/templates/.claude/skills/presentation-storyteller/references/slide-types.md +426 -0
- package/templates/.claude/skills/presentation-storyteller/references/sources-index-template.md +213 -0
- package/templates/.claude/skills/presentation-storyteller/references/speaker-script-patterns.md +324 -0
- package/templates/.claude/skills/presentation-storyteller/references/storytelling-frameworks.md +270 -0
- package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +562 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/SKILL.md +194 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-cjm-example.md +100 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-module1-example.md +88 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/01-intelligence.md +328 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/02-product-customers.md +221 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/025-cjm-prototype.md +206 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/03-market-competition.md +402 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/04-business-finance.md +287 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/05-growth-engine.md +290 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/06-playbook-synthesis.md +286 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/blue-ocean-canvas.md +39 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/industry-benchmarks.md +67 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/jtbd-canvas.md +48 -0
- package/templates/CLAUDE.md +185 -0
- package/templates/TOOLKIT_HARVEST.md +29 -0
- package/templates/docs/keysarium/01-deployment-guide.md +768 -0
- package/templates/docs/keysarium/02-admin-guide.md +1170 -0
- package/templates/docs/keysarium/03-user-guide.md +884 -0
- package/templates/docs/keysarium/04-infrastructure-requirements.md +967 -0
- package/templates/docs/keysarium/05-architecture.md +706 -0
- package/templates/docs/keysarium/06-user-flows.md +925 -0
- package/templates/docs/skills-bto/01-deployment-guide.md +828 -0
- package/templates/docs/skills-bto/02-admin-guide.md +1052 -0
- package/templates/docs/skills-bto/03-user-guide.md +960 -0
- package/templates/docs/skills-bto/04-infrastructure-requirements.md +610 -0
- package/templates/docs/skills-bto/05-architecture.md +1112 -0
- package/templates/docs/skills-bto/06-user-flows.md +977 -0
- package/templates/lib/agent-patterns.md +115 -0
- package/templates/lib/domain-templates.md +172 -0
- package/templates/lib/phase-utils.md +107 -0
- package/templates/lib/skill-loader.md +78 -0
- package/templates/researches/.gitkeep +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Domain-Specific Rules
|
|
2
|
+
|
|
3
|
+
## Banking / FinTech
|
|
4
|
+
- ALWAYS recommend on-premise LLM deployment (GigaChat, YandexGPT, open-source)
|
|
5
|
+
- ALWAYS reference: ФЗ-152, ЦБ requirements, ФСТЭК
|
|
6
|
+
- HITL (Human-in-the-Loop) is MANDATORY for any decision-making
|
|
7
|
+
- Data NEVER leaves the security perimeter
|
|
8
|
+
- Palette: Blue/Navy/Silver
|
|
9
|
+
- Tone: strict, reliable, conservative
|
|
10
|
+
|
|
11
|
+
## Retail / E-commerce
|
|
12
|
+
- Latency budget: < 200ms for real-time recommendations
|
|
13
|
+
- A/B testing as primary validation method
|
|
14
|
+
- Balance personalization vs. privacy (GDPR/ФЗ-152)
|
|
15
|
+
- Address seasonality and cold-start problems
|
|
16
|
+
- Palette: Amber/Orange
|
|
17
|
+
|
|
18
|
+
## Enterprise / B2B
|
|
19
|
+
- Address Change Management (people resist AI)
|
|
20
|
+
- Plan for Legacy system integration
|
|
21
|
+
- Define SLA and fault tolerance
|
|
22
|
+
- Express ROI in FTE/hours saved, not abstract percentages
|
|
23
|
+
- Palette: Teal/Indigo
|
|
24
|
+
|
|
25
|
+
## Healthcare
|
|
26
|
+
- HITL mandatory for ALL clinical decisions
|
|
27
|
+
- Reference: ФЗ-323, medical device regulations
|
|
28
|
+
- Explainability requirements for AI decisions
|
|
29
|
+
- Patient data isolation (ФЗ-152 + medical specifics)
|
|
30
|
+
|
|
31
|
+
## Detection
|
|
32
|
+
Detect domain from case description keywords and apply rules automatically.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# File Conventions
|
|
2
|
+
|
|
3
|
+
## Research Artifacts
|
|
4
|
+
All research artifacts MUST be created inside `researches/<case-slug>/` directory.
|
|
5
|
+
NEVER create research files in the project root.
|
|
6
|
+
|
|
7
|
+
## Naming
|
|
8
|
+
- Case slugs: snake_case, Latin characters only (e.g., `bank_kc_automation`)
|
|
9
|
+
- Phase artifacts: numbered prefix (00_, 01_, 02_, etc.)
|
|
10
|
+
- Diagrams: descriptive kebab-case (e.g., `architecture-c4.mermaid`)
|
|
11
|
+
- Prototypes: in `prototype/` subdirectory
|
|
12
|
+
|
|
13
|
+
## File Creation Timing
|
|
14
|
+
Artifacts are created AT THE END of their phase, NOT deferred to Phase 6.
|
|
15
|
+
Each phase checkpoint verifies the file exists.
|
|
16
|
+
|
|
17
|
+
## Directory Structure per Research
|
|
18
|
+
```
|
|
19
|
+
researches/<slug>/
|
|
20
|
+
├── 00_product_discovery.md
|
|
21
|
+
├── 01_case_brief.md
|
|
22
|
+
├── 02_research_findings.md
|
|
23
|
+
├── 02.5_trend_brief.md
|
|
24
|
+
├── 03_solution_strategy.md
|
|
25
|
+
├── 04_architecture.md
|
|
26
|
+
├── 05_presentation_content.md
|
|
27
|
+
├── 06_speaker_script.md
|
|
28
|
+
├── 07_qa_preparation.md
|
|
29
|
+
├── 08_executive_summary.md
|
|
30
|
+
├── prototype/
|
|
31
|
+
│ └── cjm-prototype.jsx
|
|
32
|
+
├── diagrams/
|
|
33
|
+
│ ├── architecture-c4.mermaid
|
|
34
|
+
│ ├── sequence-main-flow.mermaid
|
|
35
|
+
│ ├── process-as-is.mermaid
|
|
36
|
+
│ └── process-to-be.mermaid
|
|
37
|
+
└── README.md
|
|
38
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Modular Reuse Rules
|
|
2
|
+
|
|
3
|
+
## Skills are Domain-Agnostic
|
|
4
|
+
Skills in .claude/skills/ are designed to work across ANY domain:
|
|
5
|
+
- explore: works for any task clarification
|
|
6
|
+
- goap-research-ed25519: works for any research topic
|
|
7
|
+
- problem-solver-enhanced: works for any complex problem
|
|
8
|
+
- frontend-design: works for any UI task
|
|
9
|
+
- presentation-storyteller: works for any presentation
|
|
10
|
+
- reverse-engineering-unicorn: works for any company analysis
|
|
11
|
+
|
|
12
|
+
## Commands are Pipeline-Specific
|
|
13
|
+
Commands in .claude/commands/ implement the Casarium pipeline.
|
|
14
|
+
They can be adapted for other pipelines by:
|
|
15
|
+
1. Copying the command file
|
|
16
|
+
2. Modifying phase-specific content
|
|
17
|
+
3. Keeping the skill loading pattern intact
|
|
18
|
+
|
|
19
|
+
## Agent Templates are Reusable
|
|
20
|
+
Agent templates in .claude/agents/ define reusable agent configurations.
|
|
21
|
+
They can be composed for different workflows.
|
|
22
|
+
|
|
23
|
+
## Library Functions
|
|
24
|
+
Shared logic lives in lib/ directory:
|
|
25
|
+
- lib/phase-utils.md: Common phase utilities
|
|
26
|
+
- lib/agent-patterns.md: Agent spawning patterns
|
|
27
|
+
- lib/checkpoint-template.md: Checkpoint formatting
|
|
28
|
+
|
|
29
|
+
## Extending the System
|
|
30
|
+
To add a new phase:
|
|
31
|
+
1. Create .claude/commands/new-phase.md
|
|
32
|
+
2. Create or reuse a skill in .claude/skills/
|
|
33
|
+
3. Add agent template in .claude/agents/ if parallelizable
|
|
34
|
+
4. Update CLAUDE.md pipeline table
|
|
35
|
+
5. Update docs/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Research Quality Rules
|
|
2
|
+
|
|
3
|
+
## PARANOID Mode (Default for all research)
|
|
4
|
+
- Every factual claim MUST have a verifiable source
|
|
5
|
+
- Zero tolerance for hallucinated citations
|
|
6
|
+
- Confidence threshold: 0.99 minimum
|
|
7
|
+
- If source cannot be verified → mark as [UNVERIFIED] and flag
|
|
8
|
+
|
|
9
|
+
## Citation Requirements
|
|
10
|
+
- Format: `[Claim] — Source: [URL or publication], [Date]`
|
|
11
|
+
- No bare claims without attribution in research documents
|
|
12
|
+
- Self-generated analysis must be explicitly marked as `[ANALYSIS]`
|
|
13
|
+
|
|
14
|
+
## Verification Checklist
|
|
15
|
+
Before completing any research phase:
|
|
16
|
+
- [ ] All claims have sources
|
|
17
|
+
- [ ] No unverified statistics or percentages
|
|
18
|
+
- [ ] Competitor names verified to exist
|
|
19
|
+
- [ ] Technology recommendations are for real, available products
|
|
20
|
+
- [ ] Regulatory references cite actual laws/standards
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"PreToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "Write|Edit",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "bash -c 'if echo \"$CLAUDE_TOOL_INPUT\" | grep -q '\"researches/\"' && ! echo \"$CLAUDE_TOOL_INPUT\" | grep -qE '\"researches/[a-z0-9_]+/\"'; then echo \"⚠️ BLOCKED: Research files must be inside researches/<case-slug>/ directory\" && exit 1; fi; exit 0'"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"PostToolUse": [
|
|
15
|
+
{
|
|
16
|
+
"matcher": "Write",
|
|
17
|
+
"hooks": [
|
|
18
|
+
{
|
|
19
|
+
"type": "command",
|
|
20
|
+
"command": "bash -c 'if echo \"$CLAUDE_TOOL_INPUT\" | grep -qE \"0[0-8]_.*\\.md\"; then echo \"📋 Artifact created. Remember to update the tracker in README.md\"; fi; exit 0'"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"Notification": [
|
|
26
|
+
{
|
|
27
|
+
"matcher": "",
|
|
28
|
+
"hooks": [
|
|
29
|
+
{
|
|
30
|
+
"type": "command",
|
|
31
|
+
"command": "echo '🔔 Task completed'"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
---
|
|
12
|
+
|
|
13
|
+
# Explore: Adaptive Task Clarification
|
|
14
|
+
|
|
15
|
+
Transform vague requests into crystal-clear, actionable task specifications through systematic Socratic questioning.
|
|
16
|
+
|
|
17
|
+
## Core Philosophy
|
|
18
|
+
|
|
19
|
+
**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.
|
|
20
|
+
|
|
21
|
+
Key principles:
|
|
22
|
+
- Questions unlock understanding; answers often hide assumptions
|
|
23
|
+
- The stated goal is rarely the real goal
|
|
24
|
+
- Constraints reveal opportunities
|
|
25
|
+
- Success criteria prevent scope creep
|
|
26
|
+
|
|
27
|
+
## Task Classification
|
|
28
|
+
|
|
29
|
+
Before asking questions, classify the task type to select appropriate exploration dimensions:
|
|
30
|
+
|
|
31
|
+
| Task Type | Indicators | Primary Dimensions |
|
|
32
|
+
|-----------|------------|-------------------|
|
|
33
|
+
| **Product/Feature** | "build", "create app", "develop" | Outcome, Users, Constraints, Success |
|
|
34
|
+
| **Problem Solving** | "fix", "solve", "issue with" | Root Cause, Constraints, Attempted Solutions |
|
|
35
|
+
| **Decision Making** | "should I", "choose between", "evaluate" | Criteria, Tradeoffs, Timeline, Reversibility |
|
|
36
|
+
| **Creative** | "write", "design", "make content" | Audience, Tone, Format, Examples |
|
|
37
|
+
| **Research** | "find out", "analyze", "understand" | Scope, Depth, Sources, Deliverable |
|
|
38
|
+
| **Process/Workflow** | "how to", "improve process" | Current State, Desired State, Blockers |
|
|
39
|
+
|
|
40
|
+
## Exploration Dimensions
|
|
41
|
+
|
|
42
|
+
Select 3-5 dimensions based on task type. Each dimension has multiple question variants—choose the most natural for context.
|
|
43
|
+
|
|
44
|
+
### 1. The Real Objective
|
|
45
|
+
Uncover what success truly looks like, beyond the stated request.
|
|
46
|
+
|
|
47
|
+
**Questions:**
|
|
48
|
+
- "If this worked perfectly, what would be different in your [work/life/business]?"
|
|
49
|
+
- "What outcome would make you say 'this was absolutely worth it'?"
|
|
50
|
+
- "Is this goal a means to something else, or the end itself?"
|
|
51
|
+
- "If you could wave a magic wand and have any result, what would you choose?"
|
|
52
|
+
|
|
53
|
+
**Red flags to probe:** Generic goals ("make it better"), proxy metrics, solutions presented as requirements.
|
|
54
|
+
|
|
55
|
+
### 2. Constraints & Boundaries
|
|
56
|
+
Identify hard limits that shape the solution space.
|
|
57
|
+
|
|
58
|
+
**Questions:**
|
|
59
|
+
- "What's absolutely off the table—budget, time, technology, or approach-wise?"
|
|
60
|
+
- "What existing systems, processes, or decisions must this work with?"
|
|
61
|
+
- "Who needs to approve this, and what are their non-negotiables?"
|
|
62
|
+
- "What would disqualify a solution, even if it technically works?"
|
|
63
|
+
|
|
64
|
+
**Red flags to probe:** No constraints mentioned (usually means hidden ones), unrealistic expectations.
|
|
65
|
+
|
|
66
|
+
### 3. Available Resources
|
|
67
|
+
Understand leverage points and existing assets.
|
|
68
|
+
|
|
69
|
+
**Questions:**
|
|
70
|
+
- "What do you already have that we could build on—data, tools, people, prior work?"
|
|
71
|
+
- "Who else is involved, and what can they contribute?"
|
|
72
|
+
- "What similar problems have you solved before, and what worked?"
|
|
73
|
+
- "What's your actual capacity to implement this?"
|
|
74
|
+
|
|
75
|
+
**Red flags to probe:** Overestimated capabilities, unacknowledged dependencies.
|
|
76
|
+
|
|
77
|
+
### 4. Timeline & Urgency
|
|
78
|
+
Distinguish real deadlines from arbitrary ones.
|
|
79
|
+
|
|
80
|
+
**Questions:**
|
|
81
|
+
- "What happens if this takes 2x longer than expected?"
|
|
82
|
+
- "Is there a hard deadline, and what's driving it?"
|
|
83
|
+
- "Would you prefer a quick 80% solution or a slower 100% solution?"
|
|
84
|
+
- "What's the cost of delay vs. the cost of getting it wrong?"
|
|
85
|
+
|
|
86
|
+
**Red flags to probe:** Artificial urgency, no clear driver for deadline.
|
|
87
|
+
|
|
88
|
+
### 5. Success Criteria
|
|
89
|
+
Define what "done" actually means.
|
|
90
|
+
|
|
91
|
+
**Questions:**
|
|
92
|
+
- "How will you know this is successful? What will you measure?"
|
|
93
|
+
- "Who decides if this is good enough, and what will they look for?"
|
|
94
|
+
- "What's the minimum viable outcome that would still be valuable?"
|
|
95
|
+
- "In 6 months, what would make you regret the approach we took?"
|
|
96
|
+
|
|
97
|
+
**Red flags to probe:** Vague criteria ("stakeholders will be happy"), moving targets.
|
|
98
|
+
|
|
99
|
+
### 6. Attempted Solutions (for problems)
|
|
100
|
+
Learn from what hasn't worked.
|
|
101
|
+
|
|
102
|
+
**Questions:**
|
|
103
|
+
- "What have you already tried, and why didn't it work?"
|
|
104
|
+
- "What solutions have you considered but rejected?"
|
|
105
|
+
- "What would the obvious solution be, and why isn't that good enough?"
|
|
106
|
+
|
|
107
|
+
### 7. Audience & Stakeholders (for products/content)
|
|
108
|
+
Understand who this serves.
|
|
109
|
+
|
|
110
|
+
**Questions:**
|
|
111
|
+
- "Who specifically will use this, and what's their context when they do?"
|
|
112
|
+
- "What does your audience already know or believe about this?"
|
|
113
|
+
- "Who might be negatively affected, and does that matter?"
|
|
114
|
+
|
|
115
|
+
## Execution Protocol
|
|
116
|
+
|
|
117
|
+
### Phase 1: Initial Assessment (1 turn)
|
|
118
|
+
|
|
119
|
+
1. Parse the user's request
|
|
120
|
+
2. Identify what's already clear from context
|
|
121
|
+
3. Classify task type
|
|
122
|
+
4. Select 3-5 most critical dimensions
|
|
123
|
+
5. Note any immediate red flags or assumptions
|
|
124
|
+
|
|
125
|
+
### Phase 2: Adaptive Questioning (3-7 turns)
|
|
126
|
+
|
|
127
|
+
**Rules:**
|
|
128
|
+
- Ask ONE question at a time
|
|
129
|
+
- Make questions specific and decision-shaping, not generic
|
|
130
|
+
- Challenge vague answers: "Can you be more specific about...?"
|
|
131
|
+
- Acknowledge answers before next question
|
|
132
|
+
- Skip dimensions already clarified
|
|
133
|
+
- Stop when you have enough to create a clear brief
|
|
134
|
+
|
|
135
|
+
**Question Sequencing:**
|
|
136
|
+
1. Start with Real Objective (reveals the most)
|
|
137
|
+
2. Follow with Constraints (narrows solution space)
|
|
138
|
+
3. Then Success Criteria (defines done)
|
|
139
|
+
4. Fill gaps with other dimensions as needed
|
|
140
|
+
|
|
141
|
+
**Adaptive behavior:**
|
|
142
|
+
- If user gives detailed answer → compress follow-ups
|
|
143
|
+
- If user seems frustrated → summarize and ask if they want to continue
|
|
144
|
+
- If contradiction detected → gently probe: "Earlier you mentioned X, but now Y—help me understand?"
|
|
145
|
+
|
|
146
|
+
### Phase 3: Task Brief Synthesis (1 turn)
|
|
147
|
+
|
|
148
|
+
After sufficient exploration, synthesize into a **Task Brief**:
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
## Task Brief
|
|
152
|
+
|
|
153
|
+
**Objective:** [Clear statement of what we're actually solving]
|
|
154
|
+
|
|
155
|
+
**Context:** [Relevant background and constraints]
|
|
156
|
+
|
|
157
|
+
**Success Criteria:**
|
|
158
|
+
- [Measurable criterion 1]
|
|
159
|
+
- [Measurable criterion 2]
|
|
160
|
+
|
|
161
|
+
**Constraints:**
|
|
162
|
+
- [Hard constraint 1]
|
|
163
|
+
- [Hard constraint 2]
|
|
164
|
+
|
|
165
|
+
**Resources Available:** [What we can leverage]
|
|
166
|
+
|
|
167
|
+
**Timeline:** [Deadline and urgency level]
|
|
168
|
+
|
|
169
|
+
**Key Assumptions:** [Things we're assuming that could change the approach]
|
|
170
|
+
|
|
171
|
+
**Out of Scope:** [Explicitly excluded items]
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Ask user: "Does this capture what you need? Anything to add or correct?"
|
|
175
|
+
|
|
176
|
+
### Phase 4: Handoff
|
|
177
|
+
|
|
178
|
+
Once validated, either:
|
|
179
|
+
- Proceed to solution (if user wants immediate help)
|
|
180
|
+
- Export brief for later use
|
|
181
|
+
- Suggest appropriate next steps/skills
|
|
182
|
+
|
|
183
|
+
## Anti-Patterns to Avoid
|
|
184
|
+
|
|
185
|
+
❌ **Interrogation mode:** Don't fire questions robotically
|
|
186
|
+
❌ **Assuming context:** Don't skip clarification because you "think" you understand
|
|
187
|
+
❌ **Premature solutions:** Don't hint at solutions before exploration is complete
|
|
188
|
+
❌ **Over-questioning:** Stop when you have enough clarity
|
|
189
|
+
❌ **Generic questions:** Each question should be tailored to this specific task
|
|
190
|
+
❌ **Ignoring signals:** If user provides info proactively, don't re-ask
|
|
191
|
+
|
|
192
|
+
## Example Flow
|
|
193
|
+
|
|
194
|
+
**User:** "I want to create a dashboard for my team"
|
|
195
|
+
|
|
196
|
+
**Claude (Phase 1 assessment):**
|
|
197
|
+
- Task type: Product/Feature
|
|
198
|
+
- Unclear: Who uses it, what data, what decisions it enables, timeline
|
|
199
|
+
- Dimensions needed: Real Objective, Audience, Constraints, Success Criteria
|
|
200
|
+
|
|
201
|
+
**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?"
|
|
202
|
+
|
|
203
|
+
*[User answers about tracking project delays]*
|
|
204
|
+
|
|
205
|
+
**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?"
|
|
206
|
+
|
|
207
|
+
*[Continues adaptively based on answers...]*
|
|
208
|
+
|
|
209
|
+
## Integration Notes
|
|
210
|
+
|
|
211
|
+
After exploration, this skill can hand off to:
|
|
212
|
+
- problem-solver-enhanced (for complex problems)
|
|
213
|
+
- goap-research (for research tasks)
|
|
214
|
+
- frontend-design (for UI/product tasks)
|
|
215
|
+
- 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
|