clavix 4.8.1 → 4.10.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/dist/cli/commands/analyze.d.ts +14 -0
- package/dist/cli/commands/analyze.js +127 -0
- package/dist/templates/slash-commands/_canonical/archive.md +67 -81
- package/dist/templates/slash-commands/_canonical/deep.md +88 -47
- package/dist/templates/slash-commands/_canonical/execute.md +200 -155
- package/dist/templates/slash-commands/_canonical/fast.md +78 -37
- package/dist/templates/slash-commands/_canonical/implement.md +310 -300
- package/dist/templates/slash-commands/_canonical/plan.md +33 -17
- package/dist/templates/slash-commands/_canonical/prd.md +36 -21
- package/dist/templates/slash-commands/_canonical/start.md +34 -33
- package/dist/templates/slash-commands/_canonical/summarize.md +39 -47
- package/dist/templates/slash-commands/_canonical/verify.md +324 -186
- package/dist/templates/slash-commands/_components/agent-protocols/cli-reference.md +214 -0
- package/dist/templates/slash-commands/_components/agent-protocols/error-handling.md +145 -88
- package/dist/templates/slash-commands/_components/agent-protocols/self-correction.md +20 -1
- package/dist/templates/slash-commands/_components/agent-protocols/supportive-companion.md +216 -0
- package/dist/templates/slash-commands/_components/agent-protocols/task-blocking.md +224 -0
- package/dist/templates/slash-commands/_components/references/quality-dimensions.md +152 -44
- package/dist/templates/slash-commands/_components/sections/conversation-examples.md +302 -0
- package/dist/templates/slash-commands/_components/sections/escalation-factors.md +119 -87
- package/dist/templates/slash-commands/_components/sections/improvement-explanations.md +171 -0
- package/dist/templates/slash-commands/_components/sections/pattern-impact.md +208 -0
- package/dist/templates/slash-commands/_components/sections/prd-examples.md +289 -0
- package/dist/templates/slash-commands/_components/troubleshooting/vibecoder-recovery.md +223 -0
- package/package.json +1 -1
|
@@ -3,29 +3,42 @@ name: "Clavix: Plan"
|
|
|
3
3
|
description: Generate implementation task breakdown from PRD
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix Plan
|
|
6
|
+
# Clavix: Plan Your Tasks
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
I'll turn your PRD into a step-by-step task list. Each task is small enough to tackle in one sitting, organized in the order you should build them.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## What This Does
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
When you run `/clavix:plan`, I:
|
|
15
|
+
1. **Read your PRD** - Understand what needs to be built
|
|
16
|
+
2. **Break it into tasks** - Small, actionable pieces
|
|
17
|
+
3. **Organize into phases** - Logical groupings (setup, core features, polish)
|
|
18
|
+
4. **Create tasks.md** - Your implementation roadmap
|
|
19
|
+
5. **Assign task IDs** - For tracking progress
|
|
15
20
|
|
|
16
|
-
**
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
**I create the plan. I don't build anything yet.**
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## CLAVIX MODE: Planning Only
|
|
26
|
+
|
|
27
|
+
**I'm in planning mode. Creating your task breakdown.**
|
|
28
|
+
|
|
29
|
+
**What I'll do:**
|
|
30
|
+
- ✓ Read and understand your PRD
|
|
31
|
+
- ✓ Generate structured task breakdown
|
|
19
32
|
- ✓ Organize tasks into logical phases
|
|
20
|
-
- ✓ Create
|
|
21
|
-
- ✓
|
|
33
|
+
- ✓ Create clear, actionable task descriptions
|
|
34
|
+
- ✓ Save tasks.md for implementation
|
|
22
35
|
|
|
23
|
-
**
|
|
24
|
-
- ✗
|
|
25
|
-
- ✗
|
|
26
|
-
- ✗
|
|
36
|
+
**What I won't do:**
|
|
37
|
+
- ✗ Write any code yet
|
|
38
|
+
- ✗ Start implementing features
|
|
39
|
+
- ✗ Create actual components
|
|
27
40
|
|
|
28
|
-
**
|
|
41
|
+
**I'm planning what to build, not building it.**
|
|
29
42
|
|
|
30
43
|
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
31
44
|
|
|
@@ -288,13 +301,13 @@ The generated `tasks.md` will look like:
|
|
|
288
301
|
|
|
289
302
|
---
|
|
290
303
|
|
|
291
|
-
## Agent Transparency (v4.
|
|
304
|
+
## Agent Transparency (v4.9)
|
|
292
305
|
|
|
293
306
|
### Workflow State Detection
|
|
294
307
|
{{INCLUDE:agent-protocols/state-awareness.md}}
|
|
295
308
|
|
|
296
|
-
###
|
|
297
|
-
{{INCLUDE:agent-protocols/
|
|
309
|
+
### CLI Reference (Commands I Execute)
|
|
310
|
+
{{INCLUDE:agent-protocols/cli-reference.md}}
|
|
298
311
|
|
|
299
312
|
### Agent Decision Rules
|
|
300
313
|
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
@@ -302,6 +315,9 @@ The generated `tasks.md` will look like:
|
|
|
302
315
|
### Error Handling
|
|
303
316
|
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
304
317
|
|
|
318
|
+
### Recovery Patterns
|
|
319
|
+
{{INCLUDE:troubleshooting/vibecoder-recovery.md}}
|
|
320
|
+
|
|
305
321
|
---
|
|
306
322
|
|
|
307
323
|
## Troubleshooting
|
|
@@ -3,29 +3,41 @@ name: "Clavix: PRD"
|
|
|
3
3
|
description: Clavix Planning Mode - Transform ideas into structured PRDs through strategic questioning
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix
|
|
6
|
+
# Clavix: Create Your PRD
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
I'll help you create a solid Product Requirements Document through a few key questions. By the end, you'll have clear documentation of what to build and why.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## What This Does
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
When you run `/clavix:prd`, I:
|
|
15
|
+
1. **Ask strategic questions** - One at a time, so it's not overwhelming
|
|
16
|
+
2. **Help you think through details** - If something's vague, I'll probe deeper
|
|
17
|
+
3. **Create two PRD documents** - Full version and quick reference
|
|
18
|
+
4. **Check quality** - Make sure the PRD is clear enough for AI to work with
|
|
15
19
|
|
|
16
|
-
**
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
**This is about planning, not building yet.**
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## CLAVIX MODE: Planning Only
|
|
25
|
+
|
|
26
|
+
**I'm in planning mode. Creating your PRD.**
|
|
27
|
+
|
|
28
|
+
**What I'll do:**
|
|
29
|
+
- ✓ Guide you through strategic questions
|
|
30
|
+
- ✓ Help clarify vague areas
|
|
19
31
|
- ✓ Generate comprehensive PRD documents
|
|
20
|
-
- ✓
|
|
21
|
-
- ✓ Create full and quick
|
|
32
|
+
- ✓ Check that the PRD is AI-ready
|
|
33
|
+
- ✓ Create both full and quick versions
|
|
22
34
|
|
|
23
|
-
**
|
|
24
|
-
- ✗
|
|
25
|
-
- ✗
|
|
26
|
-
- ✗
|
|
35
|
+
**What I won't do:**
|
|
36
|
+
- ✗ Write code for the feature
|
|
37
|
+
- ✗ Start implementing anything
|
|
38
|
+
- ✗ Skip the planning questions
|
|
27
39
|
|
|
28
|
-
**
|
|
40
|
+
**We're documenting what to build, not building it.**
|
|
29
41
|
|
|
30
42
|
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
31
43
|
|
|
@@ -316,22 +328,25 @@ The validation ensures generated PRDs are immediately usable for AI consumption
|
|
|
316
328
|
|
|
317
329
|
---
|
|
318
330
|
|
|
319
|
-
## Agent Transparency (v4.
|
|
331
|
+
## Agent Transparency (v4.9)
|
|
332
|
+
|
|
333
|
+
### PRD Examples
|
|
334
|
+
{{INCLUDE:sections/prd-examples.md}}
|
|
320
335
|
|
|
321
|
-
### Quality
|
|
322
|
-
{{INCLUDE:
|
|
336
|
+
### Quality Dimensions (Plain English)
|
|
337
|
+
{{INCLUDE:references/quality-dimensions.md}}
|
|
323
338
|
|
|
324
339
|
### Workflow State Detection
|
|
325
340
|
{{INCLUDE:agent-protocols/state-awareness.md}}
|
|
326
341
|
|
|
327
|
-
###
|
|
328
|
-
{{INCLUDE:agent-protocols/
|
|
342
|
+
### CLI Reference (Commands I Execute)
|
|
343
|
+
{{INCLUDE:agent-protocols/cli-reference.md}}
|
|
329
344
|
|
|
330
345
|
### Agent Decision Rules
|
|
331
346
|
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
332
347
|
|
|
333
|
-
###
|
|
334
|
-
{{INCLUDE:agent-protocols/
|
|
348
|
+
### Error Handling
|
|
349
|
+
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
335
350
|
|
|
336
351
|
---
|
|
337
352
|
|
|
@@ -3,29 +3,41 @@ name: "Clavix: Start"
|
|
|
3
3
|
description: Start conversational mode for iterative prompt development
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix
|
|
6
|
+
# Clavix: Let's Figure Out What You Need
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Not sure exactly what to build yet? No problem! Let's talk it through. I'll ask questions to help clarify your ideas, and when we're ready, I'll turn our conversation into a clear set of requirements.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## What This Does
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
When you run `/clavix:start`, we have a conversation:
|
|
15
|
+
- **You tell me your idea** - Even if it's vague, that's fine
|
|
16
|
+
- **I ask questions** - To understand what you really need
|
|
17
|
+
- **We explore together** - I'll help you think through edge cases
|
|
18
|
+
- **When ready** - Use `/clavix:summarize` to turn our chat into requirements
|
|
15
19
|
|
|
16
|
-
**
|
|
20
|
+
**Think of me as a helpful product person, not a code robot.**
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## CLAVIX MODE: Exploration Only
|
|
25
|
+
|
|
26
|
+
**I'm in exploration mode. Helping you figure out what to build.**
|
|
27
|
+
|
|
28
|
+
**What I'll do:**
|
|
17
29
|
- ✓ Ask clarifying questions
|
|
18
|
-
- ✓
|
|
19
|
-
- ✓ Identify
|
|
20
|
-
- ✓
|
|
21
|
-
- ✓
|
|
30
|
+
- ✓ Help you think through your idea
|
|
31
|
+
- ✓ Identify things you might not have considered
|
|
32
|
+
- ✓ Keep track of what we discuss
|
|
33
|
+
- ✓ Tell you when we have enough to summarize
|
|
22
34
|
|
|
23
|
-
**
|
|
24
|
-
- ✗
|
|
25
|
-
- ✗
|
|
26
|
-
- ✗
|
|
35
|
+
**What I won't do:**
|
|
36
|
+
- ✗ Write any code
|
|
37
|
+
- ✗ Start building things
|
|
38
|
+
- ✗ Rush to a solution
|
|
27
39
|
|
|
28
|
-
**
|
|
40
|
+
**We're exploring ideas, not building yet.**
|
|
29
41
|
|
|
30
42
|
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
31
43
|
|
|
@@ -190,27 +202,13 @@ The goal is natural exploration of requirements, not a rigid questionnaire. Foll
|
|
|
190
202
|
|
|
191
203
|
---
|
|
192
204
|
|
|
193
|
-
## Agent Transparency (v4.
|
|
205
|
+
## Agent Transparency (v4.9)
|
|
194
206
|
|
|
195
|
-
###
|
|
207
|
+
### Conversational Companion
|
|
208
|
+
{{INCLUDE:agent-protocols/supportive-companion.md}}
|
|
196
209
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
**Topic Detection** (~15 topic areas):
|
|
200
|
-
- Automatically detects: User Interface, Backend/API, Database, Authentication, Performance, Testing, Deployment, User Experience, Business Logic, Integration, Security, Analytics, Error Handling, Documentation, State Management
|
|
201
|
-
- Groups related keywords for more accurate multi-topic detection
|
|
202
|
-
- Triggers focus suggestions when 3+ distinct topics detected
|
|
203
|
-
|
|
204
|
-
**Conversational Markers** (~30 patterns):
|
|
205
|
-
- Intent expressions: "i want", "we need", "should be able to"
|
|
206
|
-
- Thinking/exploring: "thinking about", "what if", "how about"
|
|
207
|
-
- Informal markers: "basically", "kind of like", "something like"
|
|
208
|
-
- Collaborative: "can we", "could we", "shall we"
|
|
209
|
-
|
|
210
|
-
**Implicit Requirement Detection**:
|
|
211
|
-
- Surfaces unstated requirements from context
|
|
212
|
-
- Categories: Infrastructure, Security, Performance, UX, Integration
|
|
213
|
-
- Examples: "mobile" → responsive design, "real-time" → WebSocket infrastructure
|
|
210
|
+
### Conversation Examples
|
|
211
|
+
{{INCLUDE:sections/conversation-examples.md}}
|
|
214
212
|
|
|
215
213
|
### Agent Decision Rules
|
|
216
214
|
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
@@ -218,6 +216,9 @@ Clavix Intelligence™ now includes enhanced conversational pattern recognition:
|
|
|
218
216
|
### Error Handling
|
|
219
217
|
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
220
218
|
|
|
219
|
+
### Recovery Patterns
|
|
220
|
+
{{INCLUDE:troubleshooting/vibecoder-recovery.md}}
|
|
221
|
+
|
|
221
222
|
---
|
|
222
223
|
|
|
223
224
|
## Troubleshooting
|
|
@@ -3,29 +3,42 @@ name: "Clavix: Summarize"
|
|
|
3
3
|
description: Extract and optimize requirements from conversation
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Clavix
|
|
6
|
+
# Clavix: Turn Our Chat Into Requirements
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Time to capture what we discussed! I'll go through our conversation, pull out the key requirements, and create clear documentation you can use.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## What This Does
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
When you run `/clavix:summarize`, I:
|
|
15
|
+
1. **Read our conversation** - Everything we talked about
|
|
16
|
+
2. **Extract the requirements** - What you want to build
|
|
17
|
+
3. **Organize and improve them** - Make them clear and actionable
|
|
18
|
+
4. **Create documentation** - Mini-PRD and optimized prompt files
|
|
19
|
+
5. **Flag unclear areas** - Things we might need to discuss more
|
|
15
20
|
|
|
16
|
-
**
|
|
17
|
-
- ✓ Analyze conversation history
|
|
18
|
-
- ✓ Extract requirements with confidence indicators
|
|
19
|
-
- ✓ Apply Clavix Intelligence™ optimization
|
|
20
|
-
- ✓ Create mini-PRD and prompt files
|
|
21
|
-
- ✓ Identify unclear areas
|
|
21
|
+
**I'm capturing what we discussed, not building anything yet.**
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## CLAVIX MODE: Extraction Only
|
|
26
|
+
|
|
27
|
+
**I'm in extraction mode. Summarizing our conversation.**
|
|
27
28
|
|
|
28
|
-
**
|
|
29
|
+
**What I'll do:**
|
|
30
|
+
- ✓ Analyze everything we discussed
|
|
31
|
+
- ✓ Pull out the key requirements
|
|
32
|
+
- ✓ Organize them into a clear structure
|
|
33
|
+
- ✓ Create documentation files
|
|
34
|
+
- ✓ Tell you what's still unclear
|
|
35
|
+
|
|
36
|
+
**What I won't do:**
|
|
37
|
+
- ✗ Write code for the feature
|
|
38
|
+
- ✗ Start implementing anything
|
|
39
|
+
- ✗ Make up requirements we didn't discuss
|
|
40
|
+
|
|
41
|
+
**I'm documenting what we talked about, not building it.**
|
|
29
42
|
|
|
30
43
|
For complete mode documentation, see: `.clavix/instructions/core/clavix-mode.md`
|
|
31
44
|
|
|
@@ -358,47 +371,26 @@ Implementation: BLOCKED - I will extract requirements, not implement them
|
|
|
358
371
|
|
|
359
372
|
---
|
|
360
373
|
|
|
361
|
-
## Agent Transparency (v4.
|
|
362
|
-
|
|
363
|
-
### Enhanced Extraction Capabilities (v4.4)
|
|
374
|
+
## Agent Transparency (v4.9)
|
|
364
375
|
|
|
365
|
-
|
|
376
|
+
### How to Explain Improvements
|
|
377
|
+
{{INCLUDE:sections/improvement-explanations.md}}
|
|
366
378
|
|
|
367
|
-
|
|
368
|
-
-
|
|
369
|
-
- +20% if concrete requirements extracted
|
|
370
|
-
- +15% if clear goals identified
|
|
371
|
-
- +15% if constraints defined
|
|
372
|
-
- Display: "Extraction confidence: X%"
|
|
373
|
-
- If <80%, add verification prompt to output
|
|
374
|
-
|
|
375
|
-
**Implicit Requirements** (auto-surfaced):
|
|
376
|
-
- Inferred from conversation context, grouped by category:
|
|
377
|
-
- **Infrastructure**: Mobile-responsive, real-time, scalability, offline, multi-tenant
|
|
378
|
-
- **Security**: Audit compliance, data privacy, encryption
|
|
379
|
-
- **Performance**: Speed optimization, low-latency
|
|
380
|
-
- **UX**: Simplicity focus, accessibility (WCAG)
|
|
381
|
-
- **Integration**: Notifications, search, analytics, APIs, data import/export
|
|
382
|
-
- Up to 10 implicit requirements per extraction
|
|
383
|
-
- Always marked with verification note
|
|
384
|
-
|
|
385
|
-
**Topic Organization**:
|
|
386
|
-
- Detects 15 topic categories with expanded keyword matching
|
|
387
|
-
- Groups multi-topic extractions by area
|
|
388
|
-
- Suggests separate PRDs for 3+ distinct topics
|
|
389
|
-
|
|
390
|
-
### Quality Output Format
|
|
391
|
-
{{INCLUDE:agent-protocols/quality-output.md}}
|
|
379
|
+
### Quality Dimensions (Plain English)
|
|
380
|
+
{{INCLUDE:references/quality-dimensions.md}}
|
|
392
381
|
|
|
393
382
|
### Workflow State Detection
|
|
394
383
|
{{INCLUDE:agent-protocols/state-awareness.md}}
|
|
395
384
|
|
|
396
|
-
### File Format Reference
|
|
397
|
-
{{INCLUDE:agent-protocols/file-formats.md}}
|
|
398
|
-
|
|
399
385
|
### Agent Decision Rules
|
|
400
386
|
{{INCLUDE:agent-protocols/decision-rules.md}}
|
|
401
387
|
|
|
388
|
+
### Error Handling
|
|
389
|
+
{{INCLUDE:agent-protocols/error-handling.md}}
|
|
390
|
+
|
|
391
|
+
### Recovery Patterns
|
|
392
|
+
{{INCLUDE:troubleshooting/vibecoder-recovery.md}}
|
|
393
|
+
|
|
402
394
|
---
|
|
403
395
|
|
|
404
396
|
## Workflow Navigation
|