@codihaus/claude-skills 1.6.23 → 1.6.25

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codihaus/claude-skills",
3
- "version": "1.6.23",
3
+ "version": "1.6.25",
4
4
  "description": "Claude Code skills for software development workflow",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: debrief
3
3
  description: Customer requirements → market-validated BRD with tiered features
4
- version: 4.1.0
4
+ version: 5.0.0
5
5
  ---
6
6
 
7
7
  # /debrief - Business Requirements Document
@@ -51,51 +51,53 @@ version: 4.1.0
51
51
 
52
52
  ## Key Principles
53
53
 
54
- ### 1. Comparison-First Discovery
54
+ ### 1. Default Output: Questionnaire Only
55
55
 
56
- **Don't** scan competitors one-by-one.
57
- **Do** use comparison/alternative pages first:
58
- - `"{category} comparison"` → feature matrices from 10+ competitors
59
- - `"best {category} alternatives"` → what features matter
60
- - `"{competitor A} vs {competitor B}"` → deal-breaker features
56
+ **ALWAYS output**: Summary + Questionnaire (3 sheets Excel)
57
+ **NEVER auto-create**: BRD files, use cases, feature folders
61
58
 
62
- Then deep revalidation per feature (ecosystem, user signals).
59
+ **BRD creation only via**:
60
+ - `--answers questionnaire.xlsx` (after customer fills it)
61
+ - `--generate-brd questionnaire.xlsx` (from existing research)
63
62
 
64
- ### 2. Always Generate Questionnaire
63
+ **Why**: User reviews research first, validates with customer, then creates BRD.
65
64
 
66
- Include both:
67
- - **Validation questions**: "We found 9/10 competitors offer SSO. Confirm this is needed?"
68
- - **Open questions**: "What's max team size per account?"
65
+ ### 2. Business Focus ONLY
69
66
 
70
- Customer validates assumptions + fills gaps.
67
+ **Do**:
68
+ - WHAT features users need (login, checkout, reports)
69
+ - WHY they need it (business value, user goal)
70
+ - WHEN it's needed (MVP, Standard, Advanced)
71
71
 
72
- ### 3. Scope-Based Organization
72
+ **Never do**:
73
+ - HOW to code it (files, functions, APIs)
74
+ - WHICH technology (React, Vue, database)
75
+ - WHERE to put code (components, services)
73
76
 
74
- **Project-wide** (brd/references.md):
75
- - Industry landscape
76
- - Compliance (GDPR, PCI)
77
- - Competitor company profiles
77
+ **This is NOT dev-specs**. Stay business level. No technical suggestions.
78
78
 
79
- **Feature-specific** (features/{name}/references.md):
80
- - Market research for THIS feature
81
- - Tier validation evidence (MVP/Standard/Advanced)
82
- - Sequenced features with dependencies
79
+ **If you mention files, code, APIs, or tech → YOU ARE DOING IT WRONG.**
83
80
 
84
- ### 4. Lean Use Cases (80/20)
81
+ ### 3. Deep Research (Always)
85
82
 
86
- **Include (20%)**:
87
- - Story (1 line)
88
- - Critical acceptance criteria (3-5 bullets)
89
- - Key business rules (constraints, limits)
90
- - Open questions
83
+ **Always thorough**:
84
+ - Comparison pages (feature matrix)
85
+ - Ecosystems (Chrome, WordPress, GitHub)
86
+ - User signals (Reddit, reviews, forums)
87
+ - Full evidence per feature
91
88
 
92
- **Defer to /dev-specs (80%)**:
93
- - Detailed flows
94
- - Integration points
95
- - Edge cases
96
- - UI/UX details
89
+ No quick mode. Always deep.
97
90
 
98
- Keep use cases ~30 lines max. Business stakeholders scan in 30 seconds.
91
+ ### 4. Questionnaire = Decision Tool
92
+
93
+ **3 sheets with evidence**:
94
+ - Summary (features count, tier breakdown, research stats)
95
+ - Questions (validation + open)
96
+ - References (URLs, evidence per feature)
97
+
98
+ **Purpose**: User reviews evidence, makes decisions, validates with customer.
99
+
100
+ Then create BRD via `--answers` or `--generate-brd`.
99
101
 
100
102
  ---
101
103
 
@@ -112,11 +114,11 @@ Keep use cases ~30 lines max. Business stakeholders scan in 30 seconds.
112
114
 
113
115
  ---
114
116
 
115
- ## Market Research
117
+ ## Market Research (Always Deep)
116
118
 
117
- **See** `references/market-research-methodology.md`.
119
+ **See** `references/research.md`.
118
120
 
119
- **Sources**: Competitors, ecosystems (Chrome, WordPress, GitHub, etc.), user signals (Reddit, reviews).
121
+ **Always deep**: Comparison + ecosystems + user signals + full evidence.
120
122
 
121
123
  **Tiers**:
122
124
  - **MVP**: 80%+ competitors, free tier, high demand
@@ -2,9 +2,9 @@
2
2
 
3
3
  **Mindset**: Business analyst. Focus on WHAT and WHY, defer HOW to /dev-specs.
4
4
 
5
- **Methodology**: Mode detection → Context gathering → Research Document → Questionnaire
5
+ **Methodology**: Mode detection → Context gathering → Research (deep) → Questionnaire
6
6
 
7
- **Expected Outcome**: Market-validated BRD with tiered features, lean use cases, customer questionnaire.
7
+ **Expected Outcome**: Questionnaire with deep research evidence (Summary + Questions + References).
8
8
 
9
9
  ---
10
10
 
@@ -32,13 +32,17 @@
32
32
 
33
33
  ### Context Gathering
34
34
 
35
- **Ask 6 questions** (AskUserQuestion):
35
+ **Check for existing questionnaire**:
36
+ - If found: Ask "Found existing research. Use it or start fresh?"
37
+ - Reuse → Switch to Generate BRD mode
38
+ - Fresh → Continue with new research
39
+
40
+ **Ask 5 questions** (AskUserQuestion):
36
41
  1. Project type (new/existing codebase)
37
42
  2. Industry (SaaS/E-commerce/Marketplace/etc.)
38
43
  3. Target users (B2B/B2C/Internal)
39
44
  4. Constraints (timeline/budget/compliance/integrations)
40
45
  5. Scope tier (Core/Standard/Full)
41
- 6. Research depth (Quick 5min / Deep 15-20min)
42
46
 
43
47
  **If existing codebase**: Scan for docs + features (Glob, Read)
44
48
 
@@ -46,110 +50,48 @@
46
50
 
47
51
  ---
48
52
 
49
- ### Market Research
53
+ ### Market Research (Always Deep)
50
54
 
51
55
  **Methodology**: See `research.md` for full process.
52
56
 
53
- **Quick** (5 min):
54
- - Find 2-3 comparison/alternative pages
55
- - Extract feature matrix
56
- - Initial tier hypothesis
57
-
58
- **Deep** (15-20 min):
59
- - Comparison pages (initial)
60
- - Cross-validate with ecosystem + user signals
61
- - Full tier classification with evidence
62
-
63
- **After research, ask output preference**:
64
- - Summary + Questionnaire (review first)
65
- - Full BRD (write all files now)
57
+ **Deep research** (always):
58
+ 1. Comparison pages (feature matrix extraction)
59
+ 2. Ecosystems (Chrome, WordPress, GitHub, etc.)
60
+ 3. User signals (Reddit, reviews, forums)
61
+ 4. Full tier classification with evidence
66
62
 
67
63
  **Output**: Features with tier classification and evidence
68
64
 
69
65
  ---
70
66
 
71
- ### Feature Sequencing
72
-
73
- **Principle**: Order by dependencies within each tier.
74
-
75
- **Common patterns**:
76
- - Create before operate (signup before login)
77
- - Auth before features (login before projects)
78
- - Basic before advanced (CRUD before bulk operations)
79
- - Data before analytics (tracking before dashboards)
80
- - Core before extensions (email before templates)
67
+ ### Generate Questionnaire (ALWAYS)
81
68
 
82
- **Validation**: No forward dependencies (UC-001 doesn't depend on UC-002)
83
-
84
- **Output**: Sequenced feature list (UC-001, UC-002, UC-003...)
85
-
86
- ---
87
-
88
- ### Use Case Generation
89
-
90
- **Principle**: Lean 80/20 format (~30 lines).
91
-
92
- **Include (20%)**:
93
- - Story (1 line)
94
- - Critical acceptance criteria (3-5 bullets)
95
- - Key business rules (constraints, limits)
96
- - Open questions (blockers)
97
-
98
- **Defer to /dev-specs (80%)**:
99
- - Detailed flows, integrations, edge cases, UI/UX
100
-
101
- **Template**: `templates/use-case.md`
102
-
103
- **Output**: Lean use cases in `brd/use-cases/{feature}/UC-{GROUP}-{NNN}-{slug}.md`
104
-
105
- ---
106
-
107
- ### BRD Structure
108
-
109
- **Project-wide** (`brd/`):
110
- - README.md (all features index)
111
- - context.md (stakeholders, users, constraints)
112
- - references.md (industry, compliance, competitor overview)
113
- - changelog.md
114
-
115
- **Feature-specific** (`features/{feature}/`):
116
- - README.md (feature overview)
117
- - references.md (market research, tier evidence)
118
- - questionnaire-{date}.xlsx
119
-
120
- **Templates**: `templates/brd-references.md`, `templates/feature-references.md`
121
-
122
- **Output**: Organized BRD structure with scope separation
123
-
124
- ---
125
-
126
- ### Questionnaire
127
-
128
- **Principle**: Always generate. Validate assumptions + fill gaps.
69
+ **Principle**: Default output. No BRD files created yet.
129
70
 
130
71
  **3 sheets**:
131
72
  - **Summary**: Feature count, tier distribution, research stats
132
73
  - **Questions**: Validation + open questions
133
74
  - **References**: URLs by feature (comparison pages, reviews, ecosystems)
134
75
 
135
- **Output**: `features/{feature}/questionnaire-{date}.xlsx` (permanent reference)
76
+ **Output**: `questionnaire-{date}.xlsx` in current directory
77
+
78
+ **NO BRD files created**. User reviews questionnaire first.
136
79
 
137
80
  ---
138
81
 
139
- ### Summary
82
+ ### Summary Output
140
83
 
141
84
  **Provide**:
142
- - Files created (brd/, features/)
143
- - Use case count (lean format)
144
85
  - Research summary (comparison pages, evidence sources)
145
86
  - Tier distribution (MVP: X, Standard: Y, Advanced: Z)
146
- - Questionnaire location and question count
87
+ - Questionnaire location: `questionnaire-{date}.xlsx`
88
+ - Question count (validation + open)
147
89
 
148
90
  **Next steps**:
149
- - Review BRD with stakeholders
150
- - Send questionnaire to customer
151
- - Process with `/debrief --answers {path}`
152
- - Then `/dev-specs {feature}` for implementation
91
+ 1. Review questionnaire
92
+ 2. Send to customer for answers
93
+ 3. After answers: `/debrief --answers questionnaire-{date}.xlsx`
94
+ 4. BRD will be created from answers
153
95
 
154
96
  ---
155
97
 
@@ -161,10 +103,9 @@
161
103
 
162
104
  ### Context Gathering
163
105
 
164
- **Ask 3 questions**:
106
+ **Ask 2 questions**:
165
107
  1. Feature name
166
108
  2. Scope tier (Core/Standard/Full)
167
- 3. Research depth (Quick / Deep)
168
109
 
169
110
  **Duplicate check**: Read `docs-graph.json` if exists, warn if similar feature found
170
111
 
@@ -172,49 +113,94 @@
172
113
 
173
114
  ---
174
115
 
175
- ### Research & Document
116
+ ### Research & Generate Questionnaire
176
117
 
177
118
  **Same as New Project**:
178
119
  - Market research (comparison-first, see `research.md`)
179
- - Feature sequencing (dependencies)
180
- - Lean use cases (templates/use-case.md)
120
+ - Generate questionnaire (validation + open questions)
181
121
 
182
- **Update**:
183
- - `brd/README.md` (add to index)
184
- - `brd/changelog.md` (log addition)
185
- - Create `features/{feature}/` folder
122
+ **Output**: `features/{feature}/questionnaire-{date}.xlsx`
186
123
 
187
- **Questionnaire**: Always generate (validation + open questions)
188
-
189
- **Output**: Feature added to BRD with research and questionnaire
124
+ **NO BRD files created**. User reviews questionnaire, gets answers, then runs `--answers`.
190
125
 
191
126
  ---
192
127
 
193
128
  ## Process Answers Mode
194
129
 
195
- **Goal**: Update BRD with customer responses.
130
+ **Goal**: Create BRD from customer-answered questionnaire.
196
131
 
197
- **Mindset**: Integration mode. Incorporate feedback, resolve gaps.
132
+ **Mindset**: BRD creation mode. Customer validated research, now create structure.
198
133
 
199
- ### Process
134
+ ### Read Questionnaire
200
135
 
201
136
  **Read questionnaire** (Excel file):
202
- - Extract answers from "Answer" column
203
- - Match to source use cases via "Context/Source"
137
+ - Summary sheet (features, tiers, research)
138
+ - Questions sheet (customer answers)
139
+ - References sheet (source URLs)
140
+
141
+ ---
142
+
143
+ ### Feature Sequencing
144
+
145
+ **Principle**: Order by dependencies within each tier.
146
+
147
+ **Common patterns**:
148
+ - Create before operate (signup before login)
149
+ - Auth before features (login before projects)
150
+ - Basic before advanced (CRUD before bulk operations)
151
+ - Data before analytics (tracking before dashboards)
152
+ - Core before extensions (email before templates)
153
+
154
+ **Validation**: No forward dependencies (UC-001 doesn't depend on UC-002)
155
+
156
+ **Output**: Sequenced feature list (UC-001, UC-002, UC-003...)
157
+
158
+ ---
159
+
160
+ ### Use Case Generation
161
+
162
+ **Principle**: Lean 80/20 format (~30 lines).
204
163
 
205
- **Update use cases**:
206
- - Remove questions from "Open Questions" section
207
- - Add answers to relevant sections (Acceptance Criteria, Business Rules)
164
+ **Include (20%)**:
165
+ - Story (1 line)
166
+ - Critical acceptance criteria (3-5 bullets)
167
+ - Key business rules (constraints, limits)
168
+ - Open questions (blockers)
169
+
170
+ **Defer to /dev-specs (80%)**:
171
+ - Detailed flows, integrations, edge cases, UI/UX
172
+
173
+ **Template**: `templates/use-case.md`
174
+
175
+ **Incorporate customer answers**:
176
+ - Update use cases with answers from questionnaire
177
+ - Remove answered questions from "Open Questions"
178
+ - Keep unanswered questions
179
+
180
+ **Output**: Lean use cases in `brd/use-cases/{feature}/UC-{GROUP}-{NNN}-{slug}.md`
208
181
 
209
- **Update feature README**:
210
- - Log questionnaire as processed
211
- - Track history
182
+ ---
183
+
184
+ ### BRD Structure Creation
185
+
186
+ **Create project-wide** (`brd/`):
187
+ - README.md (all features index)
188
+ - context.md (stakeholders, users, constraints)
189
+ - references.md (industry, compliance, competitor overview)
190
+ - changelog.md
191
+
192
+ **Create feature-specific** (`features/{feature}/`):
193
+ - README.md (feature overview)
194
+ - references.md (market research, tier evidence from questionnaire)
195
+ - Move questionnaire here if not already
196
+
197
+ **Templates**: `templates/brd-references.md`, `templates/feature-references.md`
212
198
 
213
199
  **Check completeness**:
214
- - If gaps remain → generate new questionnaire (new date)
215
- - If complete → update UC status to "Confirmed"
200
+ - If gaps remain → note in use cases
201
+ - If complete → mark UC status "Confirmed"
216
202
 
217
- **Output**: Updated use cases, questionnaire history, completion status
203
+ **Output**: Full BRD structure + use cases
218
204
 
219
205
  ---
220
206
 
@@ -247,11 +233,21 @@
247
233
 
248
234
  ### Process
249
235
 
250
- **Read questionnaire**:
251
- - Summary sheet (features, tiers, research stats)
252
- - References sheet (source URLs)
253
-
254
- **Generate**: Full BRD structure from existing research (no re-research)
236
+ **Check questionnaire validity**:
237
+ - Ask: "Found existing research in questionnaire. Use it or start fresh?"
238
+ - Reuse (generate from questionnaire)
239
+ - Fresh (ignore questionnaire, do new research)
240
+
241
+ **If reuse**:
242
+ - Execute same process as Process Answers mode
243
+ - Read questionnaire sheets
244
+ - Sequence features
245
+ - Generate use cases
246
+ - Create BRD structure
247
+
248
+ **If fresh**:
249
+ - Ignore questionnaire
250
+ - Run full research flow (New Project or Add Feature mode)
255
251
 
256
252
  **Output**: BRD files + feature folders
257
253