specweave 0.3.12 → 0.3.13

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": "specweave",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Replace vibe coding with spec-driven development. Smart workflow: /specweave inc auto-closes previous, /specweave build auto-resumes, /specweave progress shows status. PM-led planning, 10 agents, 35+ skills. spec-weave.com",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: increment-planner
3
- description: Creates comprehensive implementation plans for SpecWeave increments (aka features - both terms are interchangeable). This skill should be used when planning new increments/features, creating specifications, or organizing implementation work. Activates for: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature.
3
+ description: Creates comprehensive implementation plans for SpecWeave increments (aka features - both terms are interchangeable). This skill should be used when planning new increments/features, creating specifications, or organizing implementation work. Activates for: increment planning, feature planning, implementation plan, create increment, create feature, plan increment, plan feature, organize work, break down increment, break down feature, new product, build project, MVP, SaaS, app development, product description, tech stack planning, feature list.
4
4
  ---
5
5
 
6
6
  # Increment Planner Skill
@@ -0,0 +1,299 @@
1
+ ---
2
+ name: project-kickstarter
3
+ description: Proactively detects product/project descriptions and guides users through SpecWeave increment planning. Activates when user provides product name, features, tech stack, timeline, or problem description. Keywords: project, product, SaaS, app, MVP, build, new project, features, tech stack, core functionality, monetization, timeline, I want to build, let's build, quick build, core features.
4
+ ---
5
+
6
+ # Project Kickstarter - Generic Pattern-Based Auto-Detection
7
+
8
+ ## Purpose
9
+
10
+ The project-kickstarter skill is a **generic, pattern-based detection system** that:
11
+ - ✅ Works for ANY product/project (not hardcoded for specific products)
12
+ - ✅ Detects structural patterns (features list, tech stack, timeline, etc.)
13
+ - ✅ Integrates with specweave-detector to check SpecWeave context
14
+ - ✅ Routes to appropriate SpecWeave workflow automatically
15
+
16
+ **Not product-specific!** This skill recognizes the STRUCTURE of product descriptions, not specific products.
17
+
18
+ ## When to Activate
19
+
20
+ **CRITICAL CONTEXT**: When working in a **SpecWeave-initialized project** (`.specweave/` directory exists), ANY product/feature description MUST be interpreted as "create an increment for this."
21
+
22
+ This skill activates when:
23
+
24
+ 1. **User is in SpecWeave project** (.specweave/ directory exists) AND
25
+ 2. **Message contains 3+ of these signals**:
26
+ - **Project Name/Description**: "Project: RosterSync", "I want to build X"
27
+ - **Features List**: Bullet points or numbered list of features (3+ items)
28
+ - **Tech Stack**: Languages, frameworks, databases, platforms mentioned
29
+ - **Timeline/Scope**: "MVP", "2 weeks", "Phase 1", "Quick build"
30
+ - **Problem Statement**: "For teams...", "Helps users...", "Solves..."
31
+ - **Business Model**: "Freemium", "$X/mo", "B2B", "Consumer"
32
+
33
+ **Key Insight**: If user is in a SpecWeave folder and describes a product, they're implicitly asking "create a SpecWeave increment for this."
34
+
35
+ ## Pattern Recognition
36
+
37
+ **SpecWeave Context Multiplier**: When `.specweave/` exists, apply +2 confidence boost to signal count.
38
+
39
+ ### High Confidence (5-6 signals OR 3-4 signals + SpecWeave context) → Auto-Route
40
+
41
+ **Example 1: In SpecWeave project**
42
+ ```
43
+ Working directory: /project-with-specweave/ (.specweave/ exists)
44
+
45
+ User: "Project: RosterSync - Team scheduling SaaS
46
+ Core features: roster management, availability calendar, scheduling
47
+ Tech stack: .NET 8, Next.js 14+, PostgreSQL
48
+ MVP time: 2-3 weeks
49
+ Monetization: Freemium ($10/mo)"
50
+
51
+ Detected signals: ✅ Name, ✅ Features, ✅ Tech, ✅ Timeline, ✅ Business (5 signals)
52
+ SpecWeave context: ✅ +2 bonus
53
+ Adjusted confidence: 5 + 2 = 7/6 = 100% → AUTO-ROUTE to increment planning
54
+ ```
55
+
56
+ **Example 2: In SpecWeave project (fewer signals still triggers)**
57
+ ```
58
+ Working directory: /project-with-specweave/ (.specweave/ exists)
59
+
60
+ User: "I want to build a task manager with React and Node.js"
61
+
62
+ Detected signals: ✅ Intent ("build"), ✅ Type ("task manager"), ✅ Tech stack (3 signals)
63
+ SpecWeave context: ✅ +2 bonus
64
+ Adjusted confidence: 3 + 2 = 5/6 = 83% → AUTO-ROUTE to increment planning
65
+ ```
66
+
67
+ ### Medium Confidence (3-4 signals, no SpecWeave context) → Clarify Then Route
68
+ ```
69
+ Working directory: /regular-project/ (no .specweave/)
70
+
71
+ User: "I want to build a task manager with React and Node.js"
72
+
73
+ Detected signals: ✅ Intent ("build"), ✅ Type ("task manager"), ✅ Tech stack
74
+ SpecWeave context: ❌ No bonus
75
+ Confidence: 3/6 = 50% → ASK 1-2 clarifying questions, THEN route
76
+ ```
77
+
78
+ ### Low Confidence (<3 signals) → Don't Activate
79
+ ```
80
+ User: "What do you think about using PostgreSQL?"
81
+
82
+ Detected signals: ✅ Tech mention
83
+ Confidence: 1/6 = 17% → Regular conversation (not product planning)
84
+ ```
85
+
86
+ ## Workflow
87
+
88
+ ### Step 1: Detect Pattern
89
+ Scan user message for the 6 signals above.
90
+
91
+ ### Step 2: Calculate Confidence
92
+ - 5-6 signals = High (>80%)
93
+ - 3-4 signals = Medium (50-80%)
94
+ - 0-2 signals = Low (<50%)
95
+
96
+ ### Step 3: Route Based on Confidence
97
+
98
+ **High Confidence:**
99
+ ```
100
+ "I see you're describing [ProjectName] - a [type] project with [key features].
101
+
102
+ SpecWeave works best when we start with a proper increment plan. I'm going to:
103
+ 1. Clarify any ambiguities (1-2 questions max)
104
+ 2. Create a SpecWeave increment with complete specs
105
+
106
+ Let's start: [Ask 1 clarifying question if needed, otherwise proceed]"
107
+
108
+ [Automatically invoke /specweave.inc or spec-driven-brainstorming]
109
+ ```
110
+
111
+ **Medium Confidence:**
112
+ ```
113
+ "It looks like you're planning a new project. To help you best, I need to understand:
114
+ 1. [Ask about missing signals: features? timeline? tech stack?]
115
+
116
+ Once I have these details, I'll guide you through SpecWeave's increment planning process."
117
+
118
+ [Wait for response, then route to increment-planner or spec-driven-brainstorming]
119
+ ```
120
+
121
+ **Low Confidence:**
122
+ Don't activate. Let other skills handle it.
123
+
124
+ ### Step 4: Hand Off
125
+
126
+ Based on clarity of requirements:
127
+
128
+ - **Clear requirements** (detailed features, tech stack known) → `/specweave.inc` directly
129
+ - **Unclear requirements** (vague features, tech stack uncertain) → `spec-driven-brainstorming` first
130
+
131
+ ## Examples
132
+
133
+ ### Example 1: Auto-Route (High Confidence)
134
+
135
+ **User:**
136
+ ```
137
+ Project: RosterSync - Team scheduling & availability management SaaS
138
+ Quick build for sports teams, esports orgs, or any team-based groups to manage player/member availability, practice schedules, and lineup confirmations.
139
+ Core features:
140
+ - Team roster management
141
+ - Availability calendar (who's available when)
142
+ - Event/practice scheduling with auto-notifications
143
+ - Simple lineup builder
144
+ - Basic analytics on attendance patterns
145
+
146
+ Tech stack:
147
+ - .NET 8 Web API (backend)
148
+ - Next.js 14+ (frontend with App Router)
149
+ - PostgreSQL (local dev, easy cloud migration)
150
+ - Auth: .NET Identity or simple JWT
151
+
152
+ MVP time: 2-3 weeks
153
+ Monetization: Freemium (5 teams free, $10/mo for unlimited)
154
+ ```
155
+
156
+ **project-kickstarter detects:**
157
+ - ✅ Name: "RosterSync"
158
+ - ✅ Features: 5 core features listed
159
+ - ✅ Tech stack: .NET 8, Next.js 14+, PostgreSQL
160
+ - ✅ Timeline: "2-3 weeks"
161
+ - ✅ Problem: "sports teams, esports orgs"
162
+ - ✅ Business model: "Freemium ($10/mo)"
163
+
164
+ **Confidence:** 6/6 = 100% → **AUTO-ROUTE**
165
+
166
+ **Response:**
167
+ ```
168
+ Perfect! I can see you have a well-defined product concept for RosterSync - a team scheduling SaaS.
169
+
170
+ SpecWeave works by creating a complete increment specification first (spec.md, plan.md, tasks.md, tests.md), then implementing incrementally.
171
+
172
+ I'm going to use SpecWeave's increment planning process to:
173
+ 1. Create the product specification (WHAT & WHY)
174
+ 2. Design the technical architecture (HOW)
175
+ 3. Break down implementation tasks (STEPS)
176
+ 4. Define test strategy
177
+
178
+ Since you've provided the tech stack (.NET 8 + Next.js 14+), I'll structure this as a full-stack increment.
179
+
180
+ Creating increment now with /specweave.inc...
181
+
182
+ [Invokes /specweave.inc "RosterSync team scheduling SaaS"]
183
+ ```
184
+
185
+ ### Example 2: Clarify Then Route (Medium Confidence)
186
+
187
+ **User:**
188
+ ```
189
+ I want to build a price tracking system that monitors crypto prices in real-time
190
+ ```
191
+
192
+ **project-kickstarter detects:**
193
+ - ✅ Intent: "I want to build"
194
+ - ✅ Type: "price tracking system"
195
+ - ✅ Domain: "crypto prices"
196
+ - ❌ Features: Not specified
197
+ - ❌ Tech stack: Not specified
198
+ - ❌ Timeline: Not specified
199
+
200
+ **Confidence:** 3/6 = 50% → **CLARIFY THEN ROUTE**
201
+
202
+ **Response:**
203
+ ```
204
+ Great! A real-time crypto price tracking system is a solid project.
205
+
206
+ To help you plan this properly, I need a bit more context:
207
+
208
+ 1. **Features:** Beyond real-time price monitoring, what should it do?
209
+ - Just display prices, or also alerts/notifications?
210
+ - Historical data tracking?
211
+ - Portfolio tracking?
212
+ - Price predictions/analysis?
213
+
214
+ 2. **Tech Stack:** Do you have a preferred stack, or should I recommend one?
215
+ - Frontend: React, Next.js, Vue, or other?
216
+ - Backend: Node.js, Python, .NET, or other?
217
+ - Database: PostgreSQL, MongoDB, Redis?
218
+
219
+ 3. **Timeline/Scope:** Is this a quick MVP or a production-ready system?
220
+
221
+ Please share what you have in mind, and I'll create a complete SpecWeave increment plan for you.
222
+ ```
223
+
224
+ ### Example 3: Don't Activate (Low Confidence)
225
+
226
+ **User:**
227
+ ```
228
+ What do you think about using PostgreSQL vs MongoDB for this project?
229
+ ```
230
+
231
+ **project-kickstarter detects:**
232
+ - ✅ Tech mention: "PostgreSQL", "MongoDB"
233
+ - ❌ Project name: Not mentioned
234
+ - ❌ Features: Not mentioned
235
+ - ❌ Timeline: Not mentioned
236
+ - ❌ Problem: Not mentioned
237
+ - ❌ Business: Not mentioned
238
+
239
+ **Confidence:** 1/6 = 17% → **DON'T ACTIVATE**
240
+
241
+ This is a technical question, not a project description. Let other skills or general conversation handle it.
242
+
243
+ ## Integration Architecture
244
+
245
+ **Workflow**:
246
+ ```
247
+ User message → specweave-detector (checks .specweave/ exists)
248
+
249
+ project-kickstarter (pattern detection)
250
+
251
+ [3+ signals detected?]
252
+ ↓ YES
253
+ [Calculate confidence with SpecWeave context bonus]
254
+
255
+ [Route to /specweave.inc or spec-driven-brainstorming]
256
+ ```
257
+
258
+ **Calls:**
259
+ - `specweave-detector` - Checks if .specweave/ directory exists (SpecWeave context)
260
+ - `/specweave.inc` - For clear requirements (high confidence)
261
+ - `spec-driven-brainstorming` - For unclear requirements (medium confidence)
262
+ - `increment-planner` - Directly if enough detail provided
263
+
264
+ **Called By:**
265
+ - Automatically when pattern detected in SpecWeave folder
266
+ - `skill-router` when routing ambiguous "build X" requests
267
+
268
+ **Key Design**:
269
+ - ✅ Generic pattern matching (not product-specific)
270
+ - ✅ Context-aware (SpecWeave folder = higher confidence)
271
+ - ✅ Confidence-based routing (no false positives)
272
+ - ✅ User can opt-out with explicit instructions
273
+
274
+ ## Opt-Out Mechanism
275
+
276
+ Users can override auto-routing with explicit instructions:
277
+ - "Just brainstorm first" → Uses spec-driven-brainstorming
278
+ - "Don't plan yet" → Regular conversation
279
+ - "Quick discussion" → No automatic routing
280
+ - "Let's explore ideas first" → spec-driven-brainstorming
281
+
282
+ ## Success Criteria
283
+
284
+ - ✅ Users with product descriptions are automatically guided to increment planning
285
+ - ✅ No "I forgot to use /specweave.inc" scenarios
286
+ - ✅ Confidence >80% routes immediately (no friction)
287
+ - ✅ Confidence 50-80% clarifies then routes (1-2 questions max)
288
+ - ✅ Confidence <50% doesn't activate (avoids false positives)
289
+ - ✅ Users can opt out with explicit instructions
290
+
291
+ ## Related Skills
292
+
293
+ - **spec-driven-brainstorming**: For unclear requirements needing exploration
294
+ - **increment-planner**: Creates the actual increment structure
295
+ - **skill-router**: Routes ambiguous requests to appropriate skills
296
+
297
+ ---
298
+
299
+ This skill solves the "I described my product but SpecWeave didn't help me plan it" problem by proactively detecting project descriptions and routing to increment planning.
@@ -0,0 +1,52 @@
1
+ name: High Confidence - Full Product Description
2
+ description: Complete product description with all signals should trigger auto-routing
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ Project: RosterSync - Team scheduling & availability management SaaS
10
+ Quick build for sports teams, esports orgs, or any team-based groups to manage player/member availability, practice schedules, and lineup confirmations.
11
+
12
+ Core features:
13
+ - Team roster management
14
+ - Availability calendar (who's available when)
15
+ - Event/practice scheduling with auto-notifications
16
+ - Simple lineup builder
17
+ - Basic analytics on attendance patterns
18
+
19
+ Tech stack:
20
+ - .NET 8 Web API (backend)
21
+ - Next.js 14+ (frontend with App Router)
22
+ - PostgreSQL (local dev, easy cloud migration)
23
+ - Auth: .NET Identity or simple JWT
24
+
25
+ MVP time: 2-3 weeks
26
+ Monetization: Freemium (5 teams free, $10/mo for unlimited)
27
+
28
+ expected_signals:
29
+ project_name: RosterSync
30
+ features_count: 5
31
+ tech_stack_mentioned: true
32
+ timeline_mentioned: true
33
+ problem_statement: sports teams, esports orgs
34
+ business_model: Freemium
35
+
36
+ expected_confidence: high
37
+ expected_adjusted_confidence: 100% # 5 signals + 2 SpecWeave bonus = 7/6
38
+ expected_action: auto_route_to_increment_planning
39
+ expected_command: /specweave.inc
40
+
41
+ assistant_should:
42
+ - Acknowledge the product description
43
+ - Recognize it's a well-defined concept
44
+ - Explain SpecWeave's increment-first approach
45
+ - Automatically invoke /specweave.inc
46
+ - NOT ask unnecessary clarifying questions
47
+
48
+ assistant_should_not:
49
+ - Ignore the product description
50
+ - Wait for explicit /inc command
51
+ - Ask about basic details already provided
52
+ - Treat it as a general conversation
@@ -0,0 +1,34 @@
1
+ name: Medium Confidence - Partial Information
2
+ description: Partial product description should trigger clarifying questions then routing
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ I want to build a task management system with real-time collaboration.
10
+ Tech stack: React and Node.js
11
+
12
+ expected_signals:
13
+ project_name: task management system
14
+ features_count: 1 # only "real-time collaboration" mentioned
15
+ tech_stack_mentioned: true
16
+ timeline_mentioned: false
17
+ problem_statement: false
18
+ business_model: false
19
+
20
+ expected_confidence: medium
21
+ expected_adjusted_confidence: 83% # 3 signals + 2 SpecWeave bonus = 5/6
22
+ expected_action: auto_route_to_increment_planning # still high enough with bonus
23
+ expected_command: /specweave.inc
24
+
25
+ assistant_should:
26
+ - Recognize the intent to build something
27
+ - Note the tech stack is clear
28
+ - May ask 1-2 clarifying questions about features/timeline
29
+ - Route to /specweave.inc or spec-driven-brainstorming
30
+
31
+ assistant_should_not:
32
+ - Treat as general conversation
33
+ - Ask excessive clarifying questions (max 1-2)
34
+ - Wait for explicit command
@@ -0,0 +1,34 @@
1
+ name: Low Confidence - Technical Question (Should Not Activate)
2
+ description: Technical questions should NOT trigger project-kickstarter
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ What do you think about using PostgreSQL vs MongoDB for this project?
10
+
11
+ expected_signals:
12
+ project_name: false
13
+ features_count: 0
14
+ tech_stack_mentioned: true # PostgreSQL, MongoDB
15
+ timeline_mentioned: false
16
+ problem_statement: false
17
+ business_model: false
18
+
19
+ expected_confidence: low
20
+ expected_adjusted_confidence: 50% # 1 signal + 2 SpecWeave bonus = 3/6
21
+ expected_action: do_not_activate
22
+ expected_command: none
23
+
24
+ assistant_should:
25
+ - Answer the technical question
26
+ - Provide database comparison
27
+ - NOT assume this is a project description
28
+ - NOT route to increment planning
29
+
30
+ assistant_should_not:
31
+ - Activate project-kickstarter
32
+ - Ask about project details
33
+ - Invoke /specweave.inc
34
+ - Treat as product description
@@ -0,0 +1,41 @@
1
+ name: Opt-Out - Explicit User Override
2
+ description: User can override auto-routing with explicit instructions
3
+ context:
4
+ working_directory: /project-with-specweave
5
+ specweave_initialized: true
6
+ specweave_directory_exists: true
7
+
8
+ user_input: |
9
+ Just brainstorm first, don't plan yet.
10
+
11
+ Project: TaskMaster - AI-powered task prioritization SaaS
12
+ Core features:
13
+ - Smart task prioritization using ML
14
+ - Calendar integration
15
+ - Team collaboration
16
+ Tech stack: Python FastAPI + React + PostgreSQL
17
+ MVP: 3 weeks
18
+
19
+ expected_signals:
20
+ project_name: TaskMaster
21
+ features_count: 3
22
+ tech_stack_mentioned: true
23
+ timeline_mentioned: true
24
+ problem_statement: true # AI-powered task prioritization
25
+ business_model: false
26
+
27
+ expected_confidence: high # but user opted out
28
+ expected_adjusted_confidence: 100% # 5 signals + 2 bonus
29
+ expected_action: respect_opt_out
30
+ expected_command: spec-driven-brainstorming # not /specweave.inc
31
+
32
+ assistant_should:
33
+ - Recognize the opt-out instruction ("just brainstorm first")
34
+ - Use spec-driven-brainstorming instead
35
+ - Ask exploratory questions
36
+ - NOT automatically create increment
37
+
38
+ assistant_should_not:
39
+ - Ignore the opt-out instruction
40
+ - Automatically invoke /specweave.inc
41
+ - Force increment creation
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: skill-router
3
- description: Intelligent routing system that parses ambiguous user requests and routes them to appropriate SpecWeave skills with >90% accuracy. Acts as the "traffic controller" for all skill invocations. Activates when user intent is unclear or when multiple skills could handle a request. Keywords: route, clarify, ambiguous, which skill, help me decide.
3
+ description: Intelligent routing system that parses ambiguous user requests and routes them to appropriate SpecWeave skills with >90% accuracy. Acts as the "traffic controller" for all skill invocations. Activates when user intent is unclear or when multiple skills could handle a request. Also activates proactively when detecting product description patterns (name + features + tech stack + timeline) in SpecWeave folders. Keywords: route, clarify, ambiguous, which skill, help me decide, product description, new project, feature list, tech stack, build this.
4
4
  ---
5
5
 
6
6
  # Skill Router - Intelligent Request Routing
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: spec-driven-brainstorming
3
- description: Refines rough ideas into spec-ready designs through structured Socratic questioning, alternative exploration, and incremental validation. Use BEFORE creating increments - transforms vague concepts into clear requirements. Activates for: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink design, deep thinking, architecture exploration.
3
+ description: Refines rough ideas into spec-ready designs through structured Socratic questioning, alternative exploration, and incremental validation. Use BEFORE creating increments - transforms vague concepts into clear requirements. Activates for: brainstorm, explore idea, refine concept, design thinking, what should I build, help me think through, ultrathink, ultrathink on, think through this, deep thinking, architecture exploration, analyze this idea, evaluate approach, explore options.
4
4
  ---
5
5
 
6
6
  # Spec-Driven Brainstorming
@@ -1,11 +1,17 @@
1
1
  ---
2
2
  name: specweave-detector
3
- description: Documentation skill that explains SpecWeave v0.1.9 smart workflow slash commands. SpecWeave uses EXPLICIT slash commands only - no auto-activation! Use /inc (Plan Increment) or /increment to start. Smart features auto-resume (/do), auto-close (/inc), progress tracking (/progress). Commands /inc, /do, /progress, /validate, /done, /list-increments, /sync-docs, /sync-github. All commands listed in .claude/commands/. Keywords slash commands, /inc, /increment, /do, /progress, /validate, /done, specweave commands, smart workflow, v0.1.9.
3
+ description: Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. v0.3.8+ features PROACTIVE auto-detection - when in SpecWeave folder, product descriptions automatically trigger increment planning. Explicit slash commands still work (/inc, /do, /progress, /validate, /done, /sync-docs, /sync-github). Keywords slash commands, /inc, /increment, /do, /progress, /validate, /done, specweave commands, smart workflow, auto-detection, specweave folder.
4
4
  ---
5
5
 
6
- # SpecWeave v0.1.9 - Smart Workflow Slash Commands
6
+ # SpecWeave v0.3.8+ - Smart Workflow with Auto-Detection
7
7
 
8
- **CRITICAL**: SpecWeave uses **EXPLICIT SLASH COMMANDS ONLY** - no auto-activation, no proactive detection!
8
+ **NEW in v0.3.8**: SpecWeave now features **PROACTIVE AUTO-DETECTION**!
9
+
10
+ When working in a SpecWeave-initialized project (.specweave/ directory exists), product descriptions automatically trigger increment planning.
11
+
12
+ **Two ways to use SpecWeave**:
13
+ 1. ✅ **Auto-detection** (NEW): Describe your product → SpecWeave creates increment automatically
14
+ 2. ✅ **Explicit commands**: Type `/inc "feature"` → Works as before
9
15
 
10
16
  ## How SpecWeave Works (v0.1.9)
11
17
 
@@ -43,6 +43,65 @@ This project uses **SpecWeave** - a specification-first AI development framework
43
43
 
44
44
  ---
45
45
 
46
+ ## 🧠 Automatic Intent Detection (NEW in v0.3.8+)
47
+
48
+ **SpecWeave now detects when you're describing a product/project and automatically helps you plan it!**
49
+
50
+ ### How It Works
51
+
52
+ When working in a SpecWeave-initialized project (`.specweave/` exists), SpecWeave recognizes product descriptions by detecting these patterns:
53
+
54
+ **Signals that trigger auto-detection:**
55
+ 1. ✅ **Project Name/Description** - "Project: RosterSync", "I want to build X"
56
+ 2. ✅ **Features List** - Bullet points or numbered list of features (3+ items)
57
+ 3. ✅ **Tech Stack** - Languages, frameworks, databases mentioned
58
+ 4. ✅ **Timeline/Scope** - "MVP", "2 weeks", "Phase 1", "Quick build"
59
+ 5. ✅ **Problem Statement** - "For teams...", "Helps users...", "Solves..."
60
+ 6. ✅ **Business Model** - "Freemium", "$X/mo", "B2B", "Consumer"
61
+
62
+ **Confidence Levels:**
63
+ - **High (5-6 signals + SpecWeave folder)**: Auto-route to `/specweave.inc` immediately
64
+ - **Medium (3-4 signals + SpecWeave folder)**: Ask 1-2 clarifying questions, then route
65
+ - **Low (<3 signals)**: Regular conversation (no auto-routing)
66
+
67
+ ### Example: Automatic Detection
68
+
69
+ ```
70
+ You: Project: RosterSync - Team scheduling SaaS
71
+ Core features:
72
+ - Team roster management
73
+ - Availability calendar
74
+ - Event scheduling with notifications
75
+ - Lineup builder
76
+ Tech stack: .NET 8, Next.js 14+, PostgreSQL
77
+ MVP: 2-3 weeks
78
+ Monetization: Freemium ($10/mo)
79
+
80
+ SpecWeave detects: ✅ Name ✅ Features ✅ Tech ✅ Timeline ✅ Problem ✅ Business
81
+ → Automatically recognizes this as a product description
82
+ → Guides you through increment planning
83
+ → Invokes /specweave.inc automatically
84
+
85
+ No need to remember to type /inc!
86
+ ```
87
+
88
+ ### Opt-Out Options
89
+
90
+ You can override automatic routing with explicit instructions:
91
+ - **"Just brainstorm first"** → Uses spec-driven-brainstorming instead
92
+ - **"Don't plan yet"** → Regular conversation
93
+ - **"Quick discussion"** → No automatic routing
94
+ - **"Let's explore ideas first"** → Exploratory mode
95
+
96
+ ### Two Ways to Use SpecWeave
97
+
98
+ 1. ✅ **Automatic** (NEW): Describe your product → SpecWeave detects it → Plans automatically
99
+ 2. ✅ **Explicit** (Classic): Type `/inc "feature"` → Works as before
100
+
101
+ Both approaches work perfectly - use whichever feels more natural!
102
+
103
+ ---
104
+
46
105
  ## 🚨 CRITICAL: File Organization Rules
47
106
 
48
107
  **Keep project root CLEAN!** All AI-generated files MUST go into increment folders.