@codihaus/claude-skills 1.6.21 → 1.6.22

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.
@@ -0,0 +1,135 @@
1
+ # Reference Codes
2
+
3
+ Quick reference for use case naming and codebase discovery.
4
+
5
+ ---
6
+
7
+ ## Use Case Group Codes
8
+
9
+ Standard codes for `UC-{GROUP}-{NNN}-{slug}.md` naming.
10
+
11
+ | Code | Domain | Examples |
12
+ |------|--------|----------|
13
+ | **AUTH** | Authentication | Login, logout, password reset, SSO |
14
+ | **USER** | User Management | Registration, profile, settings |
15
+ | **PAY** | Payments | Checkout, refunds, payment methods |
16
+ | **SUB** | Subscriptions | Plans, upgrades, cancellation |
17
+ | **BILL** | Billing | Invoices, receipts, statements |
18
+ | **NOTIF** | Notifications | Email, push, in-app alerts |
19
+ | **ADMIN** | Administration | Dashboard, settings, config |
20
+ | **RPT** | Reporting | Analytics, exports, dashboards |
21
+ | **INTG** | Integrations | API, webhooks, third-party |
22
+ | **SRCH** | Search | Search, filters, browse |
23
+ | **INV** | Inventory | Stock, catalog, products |
24
+ | **ORD** | Orders | Cart, checkout, order history |
25
+ | **SHIP** | Shipping | Delivery, tracking, returns |
26
+ | **MSG** | Messaging | Chat, comments, threads |
27
+ | **FILE** | Files | Upload, storage, sharing |
28
+ | **TEAM** | Teams | Organizations, roles, permissions |
29
+ | **ONBD** | Onboarding | Setup, tutorials, first-run |
30
+ | **SUPP** | Support | Help, tickets, FAQ |
31
+
32
+ **Custom codes**: Define project-specific codes in BRD README (3-5 chars, obvious meaning).
33
+
34
+ **Principle**: Group by user intent, not implementation (PAY not STRIPE, USER not DATABASE).
35
+
36
+ ---
37
+
38
+ ## Codebase Discovery Patterns
39
+
40
+ For existing codebase scanning (detect features and tech stack).
41
+
42
+ ### Frontend File Patterns
43
+
44
+ **Include**:
45
+ ```
46
+ **/*.vue # Vue.js
47
+ **/*.tsx, **/*.jsx # React / Next.js
48
+ **/pages/**/* # Routes
49
+ **/app/**/page.tsx # Next.js App Router
50
+ **/*.svelte # Svelte
51
+ **/*.component.ts # Angular
52
+ ```
53
+
54
+ **Exclude**:
55
+ ```
56
+ node_modules/**, dist/**, build/**, .next/**, .nuxt/**
57
+ *.min.js, *.bundle.js, *.chunk.js
58
+ **/*.test.*, **/*.spec.*, __tests__/**
59
+ ```
60
+
61
+ ---
62
+
63
+ ### Feature Inference from Files
64
+
65
+ Map file/folder names to features:
66
+
67
+ | Pattern | Feature |
68
+ |---------|---------|
69
+ | `auth/`, `login.*`, `signin.*` | Authentication |
70
+ | `user/`, `profile.*`, `account.*` | User Management |
71
+ | `dashboard.*` | Dashboard |
72
+ | `payment/`, `checkout.*`, `billing.*` | Payments |
73
+ | `subscription/`, `plans.*` | Subscriptions |
74
+ | `admin/` | Admin Panel |
75
+ | `notification/`, `alerts/` | Notifications |
76
+ | `search.*` | Search |
77
+ | `cart.*`, `basket.*` | Shopping Cart |
78
+ | `order/`, `orders/` | Orders |
79
+ | `product/`, `catalog/` | Products |
80
+ | `message/`, `chat/`, `inbox/` | Messaging |
81
+ | `report/`, `analytics/` | Reporting |
82
+ | `upload/`, `files/`, `media/` | File Management |
83
+ | `team/`, `organization/` | Team Management |
84
+ | `onboarding/`, `wizard/`, `setup/` | Onboarding |
85
+ | `help/`, `support/`, `faq/` | Help/Support |
86
+
87
+ ---
88
+
89
+ ### Tech Stack Detection
90
+
91
+ **Package files**:
92
+ ```
93
+ package.json → Node.js / JavaScript
94
+ requirements.txt → Python
95
+ Gemfile → Ruby
96
+ go.mod → Go
97
+ Cargo.toml → Rust
98
+ composer.json → PHP
99
+ ```
100
+
101
+ **Framework detection** (from package.json dependencies):
102
+ - `next` → Next.js
103
+ - `nuxt` → Nuxt.js
104
+ - `vue` → Vue.js
105
+ - `react` → React
106
+ - `@angular/core` → Angular
107
+ - `svelte` → Svelte
108
+ - `express` → Express.js
109
+ - `nestjs` → NestJS
110
+
111
+ ---
112
+
113
+ ### Documentation Patterns
114
+
115
+ Look for existing docs:
116
+ ```
117
+ README.md, CLAUDE.md, CONTRIBUTING.md
118
+ docs/**/*.md
119
+ plans/**/*.md
120
+ specifications/**/*.md
121
+ .github/**/*.md
122
+ ```
123
+
124
+ ---
125
+
126
+ ## Discovery Strategy
127
+
128
+ **For existing codebase**:
129
+ 1. Find package.json → Detect framework
130
+ 2. Glob frontend files → List pages/components
131
+ 3. Match patterns → Infer features
132
+ 4. Read docs (README, CLAUDE.md)
133
+ 5. Summarize in context.md
134
+
135
+ **Output**: Features table with status (exists/missing), tech stack summary
@@ -0,0 +1,227 @@
1
+ # Market Research Guide
2
+
3
+ **Mindset**: Evidence-based validation. Features classified by market standards, not personal judgment.
4
+
5
+ **Methodology**: Comparison-first → Deep validation → Tier classification
6
+
7
+ **Expected Outcome**: Features with tier (MVP/Standard/Advanced) backed by evidence (competitor presence, user demand, ecosystem signals).
8
+
9
+ ---
10
+
11
+ ## Quick Start (20%)
12
+
13
+ ### Comparison-First Approach
14
+
15
+ **Start here** - one comparison page = 10 competitors analyzed:
16
+
17
+ ```
18
+ "{category} comparison 2026"
19
+ "best {category} alternatives 2026"
20
+ "{product A} vs {product B} vs {product C}"
21
+ ```
22
+
23
+ **Extract**:
24
+ - Feature matrix (what features competitors have)
25
+ - "Must-have" vs "nice-to-have" language
26
+ - Deal-breaker features
27
+ - Tier hints (free/pro/enterprise)
28
+
29
+ **Result**: Feature list with initial tier hypothesis in 5 minutes.
30
+
31
+ ---
32
+
33
+ ### Tier Classification
34
+
35
+ **MVP** (80%+ competitors, high demand):
36
+ - Present in 8+ out of 10 competitors
37
+ - Free tier placement
38
+ - User complaints when missing
39
+ - "Must-have" in comparisons
40
+
41
+ **Standard** (60-80% competitors, expected):
42
+ - Present in 6-8 out of 10 competitors
43
+ - Pro tier placement
44
+ - Expected by users, not differentiating
45
+ - Competitive parity
46
+
47
+ **Advanced** (<60% competitors, differentiator):
48
+ - Present in <6 out of 10 competitors
49
+ - Enterprise tier exclusive
50
+ - "Wow factor" in reviews
51
+ - Sets top products apart
52
+
53
+ ---
54
+
55
+ ### Evidence Format
56
+
57
+ Per feature, collect:
58
+ - **Competitor presence**: X/10 have it (%)
59
+ - **Tier placement**: Free/Pro/Enterprise
60
+ - **User demand**: Quote or stat
61
+ - **Ecosystem signal**: Extensions, plugins, GitHub reactions
62
+
63
+ **Confidence levels**:
64
+ - High: 5+ sources, clear consensus
65
+ - Medium: 2-4 sources, mostly aligned
66
+ - Low: 1 source or conflicting → questionnaire
67
+
68
+ ---
69
+
70
+ ## Validation Sources (20%)
71
+
72
+ ### Comparison & Alternatives (Primary)
73
+
74
+ **Why primary**: One page covers 5-10 competitors with feature matrices.
75
+
76
+ **Where**:
77
+ - Generic: Google "{category} comparison"
78
+ - Curated: AlternativeTo, G2 Alternatives, SaaSHub, Slant
79
+
80
+ **Look for**:
81
+ - Feature comparison tables
82
+ - "Why users switch" sections
83
+ - Deal-breaker features
84
+
85
+ ---
86
+
87
+ ### Ecosystems (Gap Analysis)
88
+
89
+ **Chrome Extensions**: `"{category} chrome extension"` → what users add
90
+ **WordPress Plugins**: `site:wordpress.org/plugins "{feature}"` → active installs
91
+ **Shopify Apps**: `site:apps.shopify.com "{category}"` → store count
92
+ **GitHub Issues**: `"{category} open source" site:github.com` → feature requests with reactions
93
+
94
+ **Signal**: Popular extensions/plugins = feature gap in core products
95
+
96
+ ---
97
+
98
+ ### User Signals (Validation)
99
+
100
+ **Reddit**: `"{feature}" site:reddit.com/r/{subreddit}` → what users request
101
+ **Reviews**: `"{product}" site:g2.com` → feature mentions in pros/cons
102
+ **Forums**: Indie Hackers, Hacker News, Product Hunt → discussions
103
+
104
+ **Signal**: User complaints, requests, praise patterns
105
+
106
+ ---
107
+
108
+ ### Competitor Direct (Context)
109
+
110
+ **Product pages**: Feature lists, value props
111
+ **Pricing pages**: Tier placement (free/pro/enterprise)
112
+ **Google Business**: User reviews mentioning features
113
+
114
+ **Signal**: Market positioning, feature bundling
115
+
116
+ ---
117
+
118
+ ## Research by Domain (80% - optional)
119
+
120
+ ### SaaS B2B
121
+ **Focus**: G2, Capterra, GitHub, Chrome extensions
122
+ **Key features**: SSO, team management, integrations, analytics
123
+
124
+ ### E-commerce
125
+ **Focus**: Shopify Apps, WooCommerce plugins, Trustpilot
126
+ **Key features**: Payment gateways, shipping, inventory, mobile
127
+
128
+ ### Marketplace
129
+ **Focus**: Product Hunt, Reddit startups, app marketplaces
130
+ **Key features**: Buyer/seller features, trust & safety, payments
131
+
132
+ ### Developer Tools
133
+ **Focus**: GitHub (primary), Hacker News, Stack Overflow
134
+ **Key features**: API design, CLI, integrations, documentation
135
+
136
+ ---
137
+
138
+ ## Methodology
139
+
140
+ ### Phase 1: Comparison Scan (5 min)
141
+
142
+ **Goal**: Extract feature matrix from comparison pages.
143
+
144
+ **Approach**:
145
+ - Find 2-3 comparison/alternative pages
146
+ - Extract features mentioned
147
+ - Note universal vs premium features
148
+ - List competitor names
149
+
150
+ **Output**: Feature candidates with tier hints
151
+
152
+ ---
153
+
154
+ ### Phase 2: Deep Validation (5-10 min per feature)
155
+
156
+ **Goal**: Validate tier with evidence from multiple source types.
157
+
158
+ **Approach**: Cross-validate across source categories:
159
+ - Comparison pages (initial)
160
+ - Ecosystem (Chrome, WordPress, GitHub)
161
+ - User signals (Reddit, reviews)
162
+ - Competitor direct (pricing, features)
163
+
164
+ **Output**: Tier classification with evidence and sources
165
+
166
+ ---
167
+
168
+ ## Questionnaire Strategy
169
+
170
+ **Always generate questionnaire** with:
171
+
172
+ **Validation questions** (customer confirms research):
173
+ - "We found 9/10 competitors offer {feature}. Confirm you need this?"
174
+ - "Market shows {feature} is {tier}. Agree with priority?"
175
+
176
+ **Open questions** (genuine unknowns):
177
+ - Business rules needing clarification
178
+ - Integration requirements
179
+ - Constraints and limits
180
+
181
+ **Purpose**: Customer validates assumptions + fills gaps
182
+
183
+ ---
184
+
185
+ ## Common Patterns
186
+
187
+ **Feature presence** → Tier hypothesis:
188
+ - 100% presence → likely MVP
189
+ - 80%+ presence → MVP or Standard
190
+ - 60-80% presence → Standard
191
+ - <60% presence → Advanced
192
+
193
+ **Pricing placement** → Tier signal:
194
+ - Free tier → likely MVP
195
+ - Pro tier → likely Standard
196
+ - Enterprise only → likely Advanced
197
+
198
+ **User language** → Demand signal:
199
+ - "Can't use without" → MVP
200
+ - "Expected feature" → Standard
201
+ - "Wow, amazing" → Advanced
202
+
203
+ ---
204
+
205
+ ## Expected Output
206
+
207
+ Per feature:
208
+ ```
209
+ Feature: SSO Login
210
+ Tier: MVP
211
+ Why: 90% competitor presence (9/10), enterprise requirement
212
+
213
+ Evidence:
214
+ - Competitors: 9/10 have it (Competitor A, B, C...)
215
+ - Tier: Pro in 6/9, Free in 3/9
216
+ - User demand: "SSO is why we chose this tool" - G2 reviews
217
+ - GitHub: Issue #127 with 143 👍 reactions
218
+
219
+ Sources:
220
+ - [Comparison page](url)
221
+ - [G2 reviews](url)
222
+ - [GitHub issue](url)
223
+
224
+ Confidence: High
225
+ ```
226
+
227
+ Write to `features/{feature}/references.md` (feature-specific) or `brd/references.md` (project-wide).
@@ -0,0 +1,80 @@
1
+ # Project References (Project-Wide)
2
+
3
+ > **Scope**: Industry, compliance, competitor overview
4
+ > **Updated**: {YYYY-MM-DD}
5
+
6
+ ---
7
+
8
+ ## Industry Landscape
9
+
10
+ **Category**: {SaaS B2B / E-commerce / Marketplace / etc.}
11
+ **Market Size**: {if relevant}
12
+ **Key Players**: {Top 5 competitors}
13
+
14
+ **Industry Trends**:
15
+ - {Trend 1 impacting product features}
16
+ - {Trend 2 impacting product features}
17
+
18
+ ---
19
+
20
+ ## Compliance & Regulations
21
+
22
+ ### Required Compliance
23
+ | Requirement | Applies To | Reference |
24
+ |-------------|------------|-----------|
25
+ | GDPR | User data, EU users | [Guide](url) |
26
+ | PCI DSS | Payment processing | [Docs](url) |
27
+ | SOC 2 | Enterprise customers | [Info](url) |
28
+
29
+ ### Industry Standards
30
+ - {Standard 1 - why it matters}
31
+ - {Standard 2 - why it matters}
32
+
33
+ ---
34
+
35
+ ## Competitor Overview
36
+
37
+ ### Leading Competitors
38
+
39
+ **{Competitor A}**:
40
+ - Position: {Market leader / Mid-tier / Niche}
41
+ - Key differentiators: {What they're known for}
42
+ - Pricing model: {Freemium / Subscription / etc.}
43
+ - Link: [Website](url)
44
+
45
+ **{Competitor B}**:
46
+ - Position: {Position}
47
+ - Key differentiators: {Features}
48
+ - Pricing model: {Model}
49
+ - Link: [Website](url)
50
+
51
+ {Repeat for 3-5 competitors}
52
+
53
+ ---
54
+
55
+ ## Implementation Resources
56
+
57
+ > **For Engineers**: General documentation (feature-specific docs in feature folders)
58
+
59
+ ### Platform Documentation
60
+ | Technology | Link | Purpose |
61
+ |------------|------|---------|
62
+ | {Platform/Service} | [Docs](url) | {General purpose} |
63
+
64
+ ### Industry Examples
65
+ | Company | Link | What to Learn |
66
+ |---------|------|---------------|
67
+ | {Company} | [Example](url) | {General pattern} |
68
+
69
+ ---
70
+
71
+ ## Notes
72
+
73
+ **Project Goals**:
74
+ - {High-level goal 1}
75
+ - {High-level goal 2}
76
+
77
+ **Constraints**:
78
+ - {Project-wide constraint}
79
+
80
+ **See Feature Folders**: `plans/features/{name}/references.md` for feature-specific research
@@ -0,0 +1,98 @@
1
+ # {Feature Name} - Market Research
2
+
3
+ > **Feature**: {auth / billing / notifications / etc.}
4
+ > **Group Code**: {AUTH / PAY / NOTIF / etc.}
5
+ > **Research Date**: {YYYY-MM-DD}
6
+ > **Confidence**: High / Medium / Low
7
+
8
+ ---
9
+
10
+ ## Research Summary
11
+
12
+ **Competitors Analyzed**: {count} ({list names})
13
+ **Evidence Sources**: {count} sources
14
+ - Competitors: {count}
15
+ - Ecosystem: {count}
16
+ - User signals: {count}
17
+
18
+ **Tier Distribution**:
19
+ - MVP: {count} features
20
+ - Standard: {count} features
21
+ - Advanced: {count} features
22
+
23
+ ---
24
+
25
+ ## Features (Sequenced)
26
+
27
+ ### MVP (Must-Have)
28
+
29
+ #### 1. {Feature Name}
30
+
31
+ **Why MVP**: {1 sentence - e.g., "100% competitor presence, user complaint when missing"}
32
+
33
+ **Evidence**:
34
+ - Competitors: {X/Y} have it ({percentage}%)
35
+ - Tier: {Free/Pro/Enterprise} in {count} competitors
36
+ - User demand: "{Quote or stat}"
37
+ - Ecosystem: {Chrome extension data / GitHub reactions / etc.}
38
+
39
+ **Sources**:
40
+ - [Competitor A](url)
41
+ - [G2 Reviews](url)
42
+ - [Reddit Thread](url)
43
+
44
+ **Related UCs**: [[uc-xxx-001]], [[uc-xxx-002]]
45
+
46
+ ---
47
+
48
+ #### 2. {Feature Name}
49
+
50
+ **Why MVP**: {1 sentence}
51
+
52
+ **Evidence**:
53
+ - Competitors: {X/Y} ({percentage}%)
54
+ - Tier: {Placement}
55
+ - User demand: "{Quote/stat}"
56
+ - Ecosystem: {Data}
57
+
58
+ **Sources**:
59
+ - [Source 1](url)
60
+ - [Source 2](url)
61
+
62
+ **Depends On**: #1 (must create before validate)
63
+ **Related UCs**: [[uc-xxx-003]]
64
+
65
+ ---
66
+
67
+ ### Standard (Competitive Parity)
68
+
69
+ #### 3. {Feature Name}
70
+
71
+ {Same format as above}
72
+
73
+ ---
74
+
75
+ ### Advanced (Differentiation)
76
+
77
+ #### 4. {Feature Name}
78
+
79
+ {Same format as above}
80
+
81
+ ---
82
+
83
+ ## Implementation Resources
84
+
85
+ > **For Engineers**: Links specific to this feature
86
+
87
+ | Topic | Link | Purpose |
88
+ |-------|------|---------|
89
+ | {Service} {Feature} API | [Docs](url) | {Implementation} |
90
+
91
+ ---
92
+
93
+ ## Open Questions
94
+
95
+ - {Question requiring customer input}
96
+ - {Uncertainty needing validation}
97
+
98
+ **See**: `questionnaire-{date}.xlsx` for full questions
@@ -0,0 +1,31 @@
1
+ # UC-{GROUP}-{NNN}: {Title}
2
+
3
+ **Story**: As a {user type}, I want {goal}, so that {benefit}
4
+ **Tier**: MVP / Standard / Advanced
5
+ **Depends on**: [[uc-xxx-nnn]] (if applicable)
6
+
7
+ ---
8
+
9
+ ## Must Have
10
+
11
+ **Acceptance Criteria**:
12
+ - {Critical success condition 1}
13
+ - {Critical success condition 2}
14
+ - {Critical success condition 3}
15
+
16
+ **Business Rules**:
17
+ - {Key constraint or limit}
18
+ - {Required validation}
19
+ - {Business policy}
20
+
21
+ ---
22
+
23
+ ## Open Questions
24
+
25
+ - {Question for customer - impacts acceptance criteria}
26
+ - {Question for customer - impacts business rule}
27
+
28
+ ---
29
+
30
+ **Market Context**: {Brief evidence - e.g., "100% competitor presence, free tier"}
31
+ **Full details**: Run `/dev-specs {feature}` for implementation flows and technical details